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>
This commit is contained in:
parent
c40bca6a9d
commit
d7338269bb
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user