• Lee Jones's avatar
    scsi: qla4xxx: Provide a missing function param description and fix formatting · 7ec772d0
    Lee Jones authored
    Kerneldoc function parameter references need to be in the format '@.*: ',
    else the kerneldoc checker gets confused.
    
    Fixes the following W=1 kernel build warning(s):
    
     drivers/scsi/qla4xxx/ql4_init.c: In function ‘ql4xxx_set_mac_number’:
     drivers/scsi/qla4xxx/ql4_init.c:17:10: warning: variable ‘func_number’ set but not used [-Wunused-but-set-variable]
     drivers/scsi/qla4xxx/ql4_init.c: In function ‘qla4xxx_pci_config’:
     drivers/scsi/qla4xxx/ql4_init.c:664:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
    from  drivers/scsi/qla4xxx/ql4_init.c:9:
    from  drivers/scsi/qla4xxx/ql4_init.c:9:
     drivers/scsi/qla4xxx/ql4_init.c:953: warning: Function parameter or member 'is_reset' not described in 'qla4xxx_initialize_adapter'
     drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'ha' not described in 'qla4xxx_process_ddb_changed'
     drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'fw_ddb_index' not described in 'qla4xxx_process_ddb_changed'
     drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'state' not described in 'qla4xxx_process_ddb_changed'
     drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'conn_err' not described in 'qla4xxx_process_ddb_changed'
    
    Link: https://lore.kernel.org/r/20200713074645.126138-30-lee.jones@linaro.org
    Cc: QLogic-Storage-Upstream@qlogic.com
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    7ec772d0
ql4_init.c 35.3 KB