diff options
author | Lv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn> | 2022-03-14 18:12:21 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-03-14 18:14:51 -0700 |
commit | 5fb3fb8aa22ff6e6da4018fd3ab3e30e2fdc5e53 (patch) | |
tree | bd6903893c0388938f94d9e9a88a571b0a6d5005 /tools/testing/selftests/kvm/lib/aarch64/vgic.c | |
parent | Input: mt6779-keypad - add MediaTek keypad driver (diff) | |
download | linux-dev-5fb3fb8aa22ff6e6da4018fd3ab3e30e2fdc5e53.tar.xz linux-dev-5fb3fb8aa22ff6e6da4018fd3ab3e30e2fdc5e53.zip |
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 'tools/testing/selftests/kvm/lib/aarch64/vgic.c')
0 files changed, 0 insertions, 0 deletions