Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2028600rwb; Thu, 19 Jan 2023 19:46:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBxtWPvaaoyp2O7ZprblTQt94XJTM+4Iq41D4OkaQ00ntMcJTfuK084Cn2ZEDd1+qpbU0y X-Received: by 2002:a17:907:2395:b0:871:629:227c with SMTP id vf21-20020a170907239500b008710629227cmr11919214ejb.66.1674186361122; Thu, 19 Jan 2023 19:46:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674186361; cv=none; d=google.com; s=arc-20160816; b=fzJvynIHHjRPIGsiyLEQCb92/qeDjBIdAIgEQmthxGPm0FPDQQwnTrQMeCxJ66rQGI +l7TL4M1EEIq5+X3UJJK5i8WZTWhQq1YKmtNwgqhks6qDe5t8be+OellsG5wqoE0ea6Y BQxjBVm2iA8O0HKIsksVW96uKNBFSbuo316vy1HAYy4DrYtehZuuxSmABRgLW5AuMdfa JxEjzfIPu7ZYF43o2EbsChyp9w9qgnl0biyAuS1+fzjdneFjgslBd6OX9LkkF8GfOUeq D5Pk89JxxO60LEzvkheiXDyJ6pMSsbGXa25BU1NvNfzLLdQ2zKeHkbJFMe9sGiWvtrF4 +hlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=s2/u49MGkiTdhDi/wUNzsd0MzL5LPWw1jXjelpgTNjQ=; b=dYgCUDZk6zXIcBR1D2tDWxWiFEptOwHFihtdEkDu0rFg5nHjLji/nYKoWB3mNEO4FX PpGoQkm/y+CbtR6u6QfpauWTiE9PqsCS3dpGD8OXVJuzpJVl9j692taIWbKrE/5jOAUw gWAHmurumYdJIajm/4SYXRm4kTLW24I8ql8s6WAInOOgH5ntvT+df2KsMiDJbp0hFCKL lSsk3u9gKYnOLDcrj0i2/kacRlb/aCV48G4XLDrnpxv04ogg5oIu+u2IMkbKX3+jnyF/ kpBK/IWAd3dtlBaGr40FzetolDqx+bw0BstG0UJ6obXPCfyzJNmBGJFmA5j6BP2WXtTZ OdkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb5-20020a1709070a0500b008621404f1d6si18964400ejc.892.2023.01.19.19.45.48; Thu, 19 Jan 2023 19:46:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229847AbjATDj1 (ORCPT + 46 others); Thu, 19 Jan 2023 22:39:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjATDj0 (ORCPT ); Thu, 19 Jan 2023 22:39:26 -0500 Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE25EA2597; Thu, 19 Jan 2023 19:39:24 -0800 (PST) Received: by mail-qv1-f51.google.com with SMTP id t7so3021221qvv.3; Thu, 19 Jan 2023 19:39:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s2/u49MGkiTdhDi/wUNzsd0MzL5LPWw1jXjelpgTNjQ=; b=LqWpHgtRjt1PgS+l1vW3ehG2VBjAVE2gZb12OBPSyQ/TgGD+TLc01r06TLQ7D4e+lF MdRHsP+X3iB3C9PT+9NxRiQntVwsRdLH98DdxHmeCqub5iSDfOq82BhqtYwEnG4NGssh YqEbsD2/1wpoGueP5AKnDPIf5z3hdUKMavhzSXRDwntrmTTayxLvmrI/M1Tf8Jpmmdm0 IyVKbxhDoT1KhbnUBoHOoBDFKHiUrXe83h8p07DbAxUaF5cl2GEElBkq1Hp0ePgqQhsp qLCNlUZhz+g74uiAiUIxcMsNq/F2a0zUyGUSVipEU6ExvcwpL/hMTEwKnyG/xJsQqalb ct1A== X-Gm-Message-State: AFqh2kqdFZJuqR3B82ye79DRUV9u5kciMZwmtaImL1XVB2PpNz0kCvoy Sujc8noYS2xr2YFNaTpu8jY= X-Received: by 2002:a05:6214:5d8d:b0:531:e636:e236 with SMTP id mf13-20020a0562145d8d00b00531e636e236mr18587890qvb.28.1674185963926; Thu, 19 Jan 2023 19:39:23 -0800 (PST) Received: from maniforge.lan ([2620:10d:c091:480::1:2fc9]) by smtp.gmail.com with ESMTPSA id s1-20020a05620a0bc100b006fa4ac86bfbsm25132205qki.55.2023.01.19.19.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 19:39:23 -0800 (PST) Date: Thu, 19 Jan 2023 21:39:27 -0600 From: David Vernet To: kernel test robot Cc: bpf@vger.kernel.org, oe-kbuild-all@lists.linux.dev, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@meta.com, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, tj@kernel.org Subject: Re: [PATCH bpf-next 4/8] bpf: Enable cpumasks to be queried and used as kptrs Message-ID: References: <20230119235833.2948341-5-void@manifault.com> <202301201053.OKCBdOsh-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202301201053.OKCBdOsh-lkp@intel.com> User-Agent: Mutt/2.2.9 (2022-11-12) X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 20, 2023 at 10:36:24AM +0800, kernel test robot wrote: > Hi David, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on bpf-next/master] > > url: https://github.com/intel-lab-lkp/linux/commits/David-Vernet/bpf-Enable-annotating-trusted-nested-pointers/20230120-080139 > base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master > patch link: https://lore.kernel.org/r/20230119235833.2948341-5-void%40manifault.com > patch subject: [PATCH bpf-next 4/8] bpf: Enable cpumasks to be queried and used as kptrs > config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230120/202301201053.OKCBdOsh-lkp@intel.com/config) > compiler: sparc64-linux-gcc (GCC) 12.1.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/11541205c58f2226e5ffbc5967317469d65efac6 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review David-Vernet/bpf-Enable-annotating-trusted-nested-pointers/20230120-080139 > git checkout 11541205c58f2226e5ffbc5967317469d65efac6 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash kernel/bpf/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> kernel/bpf/cpumask.c:38:21: warning: no previous prototype for 'bpf_cpumask_create' [-Wmissing-prototypes] > 38 | struct bpf_cpumask *bpf_cpumask_create(void) Sorry, also forgot to do the __diag() dance described in [0]. I'll include that fix in v2. [0]: https://docs.kernel.org/bpf/kfuncs.html#creating-a-wrapper-kfunc This is also reminding me to send out the v2 for [1]. I'll do that after I take care of another few small things I've been putting off. [1]: https://lore.kernel.org/lkml/20230106195130.1216841-3-void@manifault.com/T/ Thanks, David