lkml.org 
[lkml]   [2023]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] scsi: stex: fix MU_MAX_DELAY typecheck
From
On 1/17/23 08:38, Arnd Bergmann wrote:
> @@ -173,7 +173,7 @@ enum {
> ST_ADDITIONAL_MEM_MIN = 0x80000,
> PMIC_SHUTDOWN = 0x0D,
> PMIC_REUMSE = 0x10,
> - ST_IGNORED = -1,
> + ST_IGNORED = -1u,
> ST_NOTHANDLED = 7,
> ST_S3 = 3,
> ST_S4 = 4,

From drivers/scsi/stex.c:

int st_sleep_mic;

... st_sleep_mic == ST_IGNORED ...

Can changing ST_IGNORED from signed to unsigned break the stex driver?

Thanks,

Bart.

\
 
 \ /
  Last update: 2023-03-26 23:44    [W:0.028 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site