[PATCH] scsi: Make static functions consistent using lbaint_t

Tom Rini trini at konsulko.com
Tue Jul 15 01:12:05 CEST 2025


On Mon, 07 Jul 2025 15:12:20 +0100, Andrew Goodbody wrote:

> The static helper functions are inconsistent in their use of their third
> parameter which is used to pass a block count. Keep consistency by
> always using lbaint_t here. This will fix an issue where two left shifts
> were overflowing the variable type in use.
> 
> This issue found by Smatch
> 
> [...]

Applied to u-boot/master, thanks!

[1/1] scsi: Make static functions consistent using lbaint_t
      commit: 41713b99671f6775c18d70d31ccd8b27e438abe1
-- 
Tom




More information about the U-Boot mailing list