Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622403
| From | Logan Gunthorpe <logang@deltatee.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] switchtec: Fix an error handling |
| Date | 2017-04-12 19:30 +0200 |
| Message-ID | <tvufD-7kr-17@gated-at.bofh.it> (permalink) |
| References | <tuVKV-2cx-1@gated-at.bofh.it> <tvufD-7kr-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12/04/17 11:27 AM, Bjorn Helgaas wrote:
> On Tue, Apr 11, 2017 at 06:32:04AM +0200, Christophe JAILLET wrote:
>> 'stuser_create' returns an error pointer in case of error, not NULL.
>> So test its return value with IS_ERR.
>>
>> Fixes: 74004262f329 ("MicroSemi Switchtec management interface driver")
>>
>> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
>
> Since this hasn't been merged to Linus' tree yet, I folded the fix
> into the original commit on pci/switchtec and added attribution to
> Christophe.
Thanks Bjorn.
Logan
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] switchtec: Fix an error handling Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-04-11 06:40 +0200
Re: [PATCH] switchtec: Fix an error handling Logan Gunthorpe <logang@deltatee.com> - 2017-04-11 06:40 +0200
Re: [PATCH] switchtec: Fix an error handling Bjorn Helgaas <helgaas@kernel.org> - 2017-04-12 19:30 +0200
Re: [PATCH] switchtec: Fix an error handling Logan Gunthorpe <logang@deltatee.com> - 2017-04-12 19:30 +0200
csiph-web