kernel icon indicating copy to clipboard operation
kernel copied to clipboard

wrong format for size_t in dev_dbg()

Open ghibo opened this issue 1 year ago • 1 comments

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

ghibo avatar Feb 14 '24 10:02 ghibo

Thanks! This is something you should submit to https://github.com/linux-surface/intel-precise-touch though. The kernel code is based on that.

qzed avatar Mar 14 '24 20:03 qzed