aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hp
diff options
context:
space:
mode:
authorSoumyajit Deb <debsoumyajit100@gmail.com>2020-03-23 11:18:35 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-23 11:41:02 +0100
commit30c826bf1df5583a1a36821c825792f62ba81cb1 (patch)
tree1ef22600f15a999aa74f6bde5819adcea517a4f9 /drivers/staging/hp
parentStaging: hp: Use netdev_warn(). (diff)
downloadlinux-dev-30c826bf1df5583a1a36821c825792f62ba81cb1.tar.xz
linux-dev-30c826bf1df5583a1a36821c825792f62ba81cb1.zip
staging: hp100: Remove space after * in pointer declarations
Remove space after * in pointer declaration to improve code readability and to adhere to the standard coding style. Reported by checkpatch.pl Signed-off-by: Soumyajit Deb <debsoumyajit100@gmail.com> Link: https://lore.kernel.org/r/20200323054836.48816-3-debsoumyajit100@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/hp')
-rw-r--r--drivers/staging/hp/hp100.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c
index c1f5506b7381..9b7ac5a68ddf 100644
--- a/drivers/staging/hp/hp100.c
+++ b/drivers/staging/hp/hp100.c
@@ -246,11 +246,11 @@ static void hp100_BM_shutdown(struct net_device *dev);
static void hp100_mmuinit(struct net_device *dev);
static void hp100_init_pdls(struct net_device *dev);
static int hp100_init_rxpdl(struct net_device *dev,
- register hp100_ring_t * ringptr,
- register u_int * pdlptr);
+ register hp100_ring_t *ringptr,
+ register u_int *pdlptr);
static int hp100_init_txpdl(struct net_device *dev,
- register hp100_ring_t * ringptr,
- register u_int * pdlptr);
+ register hp100_ring_t *ringptr,
+ register u_int *pdlptr);
static void hp100_rxfill(struct net_device *dev);
static void hp100_hwinit(struct net_device *dev);
static void hp100_clean_txring(struct net_device *dev);
@@ -264,7 +264,7 @@ static void hp100_RegisterDump(struct net_device *dev);
* because it was properly DMA allocated via pci_alloc_consistent(),
* so we just need to "retrieve" the original mapping to bus/phys/dma
* address - Jean II */
-static inline dma_addr_t virt_to_whatever(struct net_device *dev, u32 * ptr)
+static inline dma_addr_t virt_to_whatever(struct net_device *dev, u32 *ptr)
{
struct hp100_private *lp = netdev_priv(dev);
return ((u_long) ptr) + lp->whatever_offset;