linuxwacom / input-wacom

Linux kernel driver for Wacom devices
GNU General Public License v2.0
615 stars 58 forks source link

Import w8001 patch from upstream #419

Closed jigpu closed 5 months ago

jigpu commented 6 months ago

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.

Pinglinux commented 5 months ago

Patchset looks good to me. We'll work on the mentioned upstream patch and come back to clean up this repo when that patch is merged.