summaryrefslogtreecommitdiffstats
path: root/Documentation/tools/rtla/Makefile
diff options
context:
space:
mode:
authorDavid Arinzon <darinzon@amazon.com>2024-05-12 13:46:36 +0000
committerJakub Kicinski <kuba@kernel.org>2024-05-13 14:42:04 -0700
commit97776caf6c6e3a932d8e1410e6810cbfcb69d42d (patch)
treeb116b5c867d4b3e58f76318d99a62a72f366f72b /Documentation/tools/rtla/Makefile
parentb37b98a3a0c1198bafe8c2d9ce0bc845b4e7a9a7 (diff)
downloadlinux-stable-97776caf6c6e3a932d8e1410e6810cbfcb69d42d.tar.gz
linux-stable-97776caf6c6e3a932d8e1410e6810cbfcb69d42d.tar.bz2
linux-stable-97776caf6c6e3a932d8e1410e6810cbfcb69d42d.zip
net: ena: Changes around strscpy calls
strscpy copies as much of the string as possible, meaning that the destination string will be truncated in case of no space. As this is a non-critical error in our case, adding a debug level print for indication. This patch also removes a -1 which was added to ensure enough space for NUL, but strscpy destination string is guaranteed to be NUL-terminted, therefore, the -1 is not needed. Signed-off-by: David Arinzon <darinzon@amazon.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240512134637.25299-5-darinzon@amazon.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/tools/rtla/Makefile')
0 files changed, 0 insertions, 0 deletions