From: Hui Tang <tanghui20@huawei.com>
To: <davem@davemloft.net>, <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<tanghui20@huawei.com>, Tom Parkin <tparkin@katalix.com>
Subject: [PATCH net-next 4/9] net: ppp: remove leading spaces before tabs
Date: Thu, 20 May 2021 11:47:49 +0800 [thread overview]
Message-ID: <1621482474-26903-5-git-send-email-tanghui20@huawei.com> (raw)
In-Reply-To: <1621482474-26903-1-git-send-email-tanghui20@huawei.com>
There are a few leading spaces before tabs and remove it by running
the following commard:
$ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/'
Cc: Tom Parkin <tparkin@katalix.com>
Signed-off-by: Hui Tang <tanghui20@huawei.com>
---
drivers/net/ppp/bsd_comp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ppp/bsd_comp.c b/drivers/net/ppp/bsd_comp.c
index 61fedb23..db0dc36 100644
--- a/drivers/net/ppp/bsd_comp.c
+++ b/drivers/net/ppp/bsd_comp.c
@@ -436,7 +436,7 @@ static void *bsd_alloc (unsigned char *options, int opt_len, int decomp)
* Initialize the data information for the compression code
*/
db->totlen = sizeof (struct bsd_db) +
- (sizeof (struct bsd_dict) * hsize);
+ (sizeof (struct bsd_dict) * hsize);
db->hsize = hsize;
db->hshift = hshift;
--
2.8.1
next prev parent reply other threads:[~2021-05-20 3:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 3:47 [PATCH net-next 0/9] net: remove leading spaces before tabs Hui Tang
2021-05-20 3:47 ` [PATCH net-next 1/9] net: wan: " Hui Tang
2021-05-20 3:47 ` [PATCH net-next 2/9] net: usb: " Hui Tang
2021-05-20 3:47 ` [PATCH net-next 3/9] net: slip: " Hui Tang
2021-05-20 3:47 ` Hui Tang [this message]
2021-05-20 3:47 ` [PATCH net-next 5/9] net: hamradio: " Hui Tang
2021-05-20 3:47 ` [PATCH net-next 6/9] net: fddi: skfp: " Hui Tang
2021-05-20 3:47 ` [PATCH net-next 7/9] net: appletalk: " Hui Tang
2021-05-20 3:47 ` [PATCH net-next 8/9] ifb: " Hui Tang
2021-05-20 3:47 ` [PATCH net-next 9/9] mii: " Hui Tang
2021-05-20 22:20 ` [PATCH net-next 0/9] net: " patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621482474-26903-5-git-send-email-tanghui20@huawei.com \
--to=tanghui20@huawei.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=tparkin@katalix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.