Commit 32a62b94 authored by Dan Carpenter's avatar Dan Carpenter Committed by Dmitry Torokhov
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 79ffd5f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -518,7 +518,7 @@ static int rmi_f34v7_read_queries(struct f34_data *f34)
			query_1_7.partition_support[1] & HAS_GUEST_CODE;

	if (query_0 & HAS_CONFIG_ID) {
		char f34_ctrl[CONFIG_ID_SIZE];
		u8 f34_ctrl[CONFIG_ID_SIZE];
		int i = 0;
		u8 *p = f34->configuration_id;
		*p = '\0';