scsi: lpfc: minor code cleanups
This contains code cleanups that were in the prior patch set. This allows better review of real changes later. minor code cleanups: fix indentation, punctuation, line length addition/reduction of whitespace remove unneeded parens, braces lpfc_debugfs_nodelist_data: print as u64 rather than byte by byte covert printk(KERN_ERR to pr_err small print string deltas use num_present_cpus() rather than count them comment updates rctl/type names moved to module variable, not on stack Signed-off-by:Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by:
James Smart <james.smart@broadcom.com> Reviewed-by:
Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by:
Hannes Reinecke <hare@suse.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/scsi/lpfc/lpfc_attr.c 5 additions, 3 deletionsdrivers/scsi/lpfc/lpfc_attr.c
- drivers/scsi/lpfc/lpfc_bsg.c 1 addition, 1 deletiondrivers/scsi/lpfc/lpfc_bsg.c
- drivers/scsi/lpfc/lpfc_debugfs.c 39 additions, 42 deletionsdrivers/scsi/lpfc/lpfc_debugfs.c
- drivers/scsi/lpfc/lpfc_hbadisc.c 3 additions, 4 deletionsdrivers/scsi/lpfc/lpfc_hbadisc.c
- drivers/scsi/lpfc/lpfc_init.c 11 additions, 8 deletionsdrivers/scsi/lpfc/lpfc_init.c
- drivers/scsi/lpfc/lpfc_scsi.c 2 additions, 1 deletiondrivers/scsi/lpfc/lpfc_scsi.c
- drivers/scsi/lpfc/lpfc_scsi.h 6 additions, 6 deletionsdrivers/scsi/lpfc/lpfc_scsi.h
- drivers/scsi/lpfc/lpfc_sli.c 27 additions, 21 deletionsdrivers/scsi/lpfc/lpfc_sli.c
- drivers/scsi/lpfc/lpfc_sli.h 3 additions, 3 deletionsdrivers/scsi/lpfc/lpfc_sli.h
- drivers/scsi/lpfc/lpfc_vport.c 1 addition, 0 deletionsdrivers/scsi/lpfc/lpfc_vport.c
Loading
Please register or sign in to comment