On 6/18/22 11:38 PM, Sergey Shtylyov wrote: > ata_internal_cmd_timeout() returns *unsigned long* timeout in ms, however > ata_exec_internal_sg() passes that timeout to msecs_to_jiffies() that takes > just *unsigned int*. Change ata_internal_cmd_timeout()'s result type to > *unsigned int* as well, also updating the *struct* ata_eh_cmd_timeout_ent > and the command timeout tables -- all timeouts fit into *unsigned int* but > we have to change ULONG_MAX to UINT_MAX... BTW, the patch saves 64 bytes of object code... > Signed-off-by: Sergey Shtylyov <s.shtylyov@xxxxxx> [...] MBR, Sergey