coreboot-kgpe-d16/payloads/libpayload/drivers
Richard Spiegel 509d99ca6b payloads/libpayload/drivers/storage: Get rid of void pointer math
Pointer math with void pointers is illegal in many compilers, though it
works with GCC because it assumes size of void to be 1. In this particular
situation, dev->buf is already pointer to u8, and there's no need to convert
to void *.

BUG=b:118484178
TEST=Build libpayload.

Change-Id: Ib70b8ce11abc88c35be4092f097cfff385921f46
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/29442
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
2018-11-16 09:42:34 +00:00
..
i8042 src/*: normalize Google copyright headers 2018-09-28 07:13:00 +00:00
serial
storage payloads/libpayload/drivers/storage: Get rid of void pointer math 2018-11-16 09:42:34 +00:00
timer
udc
usb libpayload: Fill reg_base for debugging purposes 2018-10-23 06:24:47 +00:00
video
Makefile.inc
cbmem_console.c
hid.c
mouse_cursor.c
nvram.c
options.c
pci.c
speaker.c