Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp897725pxb; Thu, 31 Mar 2022 22:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymm2p+fId6dvayrOko23frFwiKDf7A5p/Pi2qCSJ0pdE/M3AHSySZjFRRR1Pv/aNda9O70 X-Received: by 2002:a05:6a00:2484:b0:4fa:997e:3290 with SMTP id c4-20020a056a00248400b004fa997e3290mr8947938pfv.37.1648789505784; Thu, 31 Mar 2022 22:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648789505; cv=none; d=google.com; s=arc-20160816; b=arG9ee5PXvd2kxWsh+H5rLkvZ6julwBWWrnAMqbWejOX0NoNZkMJ4zXh+MBLbdVQs8 faaujEwPzzxYg9WSSJvtR8h35NYAebnTA4dU4LJbUJjLT0Gl9IMLlZph3g1HukmWGlat Z9ayBNMYApqpNjMq7Oxh67uxIyBZ6h5hYXFha/7nVwnSJwSZMbPBdDc9JRhPTaKvntyM N2cnzt8bS5Dftc8HoTgIcjq+Fo9y+sjG2m4Ku3l6+VWLLFglIKHJgMwmsnqhgkxZZMlu GskmirwzLjjwi1dOYYa8X7uRXR2XpFM0M4PxmuirEzWYoRjT24pShpB5jdOukLBNJv6A kq8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HyGHrtWUT2Fics+gVqtcmwsLpUDfu48pACTmB8yx1t8=; b=F8+17YcSNkw/vZ0sq3vau0f25Lg+PWo5EEf+eLBYks0lv0uFOaPqmMOwCcHiMiwe3n 0ffsWnhkOoEqWkjVO+L0cftQyILal/DLOmv8ufWWq0XJPfQM4pr33VlWzUQW+gaTh5fv Ep4tGEdhi69D4/IbhMWndL676wUKzazNAvu9GvuRrSEgvQMV4ZAqIiCF5/Q57aap7iD0 VEZRkZDY4QHGOPSVH8YJsSDVc9CjXSiyAh7j5rG8hHcJCEbVLFi8h5CCEslk6OuI/xMf 9WYAx0OXFy7IQsQrowiFTaU63qKeDvFWGtn6/byHRKrUvlEBrDN2gmxYQDA1/gJkdUFn GWdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Y+2Qeep8; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a17090a5e4200b001c6739ec79asi1465829pji.160.2022.03.31.22.04.36; Thu, 31 Mar 2022 22:05:05 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20210112 header.b=Y+2Qeep8; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231962AbiCaRmm (ORCPT + 99 others); Thu, 31 Mar 2022 13:42:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbiCaRml (ORCPT ); Thu, 31 Mar 2022 13:42:41 -0400 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ED2B17A594 for ; Thu, 31 Mar 2022 10:40:54 -0700 (PDT) Received: by mail-il1-x12e.google.com with SMTP id x9so309803ilc.3 for ; Thu, 31 Mar 2022 10:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HyGHrtWUT2Fics+gVqtcmwsLpUDfu48pACTmB8yx1t8=; b=Y+2Qeep8CJL31pD+UDsvHcRdkZq5dTqoTzcYBK/kU0l2pOVe0yIkOd0zkAOBmIEdvz YsJDI6i9EMPHBuTRI8FxIs33CMn1p4HJHc0riKdHCx0KhRn/Dwqd337YJuEvy4MALqHB Ca/LQgSe0wG6FkliXJ/fPDP0ynsKazQSGW4pWz3lL6PAJkBPqlwd4R98p/OuUDgyOA3i 0JzMPlXl0496qMdpSHUf+OxEWLq71TrhzYsj4XWo0778uS4oVQ6vNDTwS60QoeqIItix FvH9x1fef/D5QK+6isICwKQLRIkNMiN3zqmz5Ih3LHTG141PCMmQx1IOeWyNJ1kGDAvs 6GmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HyGHrtWUT2Fics+gVqtcmwsLpUDfu48pACTmB8yx1t8=; b=IpGuiSiYWtSQp0bO3ptj3T8LzMBYdMTbTaAqgWqj4AsfwUNwSSXVQCiHA77PcwmNAZ A4k2m7ePC+sDPygNFChqLElwDBtQPgMtgc23qTKPLN0L61zZhAVY9B1igSWXA5aPqb+J KeRIB0Dif7joOUMd3z6j/IBAew+LyQr2M1dxneF4Xd/0ewQbpGM0IUnL23PkkRudskmP Qiy2bexRHWaLqIRrscTClOn0CgNZ83CE/6de7e6WbiAAs0qsiJ315RJz2XfvYC9tlE2P C5GTmvvwcDYgIvGwNM4LA6nW5+A85exO7VxuzbWM6tAbpzXLoST72sUfNqfKSDr4C8y2 G9/g== X-Gm-Message-State: AOAM531VtuqQ0B/+8PdvOx+CMjXPswn9aOlQpJdn2DSybeRyHrHx6kUS LiKpyvMnVSCiiy1BsGATN3++x6uMZdc2ksIdzRGE7A== X-Received: by 2002:a05:6e02:20c6:b0:2c9:d552:20de with SMTP id 6-20020a056e0220c600b002c9d55220demr6870949ilq.137.1648748453774; Thu, 31 Mar 2022 10:40:53 -0700 (PDT) MIME-Version: 1.0 References: <202204010033.oeIla4qb-lkp@intel.com> In-Reply-To: From: Axel Rasmussen Date: Thu, 31 Mar 2022 10:40:18 -0700 Message-ID: Subject: Re: [RFC PATCH linux-next] mm/secretmem: secretmem_iops can be static To: kernel test robot Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 Thanks kernel test robot, it should indeed be static. I'll send a v2 with this fix. On Thu, Mar 31, 2022 at 9:55 AM kernel test robot wrote: > > mm/secretmem.c:173:31: warning: symbol 'secretmem_iops' was not declared. Should it be static? > > Fixes: 24209f2f4d62 ("mm/secretmem: fix panic when growing a memfd_secret") > Reported-by: kernel test robot > Signed-off-by: kernel test robot > --- > mm/secretmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/secretmem.c b/mm/secretmem.c > index a83e98aa3a7b3..ddf45c0435be7 100644 > --- a/mm/secretmem.c > +++ b/mm/secretmem.c > @@ -170,7 +170,7 @@ static int secretmem_setattr(struct user_namespace *mnt_userns, > return simple_setattr(mnt_userns, dentry, iattr); > } > > -const struct inode_operations secretmem_iops = { > +static const struct inode_operations secretmem_iops = { > .setattr = secretmem_setattr, > }; >