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 libpayload: Add Timer for sdm845 2018-05-01 23:35:25 +00:00
udc
usb libpayload: Fill reg_base for debugging purposes 2018-10-23 06:24:47 +00:00
video
Makefile.inc libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
cbmem_console.c
hid.c
mouse_cursor.c libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
nvram.c
options.c
pci.c
speaker.c