[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eb5a4cbf-4059-6ef1-5a3c-83327442312b@deltatee.com>
Date: Wed, 12 Apr 2017 11:28:12 -0600
From: Logan Gunthorpe <logang@...tatee.com>
To: Bjorn Helgaas <helgaas@...nel.org>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: kurt.schwemmer@...rosemi.com, stephen.bates@...rosemi.com,
bhelgaas@...gle.com, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] switchtec: Fix an error handling
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@...adoo.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
Powered by blists - more mailing lists