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

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
...@@ -518,7 +518,7 @@ static int rmi_f34v7_read_queries(struct f34_data *f34) ...@@ -518,7 +518,7 @@ static int rmi_f34v7_read_queries(struct f34_data *f34)
query_1_7.partition_support[1] & HAS_GUEST_CODE; query_1_7.partition_support[1] & HAS_GUEST_CODE;
if (query_0 & HAS_CONFIG_ID) { if (query_0 & HAS_CONFIG_ID) {
char f34_ctrl[CONFIG_ID_SIZE]; u8 f34_ctrl[CONFIG_ID_SIZE];
int i = 0; int i = 0;
u8 *p = f34->configuration_id; u8 *p = f34->configuration_id;
*p = '\0'; *p = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment