Re: [PATCH] Proposal to add dynamic debug feature for print_hex_dump [1/2]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Perches
Date: Friday, December 3, 2010 - 1:35 pm

On Fri, 2010-12-03 at 15:19 +0100, Roman Fietze wrote:
[]
[]

Please use full argument names

#define pr_emerg_hex_dump(prefix_str, prefix_type,			\
			  rowsize,  groupsize,	buf, len, ascii)	\
	print_hex_dump(KERN_EMERG, prefix_str, prefix_type,
		       rowsize, groupsize, buf, len, ascii)

etc...

Perhaps prefix_str should be pr_fmt(prefix_str)


As these macros are not yet in use anywhere, I think
that pr_warning_hex_dump should not be defined and
that pr_warn_hex_dump is sufficient and compatible
with the current use styles in dev_<level> and others.

[]


pr_cont_hex_dump should not be defined.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Proposal to add dynamic debug feature for prin ..., Joe Perches, (Fri Dec 3, 1:35 pm)