summaryrefslogtreecommitdiffstats
path: root/drivers/base/topology.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2024-08-21 17:48:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-22 09:37:38 +0200
commit888f67e621dda5c2804a696524e28d0ca4cf0a80 (patch)
treebeadb9b5a181bf8303f3dd2da1d6d725e9426a4d /drivers/base/topology.c
parentdriver core: Make use of returned value of dev_err_probe() (diff)
downloadlinux-888f67e621dda5c2804a696524e28d0ca4cf0a80.tar.xz
linux-888f67e621dda5c2804a696524e28d0ca4cf0a80.zip
driver core: Use 2-argument strscpy()
Use 2-argument strscpy(), which is not only shorter but also provides an additional check that destination buffer is an array. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240821154839.604259-6-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/topology.c')
0 files changed, 0 insertions, 0 deletions