OSDN Git Service

scsi: cxlflash: Cleanup prints
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Thu, 12 Jan 2017 01:19:47 +0000 (19:19 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 12 Jan 2017 03:38:15 +0000 (22:38 -0500)
commitfb67d44dfbdf85d984b9b40284e90636a3a7b21d
tree4dd280fb0acf78597f9472600d726f192029f719
parent696d0b0c715360ce28fedd3c8b009d3771a5ddeb
scsi: cxlflash: Cleanup prints

The usage of prints within the cxlflash driver is inconsistent. This
hinders debug and makes the driver source and log output appear sloppy.

The following cleanups help unify the prints within cxlflash:
 - move all prints to dev-* where possible
 - transition all hex prints to lowercase
 - standardize variable prints in debug output
 - derive pointers in a consistent manner
 - change int to bool where appropriate
 - remove superfluous data from prints and print statements that do not
   make sense

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/lunmgt.c
drivers/scsi/cxlflash/main.c
drivers/scsi/cxlflash/superpipe.c
drivers/scsi/cxlflash/vlun.c