linux/drivers/hid/intel-ish-hid
Nicolas Iooss 5299a92a3b HID: intel-ish-hid: format 32-bit integers with %X
In ishtp_hid_probe(), use %04X instead of %04hX to format __u32 values,
in order to silent a format error reported by clang:

    drivers/hid/intel-ish-hid/ishtp-hid.c:212:3: error: format specifies
    type 'unsigned short' but the argument has type '__u32' (aka
    'unsigned int') [-Werror,-Wformat]
                    hid->vendor, hid->product);
                    ^~~~~~~~~~~
    drivers/hid/intel-ish-hid/ishtp-hid.c:212:16: error: format
    specifies type 'unsigned short' but the argument has type '__u32'
    (aka 'unsigned int') [-Werror,-Wformat]
                    hid->vendor, hid->product);
                                 ^~~~~~~~~~~~

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-01-02 13:16:32 +01:00
..
ipc HID: intel-ish-hid: add printf attribute to print_log() 2017-01-02 13:16:32 +01:00
ishtp HID: intel-ish-hid: add printf attribute to print_log() 2017-01-02 13:16:32 +01:00
ishtp-hid-client.c HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00
ishtp-hid.c HID: intel-ish-hid: format 32-bit integers with %X 2017-01-02 13:16:32 +01:00
ishtp-hid.h HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00
Kconfig HID: intel_ish-hid: ISH Transport layer 2016-08-17 11:13:07 +02:00
Makefile HID: intel-ish-hid: ISH HID client driver 2016-08-17 11:13:08 +02:00