diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-05-29 20:21:52 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-29 21:48:37 -0700 |
commit | 32a62b9441d840e676d55b45468371c252a4fa01 (patch) | |
tree | 5d3c3da41ea4fa5427443acce0e81aa0419289bf /drivers/input | |
parent | 79ffd5f98c11572c004d52f7ecd270ab680a7f72 (diff) | |
download | talos-op-linux-32a62b9441d840e676d55b45468371c252a4fa01.tar.gz talos-op-linux-32a62b9441d840e676d55b45468371c252a4fa01.zip |
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/input')
-rw-r--r-- | drivers/input/rmi4/rmi_f34v7.c | 2 |
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'; |