Commit 1113c90c authored by Coiby Xu's avatar Coiby Xu Committed by Greg Kroah-Hartman

staging: qlge: fix trailing */ in block comment

Remove trailing "*/" in block comments.
Signed-off-by: default avatarCoiby Xu <coiby.xu@gmail.com>
Link: https://lore.kernel.org/r/20200625215755.70329-2-coiby.xu@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a8e77313
...@@ -3244,7 +3244,8 @@ static void ql_set_irq_mask(struct ql_adapter *qdev, struct intr_context *ctx) ...@@ -3244,7 +3244,8 @@ static void ql_set_irq_mask(struct ql_adapter *qdev, struct intr_context *ctx)
*/ */
ctx->irq_mask = (1 << qdev->rx_ring[vect].cq_id); ctx->irq_mask = (1 << qdev->rx_ring[vect].cq_id);
/* Add the TX ring(s) serviced by this vector /* Add the TX ring(s) serviced by this vector
* to the mask. */ * to the mask.
*/
for (j = 0; j < tx_rings_per_vector; j++) { for (j = 0; j < tx_rings_per_vector; j++) {
ctx->irq_mask |= ctx->irq_mask |=
(1 << qdev->rx_ring[qdev->rss_ring_count + (1 << qdev->rx_ring[qdev->rss_ring_count +
......
...@@ -389,7 +389,8 @@ static void ql_init_fw_done(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -389,7 +389,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 * This can get called iteratively from the mpi_work thread
* when events arrive via an interrupt. * when events arrive via an interrupt.
* It also gets called when a mailbox command is polling for * 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) static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
{ {
int status; int status;
...@@ -520,7 +521,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -520,7 +521,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
* changed when a mailbox command is waiting * changed when a mailbox command is waiting
* for a response and an AEN arrives and * for a response and an AEN arrives and
* is handled. * is handled.
* */ */
mbcp->out_count = orig_count; mbcp->out_count = orig_count;
return status; return status;
} }
...@@ -555,7 +556,8 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -555,7 +556,8 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp)
* here because some AEN might arrive while * here because some AEN might arrive while
* we're waiting for the mailbox command to * we're waiting for the mailbox command to
* complete. If more than 5 seconds expire we can * complete. If more than 5 seconds expire we can
* assume something is wrong. */ * assume something is wrong.
*/
count = jiffies + HZ * MAILBOX_TIMEOUT; count = jiffies + HZ * MAILBOX_TIMEOUT;
do { do {
/* Wait for the interrupt to come in. */ /* Wait for the interrupt to come in. */
...@@ -1178,7 +1180,7 @@ void ql_mpi_idc_work(struct work_struct *work) ...@@ -1178,7 +1180,7 @@ void ql_mpi_idc_work(struct work_struct *work)
/* Signal the resulting link up AEN /* Signal the resulting link up AEN
* that the frame routing and mac addr * that the frame routing and mac addr
* needs to be set. * needs to be set.
* */ */
set_bit(QL_CAM_RT_SET, &qdev->flags); set_bit(QL_CAM_RT_SET, &qdev->flags);
/* Do ACK if required */ /* Do ACK if required */
if (timeout) { if (timeout) {
......
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