Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1507691
| From | Christophe JAILLET <christophe.jaillet@wanadoo.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] clk: keystone: Fix an error checking |
| Date | 2016-10-24 22:20 +0200 |
| Message-ID | <svTSW-43c-9@gated-at.bofh.it> (permalink) |
| References | <svmaB-6Vi-5@gated-at.bofh.it> <svKPD-6q5-7@gated-at.bofh.it> <svKZj-6tF-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, Thanks for the review and comments. I'll send another patch for that. It will not be tagged as v2 because it will be part of a patch set for some other potential fixes. CJ Le 24/10/2016 à 12:41, Lars-Peter Clausen a écrit : > On 10/24/2016 12:36 PM, Dan Carpenter wrote: >> On Sun, Oct 23, 2016 at 10:12:49AM +0200, Christophe JAILLET wrote: >>> clk_register_pll() can return ERR_PTR(-ENOMEM) so here the check against >>> NULL only is not correct. >>> >> Change the ERR_PTR(-ENOMEM) to a NULL instead. > In this particular case propagate the error returned by clk_register(). > > -- > To unsubscribe from this list: send the line "unsubscribe linux-clk" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] clk: keystone: Fix an error checking Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2016-10-23 10:20 +0200
Re: [PATCH] clk: keystone: Fix an error checking Dan Carpenter <dan.carpenter@oracle.com> - 2016-10-24 12:40 +0200
Re: [PATCH] clk: keystone: Fix an error checking Lars-Peter Clausen <lars@metafoo.de> - 2016-10-24 12:50 +0200
Re: [PATCH] clk: keystone: Fix an error checking Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2016-10-24 22:20 +0200
csiph-web