lkml.org 
[lkml]   [2016]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/4] gpio: pca953x: fix an incorrect lockdep warning
>  drivers/gpio/gpio-pca953x.c | 2 ++
> 1 file changed, 2 insertions(+)

FYI, my code checkers found this in this driver:

SMATCH
drivers/gpio/gpio-pca953x.c:562 pca953x_irq_pending() error: buffer overflow 'cur_stat' 5 <= 8191
drivers/gpio/gpio-pca953x.c:573 pca953x_irq_pending() warn: buffer overflow 'old_stat' 5 <= 8191

Didn't check further. I fixed a sparse warning, though.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-09-24 11:16    [W:0.313 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site