aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/stable_kernel_rules.txt
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2011-10-04 14:13:22 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-18 11:22:01 -0700
commit0feefd97861f9b38accf09a12f8d323f2705e917 (patch)
treeae126a479effdf41d3995d82a8939c36d4511491 /Documentation/stable_kernel_rules.txt
parentdynamic_debug: use a single printk() to emit messages (diff)
downloadlinux-dev-0feefd97861f9b38accf09a12f8d323f2705e917.tar.xz
linux-dev-0feefd97861f9b38accf09a12f8d323f2705e917.zip
dynamic_debug: fix undefined reference to `__netdev_printk'
Dynamic debug recently added support for netdev_printk. It uses __netdev_printk() to support this functionality. However, when CONFIG_NET is not set, we get the following error: lib/built-in.o: In function `__dynamic_netdev_dbg': (.text+0x9fda): undefined reference to `__netdev_printk' Fix this by making the call to netdev_printk() contingent upon CONFIG_NET. We could have fixed this by defining netdev_printk() to a 'no-op' in the !CONFIG_NET case. However, this is not consistent with how the networking layer uses netdev_printk. For example, CONFIG_NET is not set, netdev_printk() does not have a 'no-op' definition defined. Signed-off-by: Jason Baron <jbaron@redhat.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/stable_kernel_rules.txt')
0 files changed, 0 insertions, 0 deletions