Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp531620ybm; Mon, 20 May 2019 22:12:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzsGUu0+XDQRqckjytMFr1IeAlnKiGjaLQFfP80Na+GOjCyaGebwsfT+64+upLAa8pV7hK X-Received: by 2002:a62:ac0c:: with SMTP id v12mr2333432pfe.59.1558415527652; Mon, 20 May 2019 22:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558415527; cv=none; d=google.com; s=arc-20160816; b=P2AL5ruMtf95HXeDhXmHNQHKCjj9B5POrdDL8tSmqp5y7zIukfECOndsd7V0C9xSQ/ nl8rPDbyzC3ICLBUaTQ81AxQsE5/Tp5XuOlBeByg764dp0yRb+p2us1x6RCwKSPNvIGO 9epWPDvsmYYFDQ4wQrpsWZToYnnvotiJswL5BjiKxH3FRqbDvTaO7bazELiPXUuRu0lz J/HM9TMq7IYDD8G8j5xQOPmzRm+yOlPIe+8u2MjtRssWKYU/qM2V9H5cmBQyMCTHzS48 SsORIikRQImT5QMqPVnR6cg2Vus/8jyYCSxIIQsUrg9tWsSbBgvzmTrrv8KQxMV3cQc6 0+Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=iH4Hc02N2HPKJftxMQstfzc1qp7qmQky02xsvvHODHg=; b=FGqqCUYVcQdAEbEtPAGlSAIMO7wU4LtgVzmfze8t9q5KJxqDHnrHj1VbEoy/VWotm2 Bcf3tTD9IsuDHR4XD5FLauz1KD4Am1pMoBjBxbE5AS9Qg4YxIqGk45b7hKMURW41HVAX k8y1xe7N62QZv628gkdy5acktW2fF5IvGLfGBXEgAjkty2/1dt2KkVS95C9WoT+dDmeJ PzoFFowX7b+uukqaCr0J24oFeXnc2eyi/mc+UlsK3yUZ55ItNLn6/c6CUX6CaeGdMdUw r9NnzU8GxT+JlW2sjBmURfAX6ROWE9fCJWMGxgzbYDaTbs9DKWBU0vdyjdFw36XNi4ei PunA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lze49Glk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x143si20734915pgx.504.2019.05.20.22.11.52; Mon, 20 May 2019 22:12:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Lze49Glk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727727AbfEUFJq (ORCPT + 99 others); Tue, 21 May 2019 01:09:46 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42508 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbfEUFJq (ORCPT ); Tue, 21 May 2019 01:09:46 -0400 Received: by mail-pf1-f194.google.com with SMTP id 13so8398723pfw.9; Mon, 20 May 2019 22:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iH4Hc02N2HPKJftxMQstfzc1qp7qmQky02xsvvHODHg=; b=Lze49Glktl6JLr3SbrFTi2/1ILDiooabrHGNIg/0rtAEefxsCm+nJlw8NzHcKqW7uO 2Xp3siOi9c0zs+eNCzH3/+Kk6J11XwowGUX5Ot6iIoa2p4aX8RiBgbEKPPYW7a7/FM/h iZzWb3xwpyEjcb9FWQN4bWZkgyOqv6GV/2L+S9GCoyEb12XtM4qLNXHhOgirYXcbYW9a Hg6Wmi1OxLguiDnquGYcQoMg4Db8ADzAM1kM8c76TtawbgjmBYkgqdz/hJ/plC/4kpvI lCDRXgGH88Im9wqce2/Ycq8OoXEHjTxGXBKcyEjvEwUhbGsEIx+kfLttcSYHkmr5edO2 bE0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iH4Hc02N2HPKJftxMQstfzc1qp7qmQky02xsvvHODHg=; b=unSv/oiEsPY0MkkIbJgIWY1QpKavaRNmbsIH3lKG8ew3HQmKNP77Lmn1PNxsGKWRlY WJXT7Oaf4mXhNacsfHl5rIW3RpibpUck8v2hUVM8cKgos13XqaxHu6QYnFAcRszT7jXv JTmVIr6mXsJjiXe0k1Jx4teQyfj6ZOyZHxRX9lrVQNte5EWjk0asX+I/4f7lY4S+LdlN tZnaDED7qXDWaNRl+36iP77wCkGulkmeWCU0dgZxZUP/Ypm89aeSwLaWa8L/Jc1WKeqW 8caCPu7pT921Z2PhgRfjHtZUNtnA3FIuh6EMVPP8cZLTGjSgME0XERRHGSUwiBr01k39 NrZg== X-Gm-Message-State: APjAAAW1yUYo9zBc/w3UjW7poQd2sHhg5rUGXzMOxmQ+5bFTWxzXZrTV W+YMX78/1SME35qUk7WhTJk= X-Received: by 2002:a63:c64c:: with SMTP id x12mr79098885pgg.379.1558415385446; Mon, 20 May 2019 22:09:45 -0700 (PDT) Received: from localhost ([43.224.245.181]) by smtp.gmail.com with ESMTPSA id f29sm48456740pfq.11.2019.05.20.22.09.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 22:09:44 -0700 (PDT) From: Weitao Hou To: mcgrof@kernel.org, keescook@chromium.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Weitao Hou Subject: [PATCH v3] kernel: fix typos and some coding style in comments Date: Tue, 21 May 2019 13:09:37 +0800 Message-Id: <20190521050937.4370-1-houweitaoo@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix lenght to length Signed-off-by: Weitao Hou --- Changes in v3: - fix all other same typos with git grep --- .../devicetree/bindings/usb/s3c2410-usb.txt | 2 +- .../wireless/mediatek/mt76/mt76x02_usb_core.c | 2 +- kernel/sysctl.c | 18 +++++++++--------- sound/soc/qcom/qdsp6/q6asm.c | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt index e45b38ce2986..26c85afd0b53 100644 --- a/Documentation/devicetree/bindings/usb/s3c2410-usb.txt +++ b/Documentation/devicetree/bindings/usb/s3c2410-usb.txt @@ -4,7 +4,7 @@ OHCI Required properties: - compatible: should be "samsung,s3c2410-ohci" for USB host controller - - reg: address and lenght of the controller memory mapped region + - reg: address and length of the controller memory mapped region - interrupts: interrupt number for the USB OHCI controller - clocks: Should reference the bus and host clocks - clock-names: Should contain two strings diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c b/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c index 6b89f7eab26c..e0f5e6202a27 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c @@ -53,7 +53,7 @@ int mt76x02u_skb_dma_info(struct sk_buff *skb, int port, u32 flags) pad = round_up(skb->len, 4) + 4 - skb->len; /* First packet of a A-MSDU burst keeps track of the whole burst - * length, need to update lenght of it and the last packet. + * length, need to update length of it and the last packet. */ skb_walk_frags(skb, iter) { last = iter; diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 943c89178e3d..f78f725f225e 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -187,17 +187,17 @@ extern int no_unaligned_warning; * enum sysctl_writes_mode - supported sysctl write modes * * @SYSCTL_WRITES_LEGACY: each write syscall must fully contain the sysctl value - * to be written, and multiple writes on the same sysctl file descriptor - * will rewrite the sysctl value, regardless of file position. No warning - * is issued when the initial position is not 0. + * to be written, and multiple writes on the same sysctl file descriptor + * will rewrite the sysctl value, regardless of file position. No warning + * is issued when the initial position is not 0. * @SYSCTL_WRITES_WARN: same as above but warn when the initial file position is - * not 0. + * not 0. * @SYSCTL_WRITES_STRICT: writes to numeric sysctl entries must always be at - * file position 0 and the value must be fully contained in the buffer - * sent to the write syscall. If dealing with strings respect the file - * position, but restrict this to the max length of the buffer, anything - * passed the max lenght will be ignored. Multiple writes will append - * to the buffer. + * file position 0 and the value must be fully contained in the buffer + * sent to the write syscall. If dealing with strings respect the file + * position, but restrict this to the max length of the buffer, anything + * passed the max length will be ignored. Multiple writes will append + * to the buffer. * * These write modes control how current file position affects the behavior of * updating sysctl values through the proc interface on each write. diff --git a/sound/soc/qcom/qdsp6/q6asm.c b/sound/soc/qcom/qdsp6/q6asm.c index 4f85cb19a309..e8141a33a55e 100644 --- a/sound/soc/qcom/qdsp6/q6asm.c +++ b/sound/soc/qcom/qdsp6/q6asm.c @@ -1194,7 +1194,7 @@ EXPORT_SYMBOL_GPL(q6asm_open_read); * q6asm_write_async() - non blocking write * * @ac: audio client pointer - * @len: lenght in bytes + * @len: length in bytes * @msw_ts: timestamp msw * @lsw_ts: timestamp lsw * @wflags: flags associated with write -- 2.18.0