aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-07-26 15:07:17 +0200
committerGreg Kroah-Hartman <[email protected]>2021-07-27 12:21:21 +0200
commit3a96e97ab4e835078e6f27b7e1c0947814df3841 (patch)
treeef47e8b65d374ae7357daa729bbb598b986f7588 /scripts/gdb/linux/utils.py
parent481975b24c3996352c100be1c3f962bc54ec552d (diff)
serial: 8250_pci: make setup_port() parameters explicitly unsigned
The bar and offset parameters to setup_port() are used in pointer math, and while it would be very difficult to get them to wrap as a negative number, just be "safe" and make them unsigned so that static checkers do not trip over them unintentionally. Cc: Jiri Slaby <[email protected]> Reported-by: Jordy Zomer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions