Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp188688pxb; Wed, 3 Nov 2021 02:26:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8JI3LRARlTCxxav43LVKgyk8N/si9Svq9mtmtnK1uG1M9wJ/n2gWMObnpVTVAeYXKjqvq X-Received: by 2002:a05:6e02:52d:: with SMTP id h13mr16318146ils.274.1635931608918; Wed, 03 Nov 2021 02:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635931608; cv=none; d=google.com; s=arc-20160816; b=eBKDaUTk2TOYflLUyMR+61UFcNYKegd+2HZRN+pOF9EcWqTPVA4wFXREklPKzjegPl xY7GVa6rd6KPxpUxeRL6xalOV5+6VdzRDEf0VRkyF1iKYcs4U2DZPrMHkn8tFYG5npl4 2eKYfstMMgWjY8ZINhKTgbyr00jKPopPgxnVRHu2VIoq38uSYTz7L2co85rOV3li+H9M e78gfdRowIzGikOjNEQP1PJWlVP9n7L3GObl6cvaxyDzV+YWzUbxuXgCx0IlE7N2axDp OPRM2/dF/oQsP8go4NkxINLjah1s6nTm4t3Ihn3N0Pdyt2aYvjtasf8WMtOzdFauq/2y wCmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=g4AX39dCBvYQienKQDyxN0jAYne+Ve3lwZzCPu1W3gU=; b=RvLdmaS+5cSVyFpvO6m4JfXKbprCkT09sFAjbYBVzNhhkrrmPET2PuuL22fkf6TUYB 2i7PT0IC6ItCa9m9eZIIQKQYFSYcqZwwwAkfQBxumojetWbE8iQJ0xIRKI927f9Gsb5E fmG+cyfuzXKJ4tFHle6NMvh6lYysMxULI7mK5YGmaLBN7SLhtcB/zrz6mG563lXniffU rIyMuITcDyORDLTW8MoVYHZATvXNnaytE4CdvfxzUNHStXKP9NejmwtI7HrRXlZftr6I TW6i/1TXCQcPynhtsLuTWyaAcOhqOY/NyR9fa7uKWzXmE558bi/JmXko/kYDgsjOZzL1 +E9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PH53maJ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z1si3292103ioq.24.2021.11.03.02.26.35; Wed, 03 Nov 2021 02:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PH53maJ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231721AbhKCJ2N (ORCPT + 99 others); Wed, 3 Nov 2021 05:28:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbhKCJ2M (ORCPT ); Wed, 3 Nov 2021 05:28:12 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95636C061714; Wed, 3 Nov 2021 02:25:36 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id x1-20020a17090a530100b001a1efa4ebe6so1332996pjh.0; Wed, 03 Nov 2021 02:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=g4AX39dCBvYQienKQDyxN0jAYne+Ve3lwZzCPu1W3gU=; b=PH53maJ5OzwSihtLJU7h5t4zhY047RlVK/GmR4RjwFn/p3FMRFVJohtvBP26G7B2Gq +xEXvuXZYBWIcuDKedvJ3oNuoqsetU8hYb6iP5D7AEIokjuOUICVxE3dNh8zt3C/fDb5 NdQm0EFW/GeMzm8K+6oc+H9W5ZmDECBYXcjCnpgAs3WpslyjRrT0qhwPo0loCZkBQ7pj 9DphuE8vYrbud0axLOd7LMjAsL5O9qDMeV6QGc8yBRzaK2bL8ebssE7cwhhtF54qGJE6 NnbLBCarDh3ZOUU6JsFSquXyVATFJ73fu0HrJ42xOrM58ku6ZeG0vNtZhbaAU0jPTFa0 etxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=g4AX39dCBvYQienKQDyxN0jAYne+Ve3lwZzCPu1W3gU=; b=IdeA4EfdG4TzLkHuh+VKeyfaFGe3wHfmUSbv3JtZ/DPICA5/be3iErTKTpNqSWPPx+ Au4HOgz78LKDjIiOxUfu/X68JJvxggvIyngVRWY8LlncUpQMcIFHJNBqqY1ofwPK+fqh b0O+PO2gIvBbkd7l+ViZ5zmMKA8eCdru6RHzoi0dFiPOUqEgycZhgcCeLsaiwIaS7Zh5 7j+hPWMS8eLlFz0IBR/hVG6X5hojNgLgLmvyc5J31x1LhniBeBAieRsusY9tOgGId8jy M1Rg78tlivwyjXz+KGEuvp29+Mu0h9vRwL8f4QgtphMO5EwkVlbRja7lBTjfVu0vLmoz iolg== X-Gm-Message-State: AOAM532TZ1Yifewv1mKm+jy6cKZuKdAQnC2DzyoghVreVWxKPJ1bzdta kc+bNph53LUafcIsfWyl7iSjfqpXGzNv8g== X-Received: by 2002:a17:902:e548:b0:141:f4ae:d2bd with SMTP id n8-20020a170902e54800b00141f4aed2bdmr15976636plf.41.1635931536157; Wed, 03 Nov 2021 02:25:36 -0700 (PDT) Received: from raspberrypi ([49.166.114.232]) by smtp.gmail.com with ESMTPSA id l1sm1416738pgn.27.2021.11.03.02.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 02:25:35 -0700 (PDT) Date: Wed, 3 Nov 2021 09:25:31 +0000 From: Austin Kim To: john.johansen@canonical.com, serge@hallyn.com Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, austindh.kim@gmail.com Subject: [PATCH] apparmor: remove duplicated 'Returns:' comments Message-ID: <20211103092531.GA25721@raspberrypi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It might look better if duplicated 'Returns:' comment is removed. Signed-off-by: Austin Kim --- security/apparmor/procattr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c index c929bf4a3df1..fde332e0ea7d 100644 --- a/security/apparmor/procattr.c +++ b/security/apparmor/procattr.c @@ -21,8 +21,6 @@ * @profile: the profile to print profile info about (NOT NULL) * @string: Returns - string containing the profile info (NOT NULL) * - * Returns: length of @string on success else error on failure - * * Requires: profile != NULL * * Creates a string containing the namespace_name://profile_name for -- 2.20.1