Imports the following upstream commit: Input: move from strlcpy with unused retval to strscpy (a9f08ad7adb3). The strlcpy function is removed in Linux 6.9, which prevents input-wacom from compiling without this commit. The import only applies to the 4.5 branch since strscpy is not available in 3.17.
This request also includes a commit to (temporarily) set -Wno-error=unused-result when Github runs its compile tests. This is because the new strscpy function has a return value which is currently ignored. We should fix this upstream and then revert this second change once it is no longer needed.
Imports the following upstream commit:
Input: move from strlcpy with unused retval to strscpy
(a9f08ad7adb3). The strlcpy function is removed in Linux 6.9, which prevents input-wacom from compiling without this commit. The import only applies to the 4.5 branch since strscpy is not available in 3.17.This request also includes a commit to (temporarily) set
-Wno-error=unused-result
when Github runs its compile tests. This is because the new strscpy function has a return value which is currently ignored. We should fix this upstream and then revert this second change once it is no longer needed.