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

From: Jakub Kicinski
Date: Sat Jul 31 2021 - 12:33:56 EST


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 <jordy@pwning.systems>

Does not build.