Thread (3 messages) 3 messages, 3 authors, 2015-06-01

Re: [PATCH] gpio: Prevent an integer overflow in the pca953x driver

From: Linus Walleij <hidden>
Date: 2015-06-01 13:52:30

On Fri, May 22, 2015 at 2:35 AM, Joshua Scott
[off-list ref] wrote:
Interrupts were missed if an 8-bit integer overflow occurred. This was
observed when bank0,pin7 and bank1,pin7 changed simultaniously.

As the 8-bit totals were only checked against zero, replace them with
booleans. Name the booleans so that their purpose is clear.

Signed-off-by: Joshua Scott <redacted>
Patch applied with Alex' review tag.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help