On Tue, Oct 31, 2023 at 11:58:32AM +0300, Dan Carpenter wrote: > The "ring" variable has an upper bounds check but nothing checks for > negatives. This code uses kstrtouint() already and it was obviously > intended to be declared as unsigned int. Make it so. > > Fixes: dbc8876dd873 ("crypto: qat - add rp2svc sysfs attribute") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Acked-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx> Regards, -- Giovanni