[PATCH] usb: gadget: fix static analysis false positive

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 15 00:17:28 PDT 2024


On Mon, 14 Oct 2024 14:50:25 +0200, Ahmad Fatoum wrote:
> On 32-bit systems, the 32-bit-wide buf can never exceed 0xffffffff,
> so this resulted in a warning. Fix this by using upper_32_bits()
> instead, which is also easier to read.
> 
> 

Applied, thanks!

[1/1] usb: gadget: fix static analysis false positive
      https://git.pengutronix.de/cgit/barebox/commit/?id=9899233fafb9 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list