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: 13366545 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 6806CC83F1A for ; Sat, 26 Aug 2023 08:38:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231343AbjHZIiR (ORCPT ); Sat, 26 Aug 2023 04:38:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231818AbjHZIiC (ORCPT ); Sat, 26 Aug 2023 04:38:02 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C53A4213A; Sat, 26 Aug 2023 01:37:56 -0700 (PDT) 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> Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.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 /*