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 libpayload/libc/console: Flush input driver buffer on init 2017-04-19 19:19:56 +02:00
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 payloads: Add whitespace around '<<' 2017-06-28 00:23:18 +00:00
usb libpayload: Fill reg_base for debugging purposes 2018-10-23 06:24:47 +00:00
video libpayload: Use a static copy of `font_glyph_filled()` 2017-08-10 12:07:13 +00:00
Makefile.inc libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
cbmem_console.c Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
hid.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
mouse_cursor.c libpayload-x86: Add PS2 mouse driver 2018-05-15 12:02:31 +00:00
nvram.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
options.c
pci.c Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
speaker.c