[PATCH] i3c: master: dw: check return of dw_i3c_master_get_free_pos()

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Jan 12 17:07:11 PST 2022


On Sat, 8 Jan 2022 07:09:48 -0800, trix at redhat.com wrote:
> From: Tom Rix <trix at redhat.com>
> 
> Clang static analysis reports this problem
> dw-i3c-master.c:799:9: warning: The result of the left shift is
>   undefined because the left operand is negative
>                       COMMAND_PORT_DEV_INDEX(pos) |
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> [...]

Applied, thanks!

[1/1] i3c: master: dw: check return of dw_i3c_master_get_free_pos()
      commit: 13462ba1815db5a96891293a9cfaa2451f7bd623

Best regards,
-- 
Alexandre Belloni <alexandre.belloni at bootlin.com>



More information about the linux-i3c mailing list