diff options
| author | Joshua-Dickens <[email protected]> | 2022-04-30 00:01:34 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-05-06 06:36:28 +0000 |
| commit | d88591a555325f6f0ec1f28c5fe2c7f2383a4366 (patch) | |
| tree | 6173c52cdc0be4210056994d75834ee2c021f838 /drivers/fpga/fpga-mgr.c | |
| parent | MAINTAINERS: Add Wacom driver maintainers (diff) | |
| download | kernel-d88591a555325f6f0ec1f28c5fe2c7f2383a4366.tar.gz kernel-d88591a555325f6f0ec1f28c5fe2c7f2383a4366.zip | |
Hid: wacom: Fix kernel test robot warning
Kernel test robot throws the following warning -
>> drivers/hid/wacom_wac.c:2411:42: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
hid_warn(hdev, "Dropped %hu packets", value - wacom_wac->hid_data.sequence_number);
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%d
Explicitly casting the argument to unsigned short to silence the warning and retain the intended behavior.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Joshua Dickens <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
