lkml.org 
[lkml]   [2014]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

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.

--


\
 
 \ /
  Last update: 2014-03-18 13:41    [W:0.049 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site