aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <[email protected]>2020-10-28 23:31:38 -0700
committerGreg Kroah-Hartman <[email protected]>2020-11-18 12:57:49 +0100
commit7695cae24b29edd2dbd3b3a77a7264cd6d9ca67a (patch)
treec6e315684c425f57f2c80fdc7c713e80231a893f /scripts/gdb/linux/config.py
parentcccaee0e0aadb36edf38298d400ed76e3de21dd5 (diff)
usb: typec: tcpci_maxim: Fix uninitialized return variable
New smatch warnings: drivers/usb/typec/tcpm/tcpci_maxim.c:324 max_tcpci_irq() error: uninitialized symbol 'irq_return'. drivers/usb/typec/tcpm/tcpci_maxim.c:407 max_tcpci_probe() warn: passing zero to 'PTR_ERR' The change fixes the above warnings by initializing irq_return and replacing IS_ERR_OR_NULL with IS_ERR. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Badhri Jagan Sridharan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions