]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: rds debug messages are enabled by default
authorshamir rabinovitch <shamir.rabinovitch@oracle.com>
Wed, 26 Oct 2016 13:16:50 +0000 (06:16 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 3 Nov 2016 16:46:21 +0000 (09:46 -0700)
commitbe940b293efe52482079939ec360dba9c8166635
tree67e92011cc9f9e00cfc014b108fdfa58a320d904
parented743541a8d84f94aafd6d96ccd305724f406203
RDS: 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.

Orabug: 24956522

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