coreboot-kgpe-d16/payloads
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
..
bayou payloads: Remove/fix trailing whitespace 2018-09-04 12:38:40 +00:00
coreinfo payloads/coreinfo/cbfs_module.c: Get rid of void pointer math 2018-11-06 01:46:47 +00:00
external Linuxboot: remove initramfs path entry 2018-11-05 20:57:38 +00:00
libpayload payloads/libpayload/drivers/storage: Get rid of void pointer math 2018-11-16 09:42:34 +00:00
linuxcheck rampayload: Add the linuxcheck payload 2018-09-14 09:59:17 +00:00
nvramcui payloads/nvramcui/payload.sh: Fix shellcheck warnings 2018-01-24 23:01:35 +00:00
Kconfig payloads: Only show supported payloads in menuconfig 2018-10-09 11:29:52 +00:00
Makefile.inc payloads/external: Add yabits payload 2018-09-16 13:10:17 +00:00