On Wed, Nov 21, 2018 at 7:12 PM Nicholas Mc Guire wrote:
> kasprintf() may return NULL on failure of internal allocation thus the
> assigned label is not safe if not explicitly checked. On error
> mediatek_gpio_bank_probe() returns negative values so -ENOMEM in the
> (unlikely) failure case sho
Nicholas Mc Guire 於 2018年11月21日 週三 上午10:13寫道:
>
> kasprintf() may return NULL on failure of internal allocation thus the
> assigned label is not safe if not explicitly checked. On error
> mediatek_gpio_bank_probe() returns negative values so -ENOMEM in the
> (unlikely) failure case should be fin
śr., 21 lis 2018 o 19:13 Nicholas Mc Guire napisał(a):
>
> kasprintf() may return NULL on failure of internal allocation thus the
> assigned label is not safe if not explicitly checked. On error
> mediatek_gpio_bank_probe() returns negative values so -ENOMEM in the
> (unlikely) failure case shou
kasprintf() may return NULL on failure of internal allocation thus the
assigned label is not safe if not explicitly checked. On error
mediatek_gpio_bank_probe() returns negative values so -ENOMEM in the
(unlikely) failure case should be fine here.
Signed-off-by: Nicholas Mc Guire
Fixes: 4ba9c3a
4 matches
Mail list logo