aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-09-28 23:36:14 +0200
committerJason Wessel <jason.wessel@windriver.com>2012-10-12 06:37:36 -0500
commitf2f0945e356daef87cdb01c0302801fb11cf382a (patch)
tree458c92d6a4a70f03ada073376bd16fdcf843e177 /kernel/debug
parentkdb,vt_console: Fix missed data due to pager overruns (diff)
downloadlinux-dev-f2f0945e356daef87cdb01c0302801fb11cf382a.tar.xz
linux-dev-f2f0945e356daef87cdb01c0302801fb11cf382a.zip
tty/console: fix warnings in drivers/tty/serial/kgdboc.c
The con_debug_leave/con_debug_enter functions are stubbed out by defining them to (0), which causes harmless build warnings. Using proper inline functions is the normal way to deal with this. Without this patch, building the ARM bcm2835_defconfig results in: drivers/tty/serial/kgdboc.c: In function 'kgdboc_pre_exp_handler': drivers/tty/serial/kgdboc.c:279:3: warning: statement with no effect [-Wunused-value] drivers/tty/serial/kgdboc.c: In function 'kgdboc_post_exp_handler': drivers/tty/serial/kgdboc.c:293:3: warning: statement with no effect [-Wunused-value] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Anton Vorontsov <anton.vorontsov@linaro.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions