Asami Doi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33288
Change subject: Remove a newline and apply a patch for lint errors. ......................................................................
Remove a newline and apply a patch for lint errors.
Change-Id: I49958596e7890d5d6b2fc21bba4e1c9f3a491444 Signed-off-by: Asami Doi doiasami1219@gmail.com --- M payloads/libpayload/configs/config.emulation-qemu-arm M payloads/libpayload/include/arm/arch/io.h 2 files changed, 6 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/33288/1
diff --git a/payloads/libpayload/configs/config.emulation-qemu-arm b/payloads/libpayload/configs/config.emulation-qemu-arm index e498126..191aa7a 100644 --- a/payloads/libpayload/configs/config.emulation-qemu-arm +++ b/payloads/libpayload/configs/config.emulation-qemu-arm @@ -7,4 +7,3 @@ CONFIG_LP_USB_OHCI=y CONFIG_LP_USB_EHCI=y CONFIG_LP_USB_XHCI=y - diff --git a/payloads/libpayload/include/arm/arch/io.h b/payloads/libpayload/include/arm/arch/io.h index 58b8a22..f0180a3 100644 --- a/payloads/libpayload/include/arm/arch/io.h +++ b/payloads/libpayload/include/arm/arch/io.h @@ -34,13 +34,13 @@ #include <stdint.h> #include <arch/cache.h>
-#define inb(a) read8((const void *) (a)) -#define inw(a) read16((const void *) (a)) -#define inl(a) read32((const void *) (a)) +#define inb(a) read8((const void *)(a)) +#define inw(a) read16((const void *)(a)) +#define inl(a) read32((const void *)(a))
-#define outb(v, a) write8((void *) (&v), a) -#define outw(v, a) write16((void *) (&v), a) -#define outl(v, a) write32((void *) (&v), a) +#define outb(v, a) write8((void *)(&v), a) +#define outw(v, a) write16((void *)(&v), a) +#define outl(v, a) write32((void *)(&v), a)
/* * readb/w/l writeb/w/l are deprecated. use read8/16/32 and write8/16/32
Asami Doi has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/33288 )
Change subject: Remove a newline and apply a patch for lint errors. ......................................................................
Abandoned