coreboot-kgpe-d16/payloads/libpayload/drivers/storage
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
..
Kconfig libpayload: Reintroduce CONFIG_LP_CHROMEOS to set suitable defaults 2016-10-17 22:46:11 +02:00
ahci.c libpayload/storage: Add Sunrise Point AHCI PCI id 2017-09-02 15:33:50 +00:00
ahci_ata.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
ahci_atapi.c libpayload/ahci: Fix a warning by decompartmentalise the AHCI driver. 2014-02-15 14:14:36 +01:00
ahci_common.c payloads/libpayload/drivers/storage: Get rid of void pointer math 2018-11-16 09:42:34 +00:00
ahci_private.h libpayload/ahci: Fix a warning by decompartmentalise the AHCI driver. 2014-02-15 14:14:36 +01:00
ata.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
atapi.c libpayload: New AHCI, ATA and ATAPI drivers 2012-10-27 02:52:58 +02:00
storage.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00