From patchwork Tue Sep 24 06:22:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiaoliang X-Patchwork-Id: 13810171 X-Patchwork-Delegate: kuba@kernel.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2089.outbound.protection.outlook.com [40.107.215.89]) (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 702C3537F8; Tue, 24 Sep 2024 06:22:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.215.89 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727158948; cv=fail; b=WmNjY1JhnCoRo0wbFRQsKLGpoOWg31ZkDXiO3vINcDN0ebyy1vdAIPoxjuQcW0aeU8VmDhVcNso3bHRyYt50wCuOw/1xbtgF0ypi0NwUCXOenBD9C4XUcYq+fRsQ6k/bQlzOP/0WgjI//TmFDNvK+depiWD8Mh8VWQ0QK4dlU3Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727158948; c=relaxed/simple; bh=1BkeEFnv6E7Gjrm9zjj69Mq7S74VX78WkUtD/vQ6ECU=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=QlAtip2tJ+Qk/ayiw7UPWrCrwqJM9Z8h3gDaExQAouVzusExCrOYIWOMAE+Z/5oXXy7eCwY1cUQwcfBbEU1Gs24xYjfS7WYAZ/oTCE5E/x9R/J0A6OE05Z2wDlEeE2+uIXfv5J2owcaBw7JBDrArw2FGf/FYAg79/w/JFydtUjY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com; spf=pass smtp.mailfrom=vivo.com; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b=epN1+ABl; arc=fail smtp.client-ip=40.107.215.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=vivo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vivo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=vivo.com header.i=@vivo.com header.b="epN1+ABl" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v+FJemM/Yb9BuYVuiLHcoWwN/rhya+AZSznUD38z6Mw/SYnx/c9OxE8xXR9s/zoIfoeJsKDscRLMMZgz7pAlFVn0yEF33xvwOk9sjihzc26D5t/3DdaKI8Kh+IvsjEp/6KmcuhNZXVlTondpGWYHfB9Gvem8oSQfXW+W1wgXiVAzXj6MsPSTWrXIM2KMRfoLiF/5wcW9yotyYQY6HvxXxJLimQbmnJWSeM4C4vHW7QL13zNImrF3m9HR80e1omI00HZsgGRLyJg5TzdrCzlej3WeIEsbQ/qk+Qs7PF48kEnmdSbvDUj4KRgRDB9h3P7OUrGJPQvSOJlqr6fETP9+mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=V8KV/k3N/+3bpBPMsYr5+S/50b1GDiRLisJpdvZoBKM=; b=xgRCy4JX83tZ5je47LksnlcBTwoawrdrAHzhK+vLgleKmQrDnzW9dSfaaynrPgpeWJeb7vTjINVQA2Wlp+Lqx2Zz6Saq84uluraFzCgHHmcrdhBlBa+O74km9BhZ0X8l8WLLwRhIA9ELM5d0VbawDEcA/Uj3W87DfVT0VMrVY+VRpb+2wajebgFkJ+5xaqzJQAeSRbwTSzZGZIhq4RcUsweai7YwCedqUCdpsSy/6jejpkaggfOHRxVxFMH5czQro2VOmH4iUoQDh8ZOgPcnApNWejABTQo5HQOm7O35N9RXgUzsHA2c6wYm6iqNLai6r1hLtok8hSeJ3egY4FBjhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V8KV/k3N/+3bpBPMsYr5+S/50b1GDiRLisJpdvZoBKM=; b=epN1+ABlNdL5T9OwBr1CK+6HP+JmlpdrsZFmPqZ7MP5gds7FmO9ltGZ9+ZkAki+8AFfgaerbrgYa4HPZuED5X7E5/uFWt7qlQTgqXPITdKUjmmQTmmz4irRLPjecKip4t1lb/Nc/b4DfKcFwJmFNjFxlcx1VE1kUb1cAnWSYTBG46QjVuqPZIhrc7MsnLt7sDDg8XNoqoTq7I7zNb6CUkOuV7Hx7RFRNUvzp9j7ajBCUYL1gr0WT5oHfMW3FvpY1XI2XHB9uhlFKcQYtl+MRq9oAmXWfi0jNKrFqB4u+CFywCg9l2HE7pLcW3mlzvzRLcIDcmcJXrhewiA7tEOIaUg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) by SEYPR06MB6982.apcprd06.prod.outlook.com (2603:1096:101:1e2::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.25; Tue, 24 Sep 2024 06:22:17 +0000 Received: from TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70]) by TYZPR06MB4461.apcprd06.prod.outlook.com ([fe80::9c62:d1f5:ede3:1b70%5]) with mapi id 15.20.7982.022; Tue, 24 Sep 2024 06:22:17 +0000 From: Yu Jiaoliang To: Marcelo Ricardo Leitner , Xin Long , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: opensource.kernel@vivo.com Subject: [PATCH v1 net-next] sctp: Fix typos in comments across various files Date: Tue, 24 Sep 2024 14:22:03 +0800 Message-Id: <20240924062203.3127621-1-yujiaoliang@vivo.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: TYCP286CA0157.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:383::12) To TYZPR06MB4461.apcprd06.prod.outlook.com (2603:1096:400:82::8) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB4461:EE_|SEYPR06MB6982:EE_ X-MS-Office365-Filtering-Correlation-Id: f0b3a18d-440f-4ec9-4b3f-08dcdc613cc9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: chIZQL7uA/rj1zw+bNoUNVEH514nP6mkBSeS/Tzx984kBTqsNVpjx6IbKcGO58A1IYnaJcMbaPsyb9Ie4YBVAQWp2UgYVneL6Wjveh+q3G13dIGUkf36zog9FGuLo1qUocdW3w55t+4A4maTLIC3LiS+Sdd95NC2mGgIewviLWwyt0if+OKDEjdyYe0WRJc2qROxaq8yKGtSS5yXHz9z5ingzbAxFOYDP8v7SEVdcdvyAHYkPj9MZXuFmPbqH9vbpLxBStGsZnuNS2tFSaeMsWmBW2aMtDTHVQZHXvUUj90G476n36Y+MWoKG2nNGXtkaKr2snYbdanFMqpxWsC+0VRUvdNWNwFj51OvRfeTR8moWyXTeSx1OrI/epQoIBvJja8ZB/Imi0UcE04p+DQIfOBT6WPTne7GUNU/eRQVWGYmVjMom3yVLlcdn0t60f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AT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: N9WFRWcyFZB9097c4K7OZjD/9rqAYHKOCCWRbURwH2MDvBONm+SbXrad1z+oUFOJScVP82Vsd9TrBCXHn8J7B6nAS3rvbK9nY//56Ig9/vHiynx5BCv8Zr1IU3KeHpJ/nqFP6Nc9z2Cbt3zZtt0H7mWMTerTmz5zhfRqLVW0xXH3RHIbHdKmr7pUxOCN0pybOYNh+1o12MaTrDsHCtdCE2Xly/Dko7BLuG7ZgLvUtxgOKZubT/KxWvDiL6Mt63enQ3kFtRd4A8cdyCKF4FCJzUmY4HRQ3vpPlqzz7TuKMXZ2ozZDm4Mx1zCt0sC79LMDDlDJGE8lQ2xaB1MYgaSPczH9AKHO3HGAp9BtfST6MnBXcwQQHELmzbtdMomNF1pyaTznhuZ4UR+C16/9i6Xwp9I+LOfNSkzv8U615VS2FbHVkOp6YJ9DbUS6VGAG8s6FuvUnfr0dkpbxbSdPUb66M2fO2hK4DfuPMPyOD/4+YyHQkKMEQx6HeagO/Seu9jH+918sTah+aVMxpQ/LQUjkZ9XV8D15hGNcyLbUjftP6xyzDclFIFWk97r/MukmgUM8+CuakZosAqk7wUO0V2s+XV+I1S36QyjO/s1hT1SQhC//32Eui7uK/6CVpnBhg3gDjNv9xg3Zr1YoweNtPvQU0pzk2lNodZ7vELSDWpQMIOFs0jsSdh3QlnQ9GefU835Et7czK4NZAPZOJdK3+YmKX7oZOsCqne61vObWTYtwMKvzcs8hhJQCkkWK1KKVRioIOJH6ErMU8+u1GhL9X1FPL65I6NlvMRBk6O9SFTZUzAMt39ZXgAKpzxyobVBhBXcLqENJ28zCwSuBCgU5k+OQvl8YTdLCTOqPayrAPapc7YgPx4cRhx26EfQv5NNx0xyx2KMiCeWl5rFMFyC4i6EdqmKEXsLXzIOrUthjjn1sCIC3mgd6Va3CfNjEOgHEZR1NtvqPs/LEnYmJo1K3fiQHoSFgLqKWH9W0dzFS7zVyhPhFDyRpzNv7qkeq5ElOofQn3qC51gMKqICs0DTo8P0y190Py9wef9uNeoYm2qEnkC9DLHMe0cyRwiutZcItRdmPiM6XTc3Gmu2ik5dK9KStOfstBr8r12UWlFBhfP7mARq0Ld59GyOOp1vSmvxkGvl8k1QiV1bAJK1t7Q9yk/FPN6SuUe+Xhy+ptxhTcx3gJij/4urGU08d+4zMMKyu9WqdRgo+nIIjtvnMUgZLilFBGw5dVAu/lcZycETU0X2ib+6spfAaTH3mfX9XPrCg5nfDxINpLmwYDgOE5KMXWwQJaz2WlkotDxm7Kd7HLMjXmqKATLeT2J6ZWMpL0jsJZ6W6+3Cu18BDfo5MJYegTCjkE3xYRT7EjnC1Cwjb+NFzz4xLVazSamgyshNRa71WDJKRbIAZA4xDgrri8pQNn0snp2mb9ULZC6vhfGwhXqszemyjvK2t4eLa8M2mV94fg60ZOdxhZRdIgsmv0YLK4mxxeRuKYZWhWKOrKq1Itxh0gCzXZGczTpBHaFiP6ooKvJ5yRQAaJHORh8VF0lT1hrM4HN6NV6AtD8LHTdg8XwfVQ/ZFLgN+1doiSnQ/fhvYqGEc X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0b3a18d-440f-4ec9-4b3f-08dcdc613cc9 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB4461.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2024 06:22:17.1014 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eu9XsQblPc0hhxOQlxeYhzsqOiulgmPw+D48ivQqFhOXBxEkb1Lw2v1LP4WnXdqOqC9q2H9DGL+ZZkug3bjtoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR06MB6982 X-Patchwork-Delegate: kuba@kernel.org This commit corrects spelling errors in comments within the stcp subsystem to enhance clarity and maintainability of the code. Signed-off-by: Yu Jiaoliang --- net/sctp/auth.c | 4 ++-- net/sctp/chunk.c | 2 +- net/sctp/socket.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/sctp/auth.c b/net/sctp/auth.c index c58fffc86a0c..4bec21f8cb36 100644 --- a/net/sctp/auth.c +++ b/net/sctp/auth.c @@ -460,7 +460,7 @@ int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp) if (ep->auth_hmacs) return 0; - /* Allocated the array of pointers to transorms */ + /* Allocated the array of pointers to transforms */ ep->auth_hmacs = kcalloc(SCTP_AUTH_NUM_HMACS, sizeof(struct crypto_shash *), gfp); @@ -774,7 +774,7 @@ int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id) return 0; } -/* Add hmac identifires to the endpoint list of supported hmac ids */ +/* Add hmac identifiers to the endpoint list of supported hmac ids */ int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep, struct sctp_hmacalgo *hmacs) { diff --git a/net/sctp/chunk.c b/net/sctp/chunk.c index fd4f8243cc35..19f4562a3b7f 100644 --- a/net/sctp/chunk.c +++ b/net/sctp/chunk.c @@ -68,7 +68,7 @@ void sctp_datamsg_free(struct sctp_datamsg *msg) sctp_datamsg_put(msg); } -/* Final destructruction of datamsg memory. */ +/* Final destruction of datamsg memory. */ static void sctp_datamsg_destroy(struct sctp_datamsg *msg) { struct sctp_association *asoc = NULL; diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 32f76f1298da..9fe18414a355 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -6631,7 +6631,7 @@ static int sctp_getsockopt_associnfo(struct sock *sk, int len, sctp_style(sk, UDP)) return -EINVAL; - /* Values correspoinding to the specific association */ + /* Values corresponding to the specific association */ if (asoc) { assocparams.sasoc_asocmaxrxt = asoc->max_retrans; assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;