[PATCH v1 1/1] i3c: master: svc: Fix i3c_master_get_free_addr return check

Alexandre Belloni alexandre.belloni at bootlin.com
Mon Mar 17 15:46:29 PDT 2025


On Mon, 10 Mar 2025 10:33:04 +0800, Stanley Chu wrote:
> The return value of i3c_master_get_free_addr is assigned to a variable
> with wrong type, so it can't be negative. Use a signed integer for the
> return value. If the value is negative, break the process and propagate
> the error code.
> 
> This commit also fixes the uninitialized symbol 'dyn_addr', reported
> by Smatch static checker.
> 
> [...]

Applied, thanks!

[1/1] i3c: master: svc: Fix i3c_master_get_free_addr return check
      https://git.kernel.org/abelloni/c/d6cb667b8e15

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the linux-i3c mailing list