Commit b4688a7e authored by Lee Jones's avatar Lee Jones Committed by Martin K. Petersen

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/20200723122446.1329773-5-lee.jones@linaro.org
Cc: QLogic-Storage-Upstream@qlogic.com
Cc: Anil Veerabhadrappa <anilgv@broadcom.com>
Cc: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent bc5b6816
...@@ -73,7 +73,7 @@ DEFINE_PER_CPU(struct bnx2i_percpu_s, bnx2i_percpu); ...@@ -73,7 +73,7 @@ DEFINE_PER_CPU(struct bnx2i_percpu_s, bnx2i_percpu);
/** /**
* bnx2i_identify_device - identifies NetXtreme II device type * bnx2i_identify_device - identifies NetXtreme II device type
* @hba: Adapter structure pointer * @hba: Adapter structure pointer
* @cnic: Corresponding cnic device * @dev: Corresponding cnic device
* *
* This function identifies the NX2 device type and sets appropriate * This function identifies the NX2 device type and sets appropriate
* queue mailbox register access method, 5709 requires driver to * queue mailbox register access method, 5709 requires driver to
......
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