Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: synaptics-rmi4 - change a char type to u8

Smatch doesn't like when we use "%02X" to print char types because,
what about if it's a negative?

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Dan Carpenter and committed by
Dmitry Torokhov
32a62b94 79ffd5f9

+1 -1
+1 -1
drivers/input/rmi4/rmi_f34v7.c
··· 518 518 query_1_7.partition_support[1] & HAS_GUEST_CODE; 519 519 520 520 if (query_0 & HAS_CONFIG_ID) { 521 - char f34_ctrl[CONFIG_ID_SIZE]; 521 + u8 f34_ctrl[CONFIG_ID_SIZE]; 522 522 int i = 0; 523 523 u8 *p = f34->configuration_id; 524 524 *p = '\0';