ARM: 9147/1: add printf format attribute to early_print()
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Thu, 21 Oct 2021 09:21:29 +0000 (10:21 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 25 Oct 2021 12:12:37 +0000 (13:12 +0100)
commit0e52fc2e7ddda78d9ced594a3bd0f840435a6560
tree51fc492247f399e6ad10aa77504b28cb1480fdc9
parent2abd6e34fcf3bd9f9ffafcaa47cdc3ed443f9add
ARM: 9147/1: add printf format attribute to early_print()

Adding such an attribute is helpful to detect errors related to printf
formats at compile-time.

Link: https://lore.kernel.org/r/20160828165815.25647-1-nicolas.iooss_linux@m4x.org
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/setup.h