diff options
author | Lv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn> | 2022-03-15 04:12:21 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-03-15 04:14:51 +0300 |
commit | 5fb3fb8aa22ff6e6da4018fd3ab3e30e2fdc5e53 (patch) | |
tree | bd6903893c0388938f94d9e9a88a571b0a6d5005 /fs/cifs/fs_context.c | |
parent | f28af984e771efd1ded81b865b50fa13b69bcde5 (diff) | |
download | linux-5fb3fb8aa22ff6e6da4018fd3ab3e30e2fdc5e53.tar.xz |
Input: mt6779-keypad - fix signedness bug
The irq variable is defined as unsigned int. If the platform_get_irq()
returns a negative value, data type cast may result in error.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Lv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20220308025054.2077162-1-lv.ruyi@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'fs/cifs/fs_context.c')
0 files changed, 0 insertions, 0 deletions