Re: [PATCH] i3c: replace deprecated strncpy

From: Alexandre Belloni
Date: Mon Sep 25 2023 - 17:36:46 EST



On Thu, 21 Sep 2023 03:51:04 +0000, Justin Stitt wrote:
> `strncpy` is deprecated for use on NUL-terminated destination strings [1].
>
> We should prefer more robust and less ambiguous string interfaces.
>
> We expect adap->name to be NUL-terminated based on i2c_adapter name use:
> | dev_dbg(&adap->dev, "adapter [%s] registered\n", adap->name);
>
> [...]

Applied, thanks!

[1/1] i3c: replace deprecated strncpy
commit: fa7726a4d9b91e0a8fb6fbbd819cd20f116f6c21

Best regards,

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