Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp332496rdb; Sun, 14 Jan 2024 20:37:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSyIEIfctzlpfCWBLcw/6qCDjCkUfsbPMT4VoUguNSiRwff1D8MO226tav83Vx9ZwaFeV1 X-Received: by 2002:a17:906:4719:b0:a2d:9510:2c with SMTP id y25-20020a170906471900b00a2d9510002cmr340664ejq.260.1705293476376; Sun, 14 Jan 2024 20:37:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705293476; cv=none; d=google.com; s=arc-20160816; b=sTka5exeevboK9piJkZsCE1YXAI508uLxWM7CH+iPbVZyHbvjgFfPf7Y21MUxUemg6 /yYv4BFNb25rmQX+EJGouHnFJEqEPjpz5S97BGBfGqgaKjhexYzD9pSeZPl49+mwZw+w FddXE37AICSejzQlY3ZEPkEtCz55UZFaSwlcFHbR0n8hDvaapgBSPslzwsJBWaFgoBC9 RYIyjDF1bCQEz5Hzq7kSnfv95fBesdNRm28mjTz+ucvEaIdNIHMlHOfa4bHdUwfSfS9E ixBnn9oiBNQEnULaJUCg2lyw7ysVmy3mu2P2Hna75mLwvBFzCYWht2ChVyHX6vtzM7pz V1aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=6XW9jqaIh1AQzD94ZZd4+VKcTSdu8kLFek2bVy3e7es=; fh=OXOB6HhMloOZQVxOTMJlxoppWajGnWfnrOMuR/iQC+4=; b=nrPPKaXMwzhaUwfzLZ072q/jFc05bZX8W09grCU6nqamV+LZ1tNJo0FnDeLpPcp/gS 3j2tl0NJ4F6wiiTm0CGZepAklCC2l0NWTTwTsu0sPLJk9qQsHLIodN2Dni90fhjrtlMu 4PLOV/gXR82eqrhfz6nXBA+5wUl3dYXBJ+A9zdaws6yI2n60d90aCVNGYCqklaTSkSZC akOZTz60OywHvwR7hmu6iAPgE9Wkz1NIZRlmS4nRq10pOt0nOqkispQ/QriVwxgI9vBB iPC+X7ChHL6jbBKTMaSIhqC8hV85UR2Uj1DF6Qu+vHuE6n9QLg+Kh89tXrJOLGNkKHZb Korw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=X7lgAjgo; spf=pass (google.com: domain of linux-kernel+bounces-25616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25616-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x10-20020a170906658a00b00a2b118332dcsi3364575ejn.925.2024.01.14.20.37.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 20:37:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=X7lgAjgo; spf=pass (google.com: domain of linux-kernel+bounces-25616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25616-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 069FE1F213C8 for ; Mon, 15 Jan 2024 04:37:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0833429A8; Mon, 15 Jan 2024 04:37:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="X7lgAjgo" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B295223A2; Mon, 15 Jan 2024 04:37:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=6XW9jqaIh1AQzD94ZZd4+VKcTSdu8kLFek2bVy3e7es=; b=X7lgAjgo2UkCI6NdpJtV3OUDpW 2PKdoPGhk8T9JjakgBG17xMArruV5r5ilz+KhQCSj0MGSz8QVFjAMrdbjF67W6pyKYyBXFnrGxjS0 9ecOLWG6PSod9bz8a13Lcz83W9OgMysBmflYpfmCRcfmN0xR/xYKYfqjnAjZLNuRlGVWUUzWdYm7c yLv4iCE6GFS1xUszSgcslfeM+hYXnTKpCVQaU3xTF+Uqocn0wdwfCr10L8SYnBOygPnKGJSYLrH5+ qihKvCmehPE3yieaTexIbNAg9LputiJkcMMgvRQ+Xisa/1hmItUXmp3JCcmzh0ARyeH2/THCjzHed TTg/HB/w==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rPEjA-007ktb-05; Mon, 15 Jan 2024 04:37:36 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , John Johansen , John Johansen , apparmor@lists.ubuntu.com, Paul Moore , James Morris , "Serge E. Hallyn" , linux-security-module@vger.kernel.org Subject: [PATCH] apparmor: lsm: fix kernel-doc typo Date: Sun, 14 Jan 2024 20:37:35 -0800 Message-ID: <20240115043735.7751-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Correct a kernel-doc function parameter name to resolve two kernel-doc warnings: lsm.c:1136: warning: Function parameter or struct member 'protocol' not described in 'apparmor_socket_post_create' lsm.c:1136: warning: Excess function parameter 'ptotocol' description in 'apparmor_socket_post_create' Signed-off-by: Randy Dunlap Cc: John Johansen Cc: John Johansen Cc: apparmor@lists.ubuntu.com Cc: Paul Moore Cc: James Morris Cc: "Serge E. Hallyn" Cc: linux-security-module@vger.kernel.org --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/security/apparmor/lsm.c b/security/apparmor/lsm.c --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -1122,7 +1122,7 @@ static int apparmor_socket_create(int fa * @sock: socket that is being setup * @family: family of socket being created * @type: type of the socket - * @ptotocol: protocol of the socket + * @protocol: protocol of the socket * @kern: socket is a special kernel socket * * Note: