linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] raid6: raid6test build fixes and cleanups
@ 2023-07-31 10:49 WANG Xuerui
  2023-07-31 10:49 ` [PATCH 1/5] raid6: remove the <linux/export.h> include from recov.c WANG Xuerui
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: WANG Xuerui @ 2023-07-31 10:49 UTC (permalink / raw)
  To: Song Liu; +Cc: linux-raid, linux-kernel, WANG Xuerui

From: WANG Xuerui <git@xen0n.name>

Hi,

While working on porting the RAID6 math to the LoongArch SIMD
extensions, I found out the raid6test tool build is broken for some
time (seemingly on all arches), so I took some time to fix it and did
some cleanups while at it.

Before the fix:

> In file included from ../../../include/linux/export.h:5,
>                  from recov.c:16:
> ../../../include/linux/compiler.h:246:10: fatal error: asm/rwonce.h: No such file or directory
>   246 | #include <asm/rwonce.h>
>       |          ^~~~~~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:58: recov.o] Error 1

After the fix I was able to build and test it on x86_64 and loongarch64,
with clean `git status` output after building.

WANG Xuerui (5):
  raid6: remove the <linux/export.h> include from recov.c
  raid6: guard the tables.c include of <linux/export.h> with __KERNEL__
  raid6: test: cosmetic cleanups for the test Makefile
  raid6: test: make sure all intermediate and artifact files are
    .gitignored
  raid6: test: only check for Altivec if building on powerpc hosts

 lib/raid6/mktables.c      |  2 ++
 lib/raid6/recov.c         |  1 -
 lib/raid6/test/.gitignore |  2 ++
 lib/raid6/test/Makefile   | 50 ++++++++++++++++++++-------------------
 4 files changed, 30 insertions(+), 25 deletions(-)
 create mode 100644 lib/raid6/test/.gitignore

-- 
2.40.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-13 17:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 10:49 [PATCH 0/5] raid6: raid6test build fixes and cleanups WANG Xuerui
2023-07-31 10:49 ` [PATCH 1/5] raid6: remove the <linux/export.h> include from recov.c WANG Xuerui
2023-07-31 10:49 ` [PATCH 2/5] raid6: guard the tables.c include of <linux/export.h> with __KERNEL__ WANG Xuerui
2023-07-31 10:49 ` [PATCH 3/5] raid6: test: cosmetic cleanups for the test Makefile WANG Xuerui
2023-07-31 10:49 ` [PATCH 4/5] raid6: test: make sure all intermediate and artifact files are .gitignored WANG Xuerui
2023-08-13 17:21   ` Song Liu
2023-07-31 10:49 ` [PATCH 5/5] raid6: test: only check for Altivec if building on powerpc hosts WANG Xuerui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).