diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2019-04-09 16:16:38 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-16 15:24:38 +0200 |
commit | e00164a0f000de893944981f41a568c981aca658 (patch) | |
tree | 6c5543aa77c9e611a42521be766dff5c39b83110 /fs/xfs/kmem.c | |
parent | 6b87784b53592a90d21576be8eff688b56d93cce (diff) | |
download | linux-e00164a0f000de893944981f41a568c981aca658.tar.gz linux-e00164a0f000de893944981f41a568c981aca658.tar.bz2 linux-e00164a0f000de893944981f41a568c981aca658.zip |
sc16is7xx: move label 'err_spi' to correct section
err_spi is used when SERIAL_SC16IS7XX_SPI is enabled, so make
the label only available under SERIAL_SC16IS7XX_SPI option.
Otherwise, the below warning appears.
drivers/tty/serial/sc16is7xx.c:1523:1: warning: label ‘err_spi’ defined but not used [-Wunused-label]
err_spi:
^~~~~~~
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Fixes: ac0cdb3d9901 ("sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/xfs/kmem.c')
0 files changed, 0 insertions, 0 deletions