aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-06-16 17:29:13 +0100
committerCorey Minyard <[email protected]>2021-06-21 19:50:36 -0500
commit5b32dd281ee0a269f39ecf6b48f0cd3f37264842 (patch)
tree68a0ac99eaf436be8f43844c91a75b033e186915 /scripts/gdb
parentd0ec795c8c275ceca2076861f7fe3cc5f18da348 (diff)
ipmi: kcs_bmc_aspeed: Fix less than zero comparison of a unsigned int
The comparisons of the unsigned int hw_type to less than zero always false because it is unsigned. Fix this by using an int for the assignment and less than zero check. Addresses-Coverity: ("Unsigned compared against 0") Fixes: 9d2df9a0ad80 ("ipmi: kcs_bmc_aspeed: Implement KCS SerIRQ configuration") Signed-off-by: Colin Ian King <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions