Skip to content
Commit c3ad9962 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
Suggested-by: default avatarJoe Perches <joe@perches.com>
Cc: Ian Kent <raven@themaw.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 638a8439
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment