On 13/09/16 13:46, Linus Walleij wrote:
> On Tue, Sep 13, 2016 at 2:31 PM, Arnd Bergmann wrote:
>
>> Please try to avoid adding initializations in the local variable
>> declaration, they just hide otherwise useful warnings when
>> you get a function that actually does something incorrect
>> in so
On Tue, Sep 13, 2016 at 2:31 PM, Arnd Bergmann wrote:
> Please try to avoid adding initializations in the local variable
> declaration, they just hide otherwise useful warnings when
> you get a function that actually does something incorrect
> in some code paths.
Agreed, sorry for my ignorance :
On Tuesday, September 13, 2016 12:04:00 PM CEST Phil Reid wrote:
> On 12/09/2016 21:40, Linus Walleij wrote:
> > On Fri, Sep 9, 2016 at 10:31 AM, Colin King
> > wrote:
> >
> >> From: Colin Ian King
> >>
> >> ret is not initialized so it contains garbage. Ensure garbage
> >> is not returned in t
On Tue, Sep 13, 2016 at 6:04 AM, Phil Reid wrote:
> On 12/09/2016 21:40, Linus Walleij wrote:
>>
>> On Fri, Sep 9, 2016 at 10:31 AM, Colin King
>> wrote:
>>
>>> From: Colin Ian King
>>>
>>> ret is not initialized so it contains garbage. Ensure garbage
>>> is not returned in the case that pdata
On 12/09/2016 21:40, Linus Walleij wrote:
On Fri, Sep 9, 2016 at 10:31 AM, Colin King wrote:
From: Colin Ian King
ret is not initialized so it contains garbage. Ensure garbage
is not returned in the case that pdata && pdata->teardown is false
by initializing ret to 0.
Signed-off-by: Colin
On Fri, Sep 9, 2016 at 10:31 AM, Colin King wrote:
> From: Colin Ian King
>
> ret is not initialized so it contains garbage. Ensure garbage
> is not returned in the case that pdata && pdata->teardown is false
> by initializing ret to 0.
>
> Signed-off-by: Colin Ian King
Patch applied.
Yours,
From: Colin Ian King
ret is not initialized so it contains garbage. Ensure garbage
is not returned in the case that pdata && pdata->teardown is false
by initializing ret to 0.
Signed-off-by: Colin Ian King
---
drivers/gpio/gpio-pca953x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
7 matches
Mail list logo