[PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

Finn Thain fthain at telegraphics.com.au
Tue Mar 18 08:00:12 EDT 2014


On Mon, 17 Mar 2014, Joe Perches wrote:

> 
> My preference would be to change dprintk to scsi_dbg

Can you be more specific? I gather you're not referring to the debugging 
routines in include/scsi/scsi_dbg.h as they aren't equivalent.

Is it the name "dprintk" you object to?

I went looking in drivers/scsi/ for some kind of naming convention for a 
conditional printk. There are some other variations on the theme (DEBUG, 
PDEBUG, PERROR, etc) but dprintk() seems to be the most popular.

-- 



More information about the linux-arm-kernel mailing list