From patchwork Mon Jan 10 13:01:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyril Hrubis X-Patchwork-Id: 1577893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa header.b=hAF8xaBM; dkim=fail reason="signature verification failed" header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=/5G7NMQk; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JXYp26MvTz9sPC for ; Tue, 11 Jan 2022 00:00:10 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id C14543C9398 for ; Mon, 10 Jan 2022 14:00:07 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [IPv6:2001:4b78:1:20::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id AB8B23C0EC5 for ; Mon, 10 Jan 2022 14:00:05 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (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 in-7.smtp.seeweb.it (Postfix) with ESMTPS id ECF87200FCA for ; Mon, 10 Jan 2022 14:00:04 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3F8F51F395 for ; Mon, 10 Jan 2022 13:00:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1641819604; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=AAGzuhDegQEc/6qy9tXtoT+SFsK2PWAqqvGHs0xT4Ow=; b=hAF8xaBMw6ApErDPoesk9LMWoFWzQ1eFj8ft8zLlrTBtIVj3HeQhVTkjBSLAI37TIw08qH EKyNCyar38Rpb6FTWrIfRxfBaqdlFHmKGDzT7+X6SrK60S00nQj3kzpKTdKv3+07HDQbyr UqpN53W/Wv8k04EnES/ZWQ47L5mE598= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1641819604; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=AAGzuhDegQEc/6qy9tXtoT+SFsK2PWAqqvGHs0xT4Ow=; b=/5G7NMQks62rEBjUrgU+ufM4qJSlwVHygpEzfOCmWaEYRmUetCm+Jnf1QHKp0b8rP1NkxD oL5u8sSPSLqVdcDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2CE3113D58 for ; Mon, 10 Jan 2022 13:00:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5nhKCdQt3GExJwAAMHmgww (envelope-from ) for ; Mon, 10 Jan 2022 13:00:04 +0000 From: Cyril Hrubis To: ltp@lists.linux.it Date: Mon, 10 Jan 2022 14:01:38 +0100 Message-Id: <20220110130138.25855-1-chrubis@suse.cz> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-7.smtp.seeweb.it Subject: [LTP] [COMMITTED] [PATCH] quotaclt: Fix build faliures in metadata parser X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" The current parser has many limitations, one of them is that it only parses headers directly included by the test hence the quotactl tests have to directly include the header that defines the number of variants. Signed-off-by: Cyril Hrubis --- testcases/kernel/syscalls/quotactl/quotactl02.c | 1 + testcases/kernel/syscalls/quotactl/quotactl05.c | 1 + 2 files changed, 2 insertions(+) diff --git a/testcases/kernel/syscalls/quotactl/quotactl02.c b/testcases/kernel/syscalls/quotactl/quotactl02.c index 56fa23b9d..c16e0a3f8 100644 --- a/testcases/kernel/syscalls/quotactl/quotactl02.c +++ b/testcases/kernel/syscalls/quotactl/quotactl02.c @@ -26,6 +26,7 @@ */ #include "quotactl02.h" +#include "quotactl_syscall_var.h" #ifdef HAVE_XFS_XQM_H static uint32_t qflagu = XFS_QUOTA_UDQ_ENFD; diff --git a/testcases/kernel/syscalls/quotactl/quotactl05.c b/testcases/kernel/syscalls/quotactl/quotactl05.c index e56e191df..541007e97 100644 --- a/testcases/kernel/syscalls/quotactl/quotactl05.c +++ b/testcases/kernel/syscalls/quotactl/quotactl05.c @@ -19,6 +19,7 @@ */ #include "quotactl02.h" +#include "quotactl_syscall_var.h" #if defined(HAVE_XFS_XQM_H) static uint32_t qflagp = XFS_QUOTA_PDQ_ENFD;