Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1080131lqh; Sun, 5 May 2024 15:39:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbFeTzeaEdTPcJG6bBcK7fXwCpvs2mhU0kRjKjdzFmtC5WoLoMTF8NCNrtSWt58YwezFJrlOX+//sTGaWhErM7WnjftwxerZnympOwWQ== X-Google-Smtp-Source: AGHT+IFBJ2R03AS9licO4SsG7qidHnyIn0q5NxteZA3YLUuNexlpAuyKpB7ap1zNhP55DJrdNfEh X-Received: by 2002:a05:6902:2211:b0:de0:f811:be41 with SMTP id dm17-20020a056902221100b00de0f811be41mr10509536ybb.14.1714948784102; Sun, 05 May 2024 15:39:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714948784; cv=pass; d=google.com; s=arc-20160816; b=JE3vJ+IJfw2vjhBI9rqGLgO5/ntDI20TZq7NWKvBYZXJ5XQwqFHM3U2NPIhZ025/NB MY17punNWebJ07IsLOgzJj90bhuzRX78dnMXyO8ZSMGsHzz4p/FnnKsTy/2CnPr/yaGL Kga/xdweuiHU9czSXdwShPqhF6gDNI+2HFfFQLnplMeAuU9CVEWtPIroUlIcrExGTWHC 7hSHUIhtZOPTnIXrg2D3CgnscoKLRc3hcjLcnzS8ENKW47JDAp7xBnk6cxGHPISbPtkp MF25DSCwEJP1Oe1A/6dZ/iPm7476Yn1gqLXE+5dr+5nMto8Gj5qiXjvlgHchpvUv7wqb qSCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=pN4SsWcLrBu42o1mEuYtcoxgTa4sqbLDWl+4lNo8NLY=; fh=YoIgZXi3bQwKb+nnweA4wic/XCHPztVxL8JVBQH2Bxk=; b=0qZxLSGYiNVS40l+YcxsObv+KzoB9Q7q9euFqEa4LR2lv6rNyHqWr/RBvZekESt9jp iP0KQ+bkOaYzZuUlB132imRoypgQNBcAGI8GmJpJ73scNHUhIO3kQlvG0e2iB+ztLi10 JkoLYGup6C0frQ4Bd+MLxLCkx8ZUrBkXKbzjS6rq582qF80zKrML6YvDT6o/R2DrNyeZ H1cSm0adAGrVqaRevzfckC9cwwMjT9dMyYQHFuoFP+sC9+aHWDU/VcwJM9HTIx3Js83t GBBZh+T3tjAr+9O1Ne06/ztODaBSqxJc6kyvmXYx988jqduLOHeZnNN/9IGbX1BYznCd zR/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QtS1v1Me; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-169187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k17-20020a05622a03d100b0043aee30696csi8322070qtx.404.2024.05.05.15.39.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 15:39:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QtS1v1Me; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-169187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B7A6B1C20A7B for ; Sun, 5 May 2024 22:39:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B67A213FD96; Sun, 5 May 2024 22:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="QtS1v1Me" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 36E2D63A5; Sun, 5 May 2024 22:39:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714948775; cv=none; b=PBe+YDDduHVVGYD20B25aZoz6IudZ3dGpYMtMdXcLojGogZFDE4beWALPdup3UY/hzRN5gT069KDY8hkGmGFj5/fH18maTaYwPHSKDK0a9jGLlrJZL3CgUyISDnOmSvNredI6rn+0DscGpslZ2YwRQ6Xt4B4rRlLZHV4jo3OY3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714948775; c=relaxed/simple; bh=msCXC6FXGfqOt4+YBWsjlLnrZNao9NIJfJB292l8HCM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=MCJL9ygHTrv9S8yGdU0uD/a6u8iTmloQAvdHhCob9HCGEKbbewQFoKKwyBHA+brqoC13pcpKOHmfe/ywDPaCrE2VeUBxTxGY3fAeNMsWGTUqQw4BCPhd0lpPdYEBz4V+TtlDR5otN3+0iiJamt2WJG7Ej0GQj0sI71zLOCiWyow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=QtS1v1Me; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 445MTQZW018412; Sun, 5 May 2024 22:39:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:to:cc; s=qcppdkim1; bh=pN4 SsWcLrBu42o1mEuYtcoxgTa4sqbLDWl+4lNo8NLY=; b=QtS1v1Meie3ys0H7NEN paYgHgtnTXjzx2l7vGDUvy1EPG152OwVPOdxX3NKC13W+MemMLNlSzL4/VPLLiOt wSoM65iw3wHAF6lReiwAdL30NfSqJ+bG49cCzW670YBdi6f3o7tgkUibqzARU8o7 5Dzx7T2VwUovafNQ2IRqIHGypQUsUqH/BkKt32H0W+6jv+usJjVLk1kV96mbKx6x FcRXJCUm2rluZclrZvNIvOggQd0ryDZcSOXDKSpN1yYPU7HtNk61Mcw9ogseeTJl KkEvf8Wtl7DB/n58mIC7i8U2moob85+kI3/HccU1y+e0xMuDCjy6OznFrFqrlidI hDw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xwcbpj8rt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 05 May 2024 22:39:20 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 445MdJne011415 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 5 May 2024 22:39:19 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sun, 5 May 2024 15:39:18 -0700 From: Jeff Johnson Date: Sun, 5 May 2024 15:39:17 -0700 Subject: [PATCH] apparmor: fix apparmor_socket_post_create() kernel-doc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240505-apparmor_socket_post_create-kdoc-v1-1-1fd88e546e92@quicinc.com> X-B4-Tracking: v=1; b=H4sIAJQKOGYC/x3NQQrCMBBA0auUWRuIxRD1KiJhOhltKE3CTChC6 d2NLt/m/x2UJbHCfdhBeEuaSu44nwagGfObTYrdMNrxYp11BmtFWYsELbRwC7VoCySMjc0SC5n rzZPH6KK1HnqmCr/S5794PLsnVDaTYKb5F15RGwscxxfbsfYCiwAAAA== To: John Johansen , Paul Moore , James Morris , "Serge E. Hallyn" CC: , , , Jeff Johnson X-Mailer: b4 0.13.0 X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: aK6l2xpoyo5uGV8PABLUO-CrPkQcv4cv X-Proofpoint-GUID: aK6l2xpoyo5uGV8PABLUO-CrPkQcv4cv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-05_14,2024-05-03_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 adultscore=0 impostorscore=0 mlxscore=0 suspectscore=0 phishscore=0 priorityscore=1501 clxscore=1011 spamscore=0 mlxlogscore=903 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405050093 make C=1 reports: security/apparmor/lsm.c:1138: warning: Function parameter or struct member 'protocol' not described in 'apparmor_socket_post_create' Fix this by correcting the misspelling of 'protocol'. Signed-off-by: Jeff Johnson --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index cef8c466af80..d0485fb0ed63 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -1124,7 +1124,7 @@ static int apparmor_socket_create(int family, int type, int protocol, int kern) * @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: --- base-commit: 2c4d8e19cf060744a9db466ffbaea13ab37f25ca change-id: 20240505-apparmor_socket_post_create-kdoc-897c7ad5d007