OpenCloudOS-Kernel/drivers/char/ipmi
Corey Minyard a24b5dd5ed 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>
2016-11-24 18:09:49 -06:00
..
Kconfig ipmi/bt-bmc: add a dependency on ARCH_ASPEED 2016-09-29 19:05:06 -05:00
Makefile ipmi: add an Aspeed BT IPMI BMC driver 2016-09-29 19:05:06 -05:00
bt-bmc.c ipmi/bt-bmc: remove redundant return value check of platform_get_resource() 2016-09-30 09:23:22 -05:00
ipmi_bt_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_devintf.c ipmi: Free ipmi_recv_msg messages from the linked list on close 2015-02-19 20:58:40 -06:00
ipmi_kcs_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_msghandler.c ipmi: Fix sequence number handling 2016-11-24 18:09:49 -06:00
ipmi_powernv.c impi:Remove unneeded setting of module owner to THIS_MODULE in the platform structure, powernv_ipmi_driver 2015-09-03 15:02:24 -05:00
ipmi_poweroff.c char: Convert use of typedef ctl_table to struct ctl_table 2013-06-17 16:43:08 -07:00
ipmi_si_intf.c ipmi: Pick up slave address from SMBIOS on an ACPI device 2016-11-24 18:09:48 -06:00
ipmi_si_sm.h ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_smic_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_ssif.c ipmi: Pick up slave address from SMBIOS on an ACPI device 2016-11-24 18:09:48 -06:00
ipmi_watchdog.c ipmi/watchdog: use nmi_panic() when kernel panics in NMI handler 2016-03-22 15:36:02 -07:00