[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b613d16f-1167-456d-a5cd-807db875adb9@acm.org>
Date: Thu, 15 Aug 2024 10:47:30 -0700
From: Bart Van Assche <bvanassche@....org>
To: Dan Carpenter <dan.carpenter@...aro.org>, Rob Herring <robh@...nel.org>
Cc: "James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Brian Masney <bmasney@...hat.com>, Nitin Rawat <quic_nitirawa@...cinc.com>,
Can Guo <quic_cang@...cinc.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: ufs: ufshcd-pltfrm: Signedness bug in
ufshcd_parse_clock_info()
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.
Powered by blists - more mailing lists