From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E687C001E0 for ; Mon, 31 Jul 2023 10:50:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231949AbjGaKuI (ORCPT ); Mon, 31 Jul 2023 06:50:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbjGaKtp (ORCPT ); Mon, 31 Jul 2023 06:49:45 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E1511FC6; Mon, 31 Jul 2023 03:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1690800557; bh=CtmLGedeOhA+k4A2HHh192GITcfJNCuswikbzDnlh0o=; h=From:To:Cc:Subject:Date:From; b=nmmSZgYoGKlfewgxbHrjHsFasD/kNYgxsclpfDhrCmkn6zr+sXls2Y3iouqqyh1VM MhIkMGG62Ql7CvuMK1rblBGp6re+F4blCWPrXjspeAS39figEBqUjdVVNgw/5hnKFl FfTrbvw42iK0f4Xyj9XRelzuOSkbvv1g3QnBuMmI= Received: from ld50.lan (unknown [101.88.28.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id CA165600A6; Mon, 31 Jul 2023 18:49:17 +0800 (CST) From: WANG Xuerui To: Song Liu Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, WANG Xuerui Subject: [PATCH 0/5] raid6: raid6test build fixes and cleanups Date: Mon, 31 Jul 2023 18:49:06 +0800 Message-Id: <20230731104911.411964-1-kernel@xen0n.name> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org From: WANG Xuerui 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 > | ^~~~~~~~~~~~~~ > 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 include from recov.c raid6: guard the tables.c include of 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