On 11/23/2017 03:37 AM, Linus Walleij wrote:
On Thu, Nov 23, 2017 at 4:50 AM, Gustavo A. R. Silva
wrote:
Check return value from call to devm_kzalloc() in order to prevent
a NULL pointer dereference.
This issue was detected with the help of Coccinelle.
Fixes: b2e6392f ("i2c: gpio: Conve
On Thu, Nov 23, 2017 at 4:50 AM, Gustavo A. R. Silva
wrote:
> Check return value from call to devm_kzalloc() in order to prevent
> a NULL pointer dereference.
>
> This issue was detected with the help of Coccinelle.
>
> Fixes: b2e6392f ("i2c: gpio: Convert to use descriptors")
> Signed-off-by
Check return value from call to devm_kzalloc() in order to prevent
a NULL pointer dereference.
This issue was detected with the help of Coccinelle.
Fixes: b2e6392f ("i2c: gpio: Convert to use descriptors")
Signed-off-by: Gustavo A. R. Silva
---
drivers/mfd/sm501.c | 3 +++
1 file changed, 3
3 matches
Mail list logo