diff options
author | Lee Jones <[email protected]> | 2020-07-23 13:24:10 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-07-24 22:31:55 -0400 |
commit | b4688a7e01e54322a06289d3b4e42043aaf089e4 (patch) | |
tree | da01aed7efa01e2bc37f28f1cc37828eb9e2103d | |
parent | bc5b681614ccf77a863e639fe4af4adda1537c8c (diff) |
scsi: bnx2i: Fix parameter misnaming in function header
Fixes the following W=1 kernel build warning(s):
drivers/scsi/bnx2i/bnx2i_init.c:83: warning: Function parameter or member 'dev' not described in 'bnx2i_identify_device'
drivers/scsi/bnx2i/bnx2i_init.c:83: warning: Excess function parameter 'cnic' description in 'bnx2i_identify_device'
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Cc: Anil Veerabhadrappa <[email protected]>
Cc: Eddie Wai <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_init.c b/drivers/scsi/bnx2i/bnx2i_init.c index 4ebcda8d9500..6018cdd17702 100644 --- a/drivers/scsi/bnx2i/bnx2i_init.c +++ b/drivers/scsi/bnx2i/bnx2i_init.c @@ -73,7 +73,7 @@ DEFINE_PER_CPU(struct bnx2i_percpu_s, bnx2i_percpu); /** * bnx2i_identify_device - identifies NetXtreme II device type * @hba: Adapter structure pointer - * @cnic: Corresponding cnic device + * @dev: Corresponding cnic device * * This function identifies the NX2 device type and sets appropriate * queue mailbox register access method, 5709 requires driver to |