From: Michal Marek Date: Thu, 11 Aug 2011 10:29:46 +0000 (+0200) Subject: UBIFS: not build debug messages with CONFIG_UBIFS_FS_DEBUG disabled X-Git-Tag: v3.1-rc6~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016f1c54408b1e92e2e8087bfc05ca0a9c258513;p=pandora-kernel.git UBIFS: not build debug messages with CONFIG_UBIFS_FS_DEBUG disabled With $ grep -e UBIFS_FS_DEBUG -e DYNAMIC_DEBUG .config # CONFIG_UBIFS_FS_DEBUG is not set CONFIG_DYNAMIC_DEBUG=y Debug messages are kept in the object files due to the dynamic_pr_debug() macro, even if they are never going to be printed: $ make fs/ubifs/super.o $ strings fs/ubifs/super.o | grep 'compiled on' compiled on: Aug 11 2011 at 12:21:38 Use plain printk to fix this. Signed-off-by: Michal Marek Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed