Commit 7d508880 authored by Carlos Henrique Lima Melara's avatar Carlos Henrique Lima Melara Committed by Greg Kroah-Hartman

staging: qlge: Fix WARNING: Missing a blank line after declarations

Fixed WARNING: Missing a blank line after declarations in qlge_mpi.c to
the following lines:

WARNING: Missing a blank line after declarations
FILE: drivers/staging/qlge/qlge_mpi.c:94:

WARNING: Missing a blank line after declarations
FILE: drivers/staging/qlge/qlge_mpi.c:240:

WARNING: Missing a blank line after declarations
FILE: drivers/staging/qlge/qlge_mpi.c:258:

WARNING: Missing a blank line after declarations
FILE: drivers/staging/qlge/qlge_mpi.c:356:

WARNING: Missing a blank line after declarations
FILE: drivers/staging/qlge/qlge_mpi.c:915:

WARNING: Missing a blank line after declarations
FILE: drivers/staging/qlge/qlge_mpi.c:1099:
Signed-off-by: default avatarCarlos Henrique Lima Melara <charlesmelara@outlook.com>
Link: https://lore.kernel.org/r/CP2PR80MB434086A44A1ED5BB662B9D70A8FC0@CP2PR80MB4340.lamprd80.prod.outlook.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3394cf07
...@@ -91,6 +91,7 @@ int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data) ...@@ -91,6 +91,7 @@ int ql_write_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 data)
int ql_soft_reset_mpi_risc(struct ql_adapter *qdev) int ql_soft_reset_mpi_risc(struct ql_adapter *qdev)
{ {
int status; int status;
status = ql_write_mpi_reg(qdev, 0x00001010, 1); status = ql_write_mpi_reg(qdev, 0x00001010, 1);
return status; return status;
} }
...@@ -237,6 +238,7 @@ static int ql_idc_cmplt_aen(struct ql_adapter *qdev) ...@@ -237,6 +238,7 @@ static int ql_idc_cmplt_aen(struct ql_adapter *qdev)
{ {
int status; int status;
struct mbox_params *mbcp = &qdev->idc_mbc; struct mbox_params *mbcp = &qdev->idc_mbc;
mbcp->out_count = 4; mbcp->out_count = 4;
status = ql_get_mb_sts(qdev, mbcp); status = ql_get_mb_sts(qdev, mbcp);
if (status) { if (status) {
...@@ -255,6 +257,7 @@ static int ql_idc_cmplt_aen(struct ql_adapter *qdev) ...@@ -255,6 +257,7 @@ static int ql_idc_cmplt_aen(struct ql_adapter *qdev)
static void ql_link_up(struct ql_adapter *qdev, struct mbox_params *mbcp) static void ql_link_up(struct ql_adapter *qdev, struct mbox_params *mbcp)
{ {
int status; int status;
mbcp->out_count = 2; mbcp->out_count = 2;
status = ql_get_mb_sts(qdev, mbcp); status = ql_get_mb_sts(qdev, mbcp);
...@@ -353,6 +356,7 @@ static int ql_aen_lost(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -353,6 +356,7 @@ static int ql_aen_lost(struct ql_adapter *qdev, struct mbox_params *mbcp)
netif_err(qdev, drv, qdev->ndev, "Lost AEN broken!\n"); netif_err(qdev, drv, qdev->ndev, "Lost AEN broken!\n");
else { else {
int i; int i;
netif_err(qdev, drv, qdev->ndev, "Lost AEN detected.\n"); netif_err(qdev, drv, qdev->ndev, "Lost AEN detected.\n");
for (i = 0; i < mbcp->out_count; i++) for (i = 0; i < mbcp->out_count; i++)
netif_err(qdev, drv, qdev->ndev, "mbox_out[%d] = 0x%.08x.\n", netif_err(qdev, drv, qdev->ndev, "mbox_out[%d] = 0x%.08x.\n",
...@@ -912,6 +916,7 @@ static int ql_idc_wait(struct ql_adapter *qdev) ...@@ -912,6 +916,7 @@ static int ql_idc_wait(struct ql_adapter *qdev)
int status = -ETIMEDOUT; int status = -ETIMEDOUT;
long wait_time = 1 * HZ; long wait_time = 1 * HZ;
struct mbox_params *mbcp = &qdev->idc_mbc; struct mbox_params *mbcp = &qdev->idc_mbc;
do { do {
/* Wait here for the command to complete /* Wait here for the command to complete
* via the IDC process. * via the IDC process.
...@@ -1096,6 +1101,7 @@ int ql_wait_fifo_empty(struct ql_adapter *qdev) ...@@ -1096,6 +1101,7 @@ int ql_wait_fifo_empty(struct ql_adapter *qdev)
static int ql_set_port_cfg(struct ql_adapter *qdev) static int ql_set_port_cfg(struct ql_adapter *qdev)
{ {
int status; int status;
status = ql_mb_set_port_cfg(qdev); status = ql_mb_set_port_cfg(qdev);
if (status) if (status)
return status; return status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment