lkml.org 
[lkml]   [2014]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/5] ncpfs: Convert DPRINTK/DDPRINTK to ncp_dbg
From
Date
On Sun, 2014-02-09 at 14:48 -0800, Joe Perches wrote:
> Use a more current logging style and enable use of dynamic debugging.
[]
> diff --git a/fs/ncpfs/ncp_fs.h b/fs/ncpfs/ncp_fs.h
[]
> +#define ncp_dbg(level, fmt, ...) \
> +do { \
> + if (level >= DEBUG_NCP) \
> + pr_debug(fmt, ##__VA_ARGS__); \
> +} while (0)

Stupid thinko/typo self-nack. This should be:

if (DEBUG_NCP >= level)




\
 
 \ /
  Last update: 2014-02-10 02:21    [W:0.052 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site