staging: qlge: Properly indent the multiline comments
PATCH 1/1 staging: qlge: Properly indent the multiline comments
Shift the end of multiline comments "*/" to the next line to improve code readability and to adhere to a uniform coding style. Reported by checkpatch.pl
Signed-off-by Soumyajit Deb <[email protected]>
--- drivers/staging/qlge/qlge_mpi.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/staging/qlge/qlge_mpi.c +6 -4
@@ -387,7 +387,8 @@ static void ql_init_fw_done(struct ql_adapter *qdev, struct mbox_params *mbcp)* This can get called iteratively from the mpi_work thread * when events arrive via an interrupt. * It also gets called when a mailbox command is polling for -* it's completion. */ +* it's completion. +*/ static int ql_mpi_handler (struct ql_adapter *qdev,struct mbox_params *mbcp) {int status;
@@ -517,7 +518,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)* changed when a mailbox command is waiting * for a response and an AEN arrives and * is handled. -* */ +*/ mbcp->out_count = orig_count;return status; }
@@ -552,7 +553,8 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp)* here because some AEN might arrive while * we're waiting for the mailbox command to * complete. If more than 5 seconds expire we can -* assume something is wrong. */ +* assume something is wrong. +*/ count = jiffies +HZ *MAILBOX_TIMEOUT ; do { /* Wait for the interrupt to come in. */
@@ -1175,7 +1177,7 @@ void ql_mpi_idc_work(struct work_struct *work)/* Signal the resulting link up AEN * that the frame routing and mac addr * needs to be set. -* */ +*/ set_bit (QL_CAM_RT_SET , &qdev->flags);/* Do ACK if required */ if (timeout) {
Signature · 1 line
2.17.1