]> git.baikalelectronics.ru Git - kernel.git/commit
rds: debug messages are enabled by default
authorshamir rabinovitch <shamir.rabinovitch@oracle.com>
Thu, 27 Oct 2016 09:46:38 +0000 (05:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Oct 2016 19:55:57 +0000 (15:55 -0400)
commit882a95c809c29c30caf26b5031e9237451933ca1
tree4c156476b3e9b669c48427ba264b5a3a8f9aacb8
parente9468fcac11071145f27aa8560be8d11a3870af5
rds: debug messages are enabled by default

rds use Kconfig option called "RDS_DEBUG" to enable rds debug messages.
This option cause the rds Makefile to add -DDEBUG to the rds gcc command
line.

When CONFIG_DYNAMIC_DEBUG is enabled, the "DEBUG" macro is used by
include/linux/dynamic_debug.h to decide if dynamic debug prints should
be sent by default to the kernel log.

rds should not enable this macro for production builds. rds dynamic
debug work as expected follow this fix.

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Reviewed-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/Makefile
net/rds/rds.h