projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c40bca6
)
Staging: hp100: Add space after "," in function arguments.
author
Soumyajit Deb
<debsoumyajit100@gmail.com>
Wed, 25 Mar 2020 07:29:04 +0000
(12:59 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 25 Mar 2020 12:42:06 +0000
(13:42 +0100)
Add space after "," in function arguments to improve code readability.
Reported by checkpatch.pl
Signed-off-by: Soumyajit Deb <debsoumyajit100@gmail.com>
Link:
https://lore.kernel.org/r/20200325072905.29066-6-debsoumyajit100@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hp/hp100.c
patch
|
blob
|
history
diff --git
a/drivers/staging/hp/hp100.c
b/drivers/staging/hp/hp100.c
index 84fdbd0ac153a6e2d0564bcfa5def7be97c9e020..44497c355d5ee71cfc79d3e3ceeed03b707bc410 100644
(file)
--- a/
drivers/staging/hp/hp100.c
+++ b/
drivers/staging/hp/hp100.c
@@
-1793,7
+1793,7
@@
static void hp100_rx(struct net_device *dev)
u_char *ptr;
- skb_reserve(skb,2);
+ skb_reserve(skb,
2);
/* ptr to start of the sk_buff data area */
skb_put(skb, pkt_len);
@@
-1801,7
+1801,7
@@
static void hp100_rx(struct net_device *dev)
/* Now transfer the data from the card into that area */
if (lp->mode == 2)
- memcpy_fromio(ptr, lp->mem_ptr_virt,pkt_len);
+ memcpy_fromio(ptr, lp->mem_ptr_virt,
pkt_len);
else /* io mapped */
insl(ioaddr + HP100_REG_DATA32, ptr, pkt_len >> 2);