Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2931375pxp; Mon, 14 Mar 2022 07:38:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCBcwskR2qIPt0JlHqQcM9/vKT6s1thKdR+JIajzWlKWe4qjB+wrNTXGkV0xcQSFLCVsfR X-Received: by 2002:a63:4005:0:b0:373:9ac7:fec1 with SMTP id n5-20020a634005000000b003739ac7fec1mr20272109pga.12.1647268707423; Mon, 14 Mar 2022 07:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647268707; cv=none; d=google.com; s=arc-20160816; b=keJqRmdrtMmuoQPVqHuJvCSPLCUPFELiecD9afHegGlIQHWG0FWF9vZ/WcQTYm0qph 7erNeNj2k7GmZQ4lirpEh3put8xfZMQuqYrSdwpcBM9DsbjNndR7TX98rCgN/aNxytYL cI2T5z7JgluCtViYxw5rF/MCkQiVY5AfcTiach7VyES1n212tRogwuPq4CrDlJOw2qsK ldMxy1ooDNEiHQyGxaAip5W9lBHTAxArfF5RGnFqjOCeTgybkGxy0WNXxdVPQmMX6Khj gWj3a9159qZwV+1GhrgPDVttu1KJNg+iBSxvPYtzj5yP6O8HTzI2Nr5tWyCZi23fRr+G Cdjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TstykKkU8UiYmac2M4JtdidjM5ToasXW3oJnVLqn9vc=; b=yKTJiqlTCJv1tpg/HEkIar2eVnzt9eBUfdsi2OoC8H9748bueaz7aQ5gK+xmCxVaAX MjWUdrrnSoamNMbjyG7f2qXPtM+SyZTBe5a9+ECRkaA1sBmRRe6SYhuOLGpIo/9BVtI3 ksUlET2zzRd7gaz4ZBEYk46DU3hx/ZErH+yEAkpc/ctfE3dNS2fCJiB2vwOsyz01Oi/E n/N4FhqwEQ4IuYwigjROJqFwjFBRHuJZTSPRcD33A7rak1GL3urWDNIwl1Cye9XTAeqt C8v7jK7IQ/K+E7aaYFdKezp7JBepq6cxoRh4yVPIZZXUIdwuL73ZtyHMXTYElZwi+igZ eAng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=uZzqcfNx; 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=inria.fr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 16-20020a621510000000b004f6a8098196si14479166pfv.312.2022.03.14.07.38.09; Mon, 14 Mar 2022 07:38:27 -0700 (PDT) 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=@inria.fr header.s=dc header.b=uZzqcfNx; 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=inria.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242459AbiCNMaA (ORCPT + 99 others); Mon, 14 Mar 2022 08:30:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243869AbiCNMVV (ORCPT ); Mon, 14 Mar 2022 08:21:21 -0400 X-Greylist: delayed 1408 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 14 Mar 2022 05:17:30 PDT Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BFCF1030; Mon, 14 Mar 2022 05:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TstykKkU8UiYmac2M4JtdidjM5ToasXW3oJnVLqn9vc=; b=uZzqcfNxXJOrnqiHy4dxBPEniXBeG9MHrl0ZszKiBL28QGGlpwFHTMjF loVpcgV/rW9yM/CyACnLPSer0B4BmLiaeINYnwYmVfsjN8moHt0A+kD0z +zUVg7IyX0JWs0U1lX5a8D9OyAhUqXLaK8QS62Xj/Adbc3xtMZRueg8OR 8=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Julia.Lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.90,180,1643670000"; d="scan'208";a="25997361" Received: from i80.paris.inria.fr (HELO i80.paris.inria.fr.) ([128.93.90.48]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2022 12:54:00 +0100 From: Julia Lawall To: Wolfgang Grandegger Cc: kernel-janitors@vger.kernel.org, Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 27/30] can: ucan: fix typos in comments Date: Mon, 14 Mar 2022 12:53:51 +0100 Message-Id: <20220314115354.144023-28-Julia.Lawall@inria.fr> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220314115354.144023-1-Julia.Lawall@inria.fr> References: <20220314115354.144023-1-Julia.Lawall@inria.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/net/can/usb/ucan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/usb/ucan.c b/drivers/net/can/usb/ucan.c index c7c41d1fd038..5ae0d7c017cc 100644 --- a/drivers/net/can/usb/ucan.c +++ b/drivers/net/can/usb/ucan.c @@ -1392,7 +1392,7 @@ static int ucan_probe(struct usb_interface *intf, * Stage 3 for the final driver initialisation. */ - /* Prepare Memory for control transferes */ + /* Prepare Memory for control transfers */ ctl_msg_buffer = devm_kzalloc(&udev->dev, sizeof(union ucan_ctl_payload), GFP_KERNEL); @@ -1526,7 +1526,7 @@ static int ucan_probe(struct usb_interface *intf, ret = ucan_device_request_in(up, UCAN_DEVICE_GET_FW_STRING, 0, sizeof(union ucan_ctl_payload)); if (ret > 0) { - /* copy string while ensuring zero terminiation */ + /* copy string while ensuring zero termination */ strncpy(firmware_str, up->ctl_msg_buffer->raw, sizeof(union ucan_ctl_payload)); firmware_str[sizeof(union ucan_ctl_payload)] = '\0';