Open ghibo opened 6 months ago
When compiling with -Wformat it arises in drivers/hid/ipts/cmd.c and drivers/hid/ipts/mei.c some warning about wrong printf format, where a %ld is used for a size_t type, instead of a %zu. Here is a patch to fix those casting warnings.
0001-fix-size_t-printf-arguments.patch.txt
Thanks! This is something you should submit to https://github.com/linux-surface/intel-precise-touch though. The kernel code is based on that.
When compiling with -Wformat it arises in drivers/hid/ipts/cmd.c and drivers/hid/ipts/mei.c some warning about wrong printf format, where a %ld is used for a size_t type, instead of a %zu. Here is a patch to fix those casting warnings.
0001-fix-size_t-printf-arguments.patch.txt