Re: [PATCH][next] power: supply: bd99954: make read-only array sub_status_reg

From: Matti Vaittinen
Date: Tue Jun 27 2023 - 08:38:42 EST


On 6/27/23 15:17, Colin Ian King wrote:
Don't populate the read-only array on the stack, instead make it
static const.

Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>

Thanks!

Yours,
-- Matti

--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~