summaryrefslogtreecommitdiff
path: root/drivers/pci/iov.c
diff options
context:
space:
mode:
authorLv Ruyi (CGEL ZTE) <lv.ruyi@zte.com.cn>2022-03-15 04:12:21 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-03-15 04:14:51 +0300
commit5fb3fb8aa22ff6e6da4018fd3ab3e30e2fdc5e53 (patch)
treebd6903893c0388938f94d9e9a88a571b0a6d5005 /drivers/pci/iov.c
parentf28af984e771efd1ded81b865b50fa13b69bcde5 (diff)
downloadlinux-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 'drivers/pci/iov.c')
0 files changed, 0 insertions, 0 deletions