From patchwork Sat Aug 26 08:36:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herbert Xu X-Patchwork-Id: 1826354 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=MaPeRorl; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RXqw36LbCz1yg5 for ; Sat, 26 Aug 2023 18:38:09 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tbHQB+DLF1/LdNbAOfUeTkpF9vrkCh8gcImebzTRbSo=; b=MaPeRorlZo89R0 KdOmLjX5Rnt8thhJ4/xfU+Ra1jgcmEvSZN+SsWKht2QUXYAv/UQbgvdS0vCSBRWG2vyvb6BVC+L3I xMacWA6uZR9iSprD9EEZQTt8M0MCYWL4btwQmC2wNdGYqXaSbvVu+mnBGTsKxzG4F2oeqtXioes/y ck+daHEA/5nszR1FkJXYp3CoirIhLjM/7cMv0RwqTLCs7uNGUv4uOual3oWP5R5r7zhIvSSQHPR6v 9Fh5Yyl9tRHxMXsdri7RnLOcvScpvKuiuzWb1nvRlDCZL7f3yaRlxj63lkw1iK//5RKhLjPXT5baJ 1E/vKGjTeRG5OmZoy/eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZonG-006ane-0y; Sat, 26 Aug 2023 08:37:18 +0000 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net ([167.179.156.38]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZonC-006an8-10 for linux-mtd@lists.infradead.org; Sat, 26 Aug 2023 08:37:16 +0000 Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qZomd-007ymm-Rh; Sat, 26 Aug 2023 16:36:40 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Sat, 26 Aug 2023 16:36:41 +0800 Date: Sat, 26 Aug 2023 16:36:41 +0800 From: Herbert Xu To: kernel test robot Cc: Linux Crypto Mailing List , Eric Biggers , "Theodore Y.Ts'o" , Jaegeuk Kim , linux-fscrypt@vger.kernel.org, Richard Weinberger , linux-mtd@lists.infradead.org, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, Ilya Dryomov , Xiubo Li , Jeff Layton , ceph-devel@vger.kernel.org, Steffen Klassert , "David S. Miller" , Johannes Berg , linux-wireless@vger.kernel.org, Matthieu Baerts , Mat Martineau , Chuck Lever , Neil Brown , linux-nfs@vger.kernel.org, Mimi Zohar , linux-inte@web.codeaurora.org, grity@vger.kernel.org, "Jason A.Donenfeld" , Ayush Sawal , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, David Howells , keyrings@vger.kernel.org Subject: [PATCH] KEYS: Include linux/errno.h in linux/verification.h Message-ID: References: <202308261414.HKw1Mrip-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202308261414.HKw1Mrip-lkp@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230826_013714_353509_FC45817A X-CRM114-Status: GOOD ( 10.19 ) X-Spam-Score: 4.3 (++++) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sat, Aug 26, 2023 at 02:58:48PM +0800, kernel test robot wrote: > > All errors (new ones prefixed by >>): > > In file included from fs/ubifs/auth.c:12: > >> include/linux/verification.h:23:11: erro [...] Content analysis details: (4.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 TVD_RCVD_IP Message was received from an IP address -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 3.9 HELO_DYNAMIC_IPADDR2 Relay HELO'd using suspicious hostname (IP addr 2) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org On Sat, Aug 26, 2023 at 02:58:48PM +0800, kernel test robot wrote: > > All errors (new ones prefixed by >>): > > In file included from fs/ubifs/auth.c:12: > >> include/linux/verification.h:23:11: error: use of undeclared identifier 'EINVAL' ---8<--- Add inclusion of linux/errno.h as otherwise the reference to EINVAL may be invalid. Fixes: f3cf4134c5c6 ("bpf: Add bpf_lookup_*_key() and bpf_key_put() kfuncs") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202308261414.HKw1Mrip-lkp@intel.com/ Signed-off-by: Herbert Xu diff --git a/include/linux/verification.h b/include/linux/verification.h index f34e50ebcf60..cb2d47f28091 100644 --- a/include/linux/verification.h +++ b/include/linux/verification.h @@ -8,6 +8,7 @@ #ifndef _LINUX_VERIFICATION_H #define _LINUX_VERIFICATION_H +#include #include /*