aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKumar Amit Mehta <gmate.amit@gmail.com>2012-11-04 14:11:32 -0500
committerDavid S. Miller <davem@davemloft.net>2012-11-06 17:41:42 -0500
commitb82cf962bc9b13f24df4322e6ba2b781e6a89886 (patch)
treef7c5b3f992565724148b5f33c7f1b1aeac91b10b /drivers
parent54e7e2df3e2f854ae33015cec25da5190e6a18ac (diff)
drivers: ethernet: qlogic: qlge_dbg.c: Fixed a coding style issue
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/qlogic/qlge/qlge_dbg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_dbg.c b/drivers/net/ethernet/qlogic/qlge/qlge_dbg.c
index 58185b604b72..10093f0c4c0f 100644
--- a/drivers/net/ethernet/qlogic/qlge/qlge_dbg.c
+++ b/drivers/net/ethernet/qlogic/qlge/qlge_dbg.c
@@ -86,7 +86,7 @@ exit:
86} 86}
87 87
88/* Read out the SERDES registers */ 88/* Read out the SERDES registers */
89static int ql_read_serdes_reg(struct ql_adapter *qdev, u32 reg, u32 * data) 89static int ql_read_serdes_reg(struct ql_adapter *qdev, u32 reg, u32 *data)
90{ 90{
91 int status; 91 int status;
92 92
@@ -364,7 +364,7 @@ exit:
364/* Read the 400 xgmac control/statistics registers 364/* Read the 400 xgmac control/statistics registers
365 * skipping unused locations. 365 * skipping unused locations.
366 */ 366 */
367static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 * buf, 367static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 *buf,
368 unsigned int other_function) 368 unsigned int other_function)
369{ 369{
370 int status = 0; 370 int status = 0;
@@ -405,7 +405,7 @@ static int ql_get_xgmac_regs(struct ql_adapter *qdev, u32 * buf,
405 return status; 405 return status;
406} 406}
407 407
408static int ql_get_ets_regs(struct ql_adapter *qdev, u32 * buf) 408static int ql_get_ets_regs(struct ql_adapter *qdev, u32 *buf)
409{ 409{
410 int status = 0; 410 int status = 0;
411 int i; 411 int i;
@@ -423,7 +423,7 @@ static int ql_get_ets_regs(struct ql_adapter *qdev, u32 * buf)
423 return status; 423 return status;
424} 424}
425 425
426static void ql_get_intr_states(struct ql_adapter *qdev, u32 * buf) 426static void ql_get_intr_states(struct ql_adapter *qdev, u32 *buf)
427{ 427{
428 int i; 428 int i;
429 429
@@ -434,7 +434,7 @@ static void ql_get_intr_states(struct ql_adapter *qdev, u32 * buf)
434 } 434 }
435} 435}
436 436
437static int ql_get_cam_entries(struct ql_adapter *qdev, u32 * buf) 437static int ql_get_cam_entries(struct ql_adapter *qdev, u32 *buf)
438{ 438{
439 int i, status; 439 int i, status;
440 u32 value[3]; 440 u32 value[3];
@@ -471,7 +471,7 @@ err:
471 return status; 471 return status;
472} 472}
473 473
474static int ql_get_routing_entries(struct ql_adapter *qdev, u32 * buf) 474static int ql_get_routing_entries(struct ql_adapter *qdev, u32 *buf)
475{ 475{
476 int status; 476 int status;
477 u32 value, i; 477 u32 value, i;
@@ -496,7 +496,7 @@ err:
496} 496}
497 497
498/* Read the MPI Processor shadow registers */ 498/* Read the MPI Processor shadow registers */
499static int ql_get_mpi_shadow_regs(struct ql_adapter *qdev, u32 * buf) 499static int ql_get_mpi_shadow_regs(struct ql_adapter *qdev, u32 *buf)
500{ 500{
501 u32 i; 501 u32 i;
502 int status; 502 int status;
@@ -515,7 +515,7 @@ end:
515} 515}
516 516
517/* Read the MPI Processor core registers */ 517/* Read the MPI Processor core registers */
518static int ql_get_mpi_regs(struct ql_adapter *qdev, u32 * buf, 518static int ql_get_mpi_regs(struct ql_adapter *qdev, u32 *buf,
519 u32 offset, u32 count) 519 u32 offset, u32 count)
520{ 520{
521 int i, status = 0; 521 int i, status = 0;