Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490604

Re: [PATCH v2 4/4] gpio: pca953x: fix an incorrect lockdep warning

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/4] gpio: pca953x: fix an incorrect lockdep warning
Date 2016-09-24 11:20 +0200
Message-ID <skRhL-7Cx-5@gated-at.bofh.it> (permalink)
References <si3S9-6Ya-3@gated-at.bofh.it> <si3S9-6Ya-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

>  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.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 4/4] gpio: pca953x: fix an incorrect lockdep warning Wolfram Sang <wsa@the-dreams.de> - 2016-09-24 11:20 +0200
  Re: [PATCH v2 4/4] gpio: pca953x: fix an incorrect lockdep warning Geert Uytterhoeven <geert@linux-m68k.org> - 2016-09-24 16:30 +0200

csiph-web