projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ff552
)
net: hdlc_cisco: add blank line after declaration
author
Peng Li
<lipeng321@huawei.com>
Wed, 2 Jun 2021 11:01:15 +0000
(19:01 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 3 Jun 2021 20:27:36 +0000
(13:27 -0700)
This patch fixes the checkpatch error about missing a blank line
after declarations.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_cisco.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/hdlc_cisco.c
b/drivers/net/wan/hdlc_cisco.c
index 0d29a2ceecdbf54add3316097a06ebe3983608d2..d337711043269d55b1541e120b28d5b50d0c91b2 100644
(file)
--- a/
drivers/net/wan/hdlc_cisco.c
+++ b/
drivers/net/wan/hdlc_cisco.c
@@
-214,6
+214,7
@@
static int cisco_rx(struct sk_buff *skb)
st->last_poll = jiffies;
if (!st->up) {
u32 sec, min, hrs, days;
+
sec = ntohl(cisco_data->time) / 1000;
min = sec / 60; sec -= min * 60;
hrs = min / 60; min -= hrs * 60;