Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp537114pxb; Tue, 15 Feb 2022 21:15:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFkEa6x8GHwXy2tKD82OA8nt9jkk20pbKu/zq4OiWjfpjrDinAVDa6A7KhgJnNCPL2vKIA X-Received: by 2002:aa7:cb8b:0:b0:410:9aaf:2974 with SMTP id r11-20020aa7cb8b000000b004109aaf2974mr1116090edt.173.1644988524379; Tue, 15 Feb 2022 21:15:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644988524; cv=none; d=google.com; s=arc-20160816; b=elIDLC1CMYkGyW0XtSAx6Oci7LJL8UfJaao1jJCDw9itknCHir9UQhv6DRYpPc3+02 KlOaS3Khn07LmGMBEoQrPMQjJlkZ3Iuis94CaYChP660Y8TFamEB9S2UsYnkd6X9kV3j pYOWONKhJPJII6ZWOzOZuBytx5OHP4Zzs2mIAU7JN/N58Y3iVGvcYT6gnqneWce8uNJr t0rekYqsi81MEyVlVV7pF6EgYXQcHutmq+a2NPvs8+76xWhHydUaYYBdjTetKuQAlRg6 S4sJtjcRLYEV22Pcz2OySvCgU4F1MmA2xunWaoxkx+IdRQvqXD8zVyDUGN38uLoyW6de SvtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=zQs21yv2f+We8y2ER6IR8G/EJEy1JELXcGjZReUP8ME=; b=UmRCLM9OszmAgBrqRI1teajZK1MpmoEXKms7ldTdpMmmJ0URIsFo2Jht5Lzk0N+Ov4 8LwNDCdn2esqQ9MpwqCt23ClOZQz5M7ShLg2tbGAIlv0ch7BmZCaam4Bdw1nqQKhbE/9 bI7MyLMxuiyuUSiYZ2ryZA+9smD/tMVNaw9EDm4JZG4QbUH5vSY+l4GBznxF8WSMPcs4 zrq8W46gPJ5d6dy4rZZOVeQrSCVtrM9tctAWC1QpKc50T4aVfYVbeFUQ/cVNmulcNVGk 585ohnDXeqhyFmuV7eXl2mV+HaGRhD2fDW8S41sp+CxqyNqVjrwvdczJ2yEWld7OAw2r +lLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="UjT5GW/I"; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 13si22145961ejh.92.2022.02.15.21.15.01; Tue, 15 Feb 2022 21:15:24 -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; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="UjT5GW/I"; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239614AbiBOPrd (ORCPT + 99 others); Tue, 15 Feb 2022 10:47:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241238AbiBOPrQ (ORCPT ); Tue, 15 Feb 2022 10:47:16 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42882CC53B for ; Tue, 15 Feb 2022 07:46:09 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id d7so9315347ilf.8 for ; Tue, 15 Feb 2022 07:46:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zQs21yv2f+We8y2ER6IR8G/EJEy1JELXcGjZReUP8ME=; b=UjT5GW/IvoqiKyKL8/Wl5k3GSDeoRbZKenU7cV9xB29VZJr/+VmO7z3nPvExTJ6cb3 RYCsVfzRFtabEK+bcZGvIIJey/nm/15EfDpaXq8hFFeX91x+S8HmLkfsRdIzXahDn7IY qUm4N4kSN4imaKgCjD323SsyZiAU1WhgCWiD8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zQs21yv2f+We8y2ER6IR8G/EJEy1JELXcGjZReUP8ME=; b=egXHylE+yTCBJvJAgp7+eItLgfws4IPgoCJi8BESNuxVYh77zOWWf/JLMgSxhKoqrB ICfA7q9k6/bANeL0SEYPb2FsdIgLdK2+DFgzlwIhkmLfLpXateTXyZ4RnfLmA7Qw1ZS1 ZIP4mtI8qeOBy5wP6DqSIkTxw520igFZQv5r6j/wIcuuXEzvHHzmVcHo4OvlvxiFgzOp mVOtArZnbjE0KmJC4/ELHmdZS9VYiCCbt5UI0HPqf0W+2IQYQOn/0K/OlKS4qQNxIjKC mcaBl9qodpS5xK0IAxnNkWJ4NL/danPD+Whl1Xzu6TMIghJCzT+ejOgHHviy/KKORKQ4 RryQ== X-Gm-Message-State: AOAM532VoPtxRpEWMSfZV1fNh8dWEHpR/pUK+/YGWwEUMifSoxqBFju3 iQ17DmtwzXXVG83gEyv6Cb0Abw== X-Received: by 2002:a92:db0e:: with SMTP id b14mr2943259iln.153.1644939968545; Tue, 15 Feb 2022 07:46:08 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id 12sm13323337ilx.20.2022.02.15.07.46.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Feb 2022 07:46:08 -0800 (PST) Subject: Re: [PATCH v2 1/6] ima: Fix documentation-related warnings in ima_main.c To: Roberto Sassu , zohar@linux.ibm.com, shuah@kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kpsingh@kernel.org, revest@chromium.org Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20220215124042.186506-1-roberto.sassu@huawei.com> <20220215124042.186506-2-roberto.sassu@huawei.com> From: Shuah Khan Message-ID: <759a70de-a06b-592c-de4a-f7c74fbe4619@linuxfoundation.org> Date: Tue, 15 Feb 2022 08:46:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220215124042.186506-2-roberto.sassu@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 2/15/22 5:40 AM, Roberto Sassu wrote: > Fix some warnings in ima_main.c, displayed with W=n make argument. > Thank you for fixing these. Doc builds are full of them and few less is welcome. Adding the warns or summary of them to change log will be good. > Signed-off-by: Roberto Sassu > --- > security/integrity/ima/ima_main.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c > index 8c6e4514d494..946ba8a12eab 100644 > --- a/security/integrity/ima/ima_main.c > +++ b/security/integrity/ima/ima_main.c > @@ -418,6 +418,7 @@ int ima_file_mmap(struct file *file, unsigned long prot) > > /** > * ima_file_mprotect - based on policy, limit mprotect change > + * @vma: vm_area_struct protection is set to > * @prot: contains the protection that will be applied by the kernel. > * Reviewed-by: Shuah Khan thanks, -- Shuah