From: Colin King <hidden> Date: 2021-01-28 12:20:15
From: Colin Ian King <redacted>
Currently if the call to qs5xx_fw_file_parse fails the error return
exit path will read the uninitialized variable error_bl. Fix this
by ensuring error_bl is initialized to zero.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 2539da6677b6 ("Input: iqs5xx - preserve bootloader errors")
Signed-off-by: Colin Ian King <redacted>
---
drivers/input/touchscreen/iqs5xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Jeff LaBundy <hidden> Date: 2021-01-28 14:41:04
Hi Colin,
On Thu, Jan 28, 2021 at 12:19:03PM +0000, Colin King wrote:
From: Colin Ian King <redacted>
Currently if the call to qs5xx_fw_file_parse fails the error return
exit path will read the uninitialized variable error_bl. Fix this
by ensuring error_bl is initialized to zero.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 2539da6677b6 ("Input: iqs5xx - preserve bootloader errors")
Signed-off-by: Colin Ian King <redacted>
From: Colin Ian King <hidden> Date: 2021-01-28 14:57:35
On 28/01/2021 14:39, Jeff LaBundy wrote:
Hi Colin,
On Thu, Jan 28, 2021 at 12:19:03PM +0000, Colin King wrote:
quoted
From: Colin Ian King <redacted>
Currently if the call to qs5xx_fw_file_parse fails the error return
exit path will read the uninitialized variable error_bl. Fix this
by ensuring error_bl is initialized to zero.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 2539da6677b6 ("Input: iqs5xx - preserve bootloader errors")
Signed-off-by: Colin Ian King <redacted>