Re: [PATCH] scsi: ufs: ufshcd-pltfrm: Signedness bug in ufshcd_parse_clock_info()

From: Bart Van Assche
Date: Thu Aug 15 2024 - 13:47:56 EST


On 8/15/24 4:24 AM, Dan Carpenter wrote:
The "sz" variable needs to be a signed type for the error handling to
work as intended.

What error handling are you referring to? I haven't found any code that
assigns a negative value to 'sz' in ufshcd_parse_clock_info(). Did I
perhaps overlook something?

Thanks,

Bart.