Re: [PATCH v2] mm: shmem: Fix variable type to int to evaluate negative conditions

From: Markus Elfring
Date: Mon Dec 23 2024 - 07:43:59 EST


>> Use signed data type for version handling
>> in shmem_parse_opt_casefold()

How do you think about to move this information into the summary phrase?



>> ---
>> Coverity Message:
>> CID 1601569: (#1 of 1): Unsigned compared against 0 (NO_EFFECT)
>> unsigned_compare: This less-than-zero comparison of an unsigned
>> value is never true. version < 0U


May such information become a part for the final change description?

Regards,
Markus