summaryrefslogtreecommitdiffstats
path: root/drivers/atm/idt77105.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2016-11-14 17:11:30 +0100
committerCorey Minyard <cminyard@mvista.com>2016-11-25 01:09:49 +0100
commita24b5dd5eda73b956da27031cefbe4374b6af2bc (patch)
tree1bf0de702daf23de1858fd1b757398623430f125 /drivers/atm/idt77105.c
parentipmi: Pick up slave address from SMBIOS on an ACPI device (diff)
downloadlinux-a24b5dd5eda73b956da27031cefbe4374b6af2bc.tar.xz
linux-a24b5dd5eda73b956da27031cefbe4374b6af2bc.zip
ipmi: Fix sequence number handling
The IPMI message handler uses a message id that the lower-layer preserved to track the sequence number of the message. The macros that handled these sequence numbers were somewhat broken as they could result in sequence number truncation and they were not doing an "and" of the proper number of bits. I think this actually is not a problem, because the truncation should be harmless and the improper "and" didn't hurt anything because sequence number generation used the same improper "and" and wouldn't generate a sequence number that would get truncated wrong. However, it should be fixed. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/atm/idt77105.c')
0 files changed, 0 insertions, 0 deletions