From: Linus Torvalds Date: Mon, 8 Aug 2011 18:35:17 +0000 (-0700) Subject: autofs4: clean up uaotfs use of debug/info/warning printouts X-Git-Tag: v3.1-rc2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ad996246dc5fd6e3df473c5fc1ba6d53e1d402;p=pandora-kernel.git autofs4: clean up uaotfs use of debug/info/warning printouts Use 'pr_debug()' for DPRINTK, which will do the proper type checking on the arguments (without generating code) even when DEBUG isn't #defined. Also, use the standard __VA_ARGS__ for the macros, and stop the pointless abuse of 'do { xyz } while (0)' when the macro is already a perfectly well-formed single statement. Reported-by: David Howells Suggested-by: Joe Perches Cc: Ian Kent Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed