linux-stable/arch/alpha
Randy Dunlap 5ecae8f6aa alpha: agp: make empty macros use do-while-0 style
Copy these macros from ia64/include/asm/agp.h to avoid the
"empty-body" in 'if' statment warning.

drivers/char/agp/generic.c: In function 'agp_generic_destroy_page':
../drivers/char/agp/generic.c:1265:42: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
 1265 |                 unmap_page_from_agp(page);

Link: https://lkml.kernel.org/r/20210809030822.20658-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-08 11:50:25 -07:00
..
boot alpha: fix spelling mistakes 2021-07-25 22:33:04 -07:00
configs alpha: defconfig: add necessary configs for boot testing 2021-07-25 22:33:03 -07:00
include alpha: agp: make empty macros use do-while-0 style 2021-09-08 11:50:25 -07:00
kernel alpha: register early reserved memory in memblock 2021-07-28 20:49:18 -07:00
lib alpha: csum_partial_copy.c: add function prototypes from <net/checksum.h> 2021-05-06 19:24:11 -07:00
math-emu alpha: fp_emul: avoid init/cleanup_module names 2021-07-25 22:33:04 -07:00
mm alpha: remove DISCONTIGMEM and NUMA 2021-06-29 10:53:55 -07:00
Kbuild alpha: move core-y in arch/alpha/Makefile to arch/alpha/Kbuild 2021-05-26 23:11:47 +09:00
Kconfig libata-5.14-2021-07-30 2021-07-30 10:56:47 -07:00
Kconfig.debug treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile alpha: move core-y in arch/alpha/Makefile to arch/alpha/Kbuild 2021-05-26 23:11:47 +09:00