[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75Vf+NijTozdZVXq8TX_SFT0ScCy4VdzM4Y+31V4twgo+0Q@mail.gmail.com>
Date: Fri, 15 Jun 2018 12:01:25 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Zhouyang Jia <jiazhouyang09@...il.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: max732x: add error handling for i2c_new_dummy
On Thu, Jun 14, 2018 at 5:27 PM, Linus Walleij <linus.walleij@...aro.org> wrote:
> On Tue, Jun 12, 2018 at 5:28 AM, Zhouyang Jia <jiazhouyang09@...il.com> wrote:
>
>> When i2c_new_dummy fails, the lack of error-handling code may
>> cause unexpected results.
>>
>> This patch adds error-handling code after calling i2c_new_dummy.
>>
>> Signed-off-by: Zhouyang Jia <jiazhouyang09@...il.com>
>
> Patch applied for non-critical fixes.
It might potentially be a regression if the driver used to work when
dummy device creation failed.
>
> Yours,
> Linus Walleij
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists