summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumyajit Deb <debsoumyajit100@gmail.com>2020-03-25 12:59:04 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 13:42:06 +0100
commitd7338269bb29778b7c020bc7e16c48ed4e8e00b9 (patch)
treecdae7488aadb304ebf6b91f155e79932380815d1
parentc40bca6a9d939cf2b4dc1f14a63f32342d9d358c (diff)
Staging: hp100: Add space after "," in function arguments.
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>
-rw-r--r--drivers/staging/hp/hp100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c
index 84fdbd0ac153..44497c355d5e 100644
--- 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);