linux_dsm_epyc7002/drivers/misc/mei
Tomas Winkler de8774371c mei: check for error returned from mei_hbuf_empty_slots()
mei_hbuf_empty_slots() may return with an error in case
of circular buffer overflow. This type of error may
be caused only by a bug. However currently, the error
won't be detected due signed type promotion in comparison to u32.
We add explicit check for less then zero and explicit cast
in comparison to suppress singn-compare warning.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-12 16:23:19 +02:00
..
bus-fixup.c mei: bus: type promotion bug in mei_fwver() 2018-07-12 15:44:57 +02:00
bus.c mei: add optional timeout to internal bus recv 2018-07-03 13:11:20 +02:00
client.c mei: check for error returned from mei_hbuf_empty_slots() 2018-07-12 16:23:19 +02:00
client.h
debugfs.c mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
hbm.c
hbm.h
hw-me-regs.h mei: me: add cannon point device ids for 4th device 2018-02-20 08:58:42 +01:00
hw-me.c mei: check for error returned from mei_hbuf_empty_slots() 2018-07-12 16:23:19 +02:00
hw-me.h
hw-txe-regs.h
hw-txe.c mei: check for error returned from mei_hbuf_empty_slots() 2018-07-12 16:23:19 +02:00
hw-txe.h
hw.h mei: remove unused MEI_IAMTHIF_STALL_TIMER define 2018-07-03 13:11:20 +02:00
init.c mei: limit the number of queued writes 2018-03-14 19:33:13 +01:00
interrupt.c mei: check for error returned from mei_hbuf_empty_slots() 2018-07-12 16:23:19 +02:00
Kconfig
main.c mei: don't update offset in write 2018-07-12 15:44:57 +02:00
Makefile
mei_dev.h mei: expose fw version to sysfs 2018-07-03 13:11:20 +02:00
mei-trace.c
mei-trace.h
pci-me.c mei: me: add cannon point device ids for 4th device 2018-02-20 08:58:42 +01:00
pci-txe.c