[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174225158210.1593610.10018812780731849409.b4-ty@bootlin.com>
Date: Mon, 17 Mar 2025 23:46:29 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: frank.li@....com, miquel.raynal@...tlin.com,
linux-i3c@...ts.infradead.org,
Stanley Chu <stanley.chuys@...il.com>
Cc: linux-kernel@...r.kernel.org, tomer.maimon@...oton.com,
kwliu@...oton.com, yschu@...oton.com,
Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: [PATCH v1 1/1] i3c: master: svc: Fix i3c_master_get_free_addr
return check
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
Powered by blists - more mailing lists