Re: [PATCH 2/5] ncpfs: Convert DPRINTK/DDPRINTK to ncp_dbg

From: Joe Perches
Date: Sun Feb 09 2014 - 19:53:56 EST


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)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/