[PATCH] i3c: replace deprecated strncpy

Alexandre Belloni alexandre.belloni at bootlin.com
Mon Sep 25 14:36:36 PDT 2023


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



More information about the linux-i3c mailing list