aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorVignesh Raghavendra <[email protected]>2020-11-11 16:56:53 +0530
committerGreg Kroah-Hartman <[email protected]>2020-11-12 09:42:30 +0100
commit6f991850412963381017cfb0d691cbd4d6a551dc (patch)
tree2aa0c33d050912008314812f6d76613287e839e0 /lib/mpi/mpi-add.c
parentd4548b14dd7e5c698f81ce23ce7b69a896373b45 (diff)
serial: 8250: 8250_omap: Fix unused variable warning
With commit 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable"), below warning is seen with W=1 and CONFIG_SERIAL_8250_DMA is disabled: drivers/tty/serial/8250/8250_omap.c:1199:42: warning: unused variable 'k3_soc_devices' [-Wunused-const-variable] Fix this by moving the code using k3_soc_devices array to omap_serial_fill_features_erratas() that handles other errata flags as well. Fixes: 439c7183e5b9 ("serial: 8250: 8250_omap: Disable RX interrupt after DMA enable") Reported-by: kernel test robot <[email protected]> Signed-off-by: Vignesh Raghavendra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions