Asami Doi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33290
Change subject: Remove a newline and apply for a patch of lint errors. ......................................................................
Remove a newline and apply for a patch of lint errors.
Change-Id: I2efcc74038e73c8193ae9d6177c7b44c59ec8d61 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/90/33290/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/+/33290 )
Change subject: Remove a newline and apply for a patch of lint errors. ......................................................................
Abandoned