Thread (4 messages) flat view 4 messages, 3 authors, 2021-09-29

Re: [PATCH] atm: [nicstar] make drain_scq explicitly unsigned

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-07-31 16:33:55
Also in: lkml

On Sat, 31 Jul 2021 10:54:28 +0200 Jordy Zomer wrote:
The drain_scq function used to take a signed integer as a pos parameter.
The only caller of this function passes an unsigned integer to it.
Therefore to make it obviously safe, let's just make this an unsgined
integer as this is used in pointer arithmetics.

Signed-off-by: Jordy Zomer <redacted>
Does not build.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help