Skip to content

Commit

Permalink
drivers: ethernet: qlogic: qlge_dbg.c: Fixed a coding style issue
Browse files Browse the repository at this point in the history
checkpatch.pl throws error message for the current code. This patch fixes
this coding style issue.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Acked-by: Jitendra Kalsaria <Jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Kumar Amit Mehta authored and David S. Miller committed Nov 6, 2012
1 parent 54e7e2d commit b82cf96
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/net/ethernet/qlogic/qlge/qlge_dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int ql_read_other_func_serdes_reg(struct ql_adapter *qdev, u32 reg,
}

/* Read out the SERDES registers */
static int ql_read_serdes_reg(struct ql_adapter *qdev, u32 reg, u32 * data)
static int ql_read_serdes_reg(struct ql_adapter *qdev, u32 reg, u32 *data)
{
int status;

Expand Down Expand Up @@ -364,7 +364,7 @@ static int ql_read_other_func_xgmac_reg(struct ql_adapter *qdev, u32 reg,
/* Read the 400 xgmac control/statistics registers
* skipping unused locations.
*/
static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 * buf,
static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 *buf,
unsigned int other_function)
{
int status = 0;
Expand Down Expand Up @@ -405,7 +405,7 @@ static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 * buf,
return status;
}

static int ql_get_ets_regs(struct ql_adapter *qdev, u32 * buf)
static int ql_get_ets_regs(struct ql_adapter *qdev, u32 *buf)
{
int status = 0;
int i;
Expand All @@ -423,7 +423,7 @@ static int ql_get_ets_regs(struct ql_adapter *qdev, u32 * buf)
return status;
}

static void ql_get_intr_states(struct ql_adapter *qdev, u32 * buf)
static void ql_get_intr_states(struct ql_adapter *qdev, u32 *buf)
{
int i;

Expand All @@ -434,7 +434,7 @@ static void ql_get_intr_states(struct ql_adapter *qdev, u32 * buf)
}
}

static int ql_get_cam_entries(struct ql_adapter *qdev, u32 * buf)
static int ql_get_cam_entries(struct ql_adapter *qdev, u32 *buf)
{
int i, status;
u32 value[3];
Expand Down Expand Up @@ -471,7 +471,7 @@ static int ql_get_cam_entries(struct ql_adapter *qdev, u32 * buf)
return status;
}

static int ql_get_routing_entries(struct ql_adapter *qdev, u32 * buf)
static int ql_get_routing_entries(struct ql_adapter *qdev, u32 *buf)
{
int status;
u32 value, i;
Expand All @@ -496,7 +496,7 @@ static int ql_get_routing_entries(struct ql_adapter *qdev, u32 * buf)
}

/* Read the MPI Processor shadow registers */
static int ql_get_mpi_shadow_regs(struct ql_adapter *qdev, u32 * buf)
static int ql_get_mpi_shadow_regs(struct ql_adapter *qdev, u32 *buf)
{
u32 i;
int status;
Expand All @@ -515,7 +515,7 @@ static int ql_get_mpi_shadow_regs(struct ql_adapter *qdev, u32 * buf)
}

/* Read the MPI Processor core registers */
static int ql_get_mpi_regs(struct ql_adapter *qdev, u32 * buf,
static int ql_get_mpi_regs(struct ql_adapter *qdev, u32 *buf,
u32 offset, u32 count)
{
int i, status = 0;
Expand Down

0 comments on commit b82cf96

Please sign in to comment.