]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gameport - move from strlcpy with unused retval to strscpy
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 23 Aug 2022 00:14:58 +0000 (17:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 Aug 2022 00:16:24 +0000 (17:16 -0700)
commit8b82dee37f5ab7cb9dbcaa26228f1a11d00340b5
tree402d4db6b283ea95f7297f681805608c3ce4bac4
parentb97c54a23a1dc612e525da57d796fde0cad0a8d8
Input: gameport - move from strlcpy with unused retval to strscpy

Follow the advice of the below link and prefer 'strscpy' in this
subsystem. Conversion is 1:1 because the return value is not used.
Generated by a coccinelle script.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20220818210156.8143-1-wsa+renesas@sang-engineering.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
include/linux/gameport.h