summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-05-29 20:21:52 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-05-29 21:48:37 -0700
commit32a62b9441d840e676d55b45468371c252a4fa01 (patch)
tree5d3c3da41ea4fa5427443acce0e81aa0419289bf /drivers
parent79ffd5f98c11572c004d52f7ecd270ab680a7f72 (diff)
downloadlinux-32a62b9441d840e676d55b45468371c252a4fa01.tar.gz
linux-32a62b9441d840e676d55b45468371c252a4fa01.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/rmi4/rmi_f34v7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_f34v7.c b/drivers/input/rmi4/rmi_f34v7.c
index 10c0d11b72c9..ae2db1c3aebf 100644
--- a/drivers/input/rmi4/rmi_f34v7.c
+++ b/drivers/input/rmi4/rmi_f34v7.c
@@ -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';