OpenCloudOS-Kernel/drivers/net/ethernet/sfc
Paul Gortmaker 440b87eac4 drivers/net: fix build warning in ethernet/sfc/tx.c
Commit ee45fd92c7 ("sfc: Use TX PIO
for sufficiently small packets") introduced the following warning:

drivers/net/ethernet/sfc/tx.c: In function 'efx_enqueue_skb':
drivers/net/ethernet/sfc/tx.c:432:1: warning: label 'finish_packet' defined but not used

Stick the label inside the same #ifdef that the code which calls
it uses.  Note that this is only seen for arch that do not set
ARCH_HAS_IOREMAP_WC, such as arm, mips, sparc, ..., as the others
enable the write combining code and hence use the label.

Cc: Jon Cooper <jcooper@solarflare.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-06 21:28:05 -08:00
..
Kconfig sfc: Minimal support for 40G link speed 2013-09-05 22:32:57 +01:00
Makefile sfc: Add support for Solarflare SFC9100 family 2013-08-29 19:19:29 +01:00
bitfield.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ef10.c sfc: Change efx_mcdi_reset_port to use ENTITY_RESET MC command. 2014-01-21 14:46:12 -08:00
ef10_regs.h sfc: Use TX PIO for sufficiently small packets 2013-09-20 19:31:52 +01:00
efx.c Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-17 17:08:21 -05:00
efx.h sfc: Use the correct maximum TX DMA ring size for SFC9100 2014-01-23 13:40:51 -08:00
enum.h sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
ethtool.c sfc: Use the correct maximum TX DMA ring size for SFC9100 2014-01-23 13:40:51 -08:00
falcon.c sfc: fix sparse non static symbol warning 2013-12-19 15:00:31 -05:00
falcon_boards.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
farch.c sfc: Implement efx_nic_type::filter_clear_rx operation for EF10 2013-12-12 22:07:25 +00:00
farch_regs.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
filter.h sfc: Change priority and flags for automatic MAC filters 2013-12-12 22:07:22 +00:00
io.h sfc: Allocate and link PIO buffers; map them with write-combining 2013-09-20 19:31:49 +01:00
mcdi.c sfc: Change efx_mcdi_reset_port to use ENTITY_RESET MC command. 2014-01-21 14:46:12 -08:00
mcdi.h sfc: Store flags from MC_CMD_DRV_ATTACH for later use 2013-12-12 22:07:03 +00:00
mcdi_mon.c sfc: Add new sensor names 2013-12-12 22:06:54 +00:00
mcdi_pcol.h sfc: Update MCDI protocol definitions 2013-12-06 22:29:20 +00:00
mcdi_port.c sfc: Log all unexpected MCDI errors 2013-12-12 22:06:56 +00:00
mdio_10g.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mdio_10g.h sfc: Remove extern from function prototypes 2013-09-24 12:52:53 -07:00
mtd.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
net_driver.h sfc: remove unused 'enum efx_rx_alloc_method' 2013-12-12 22:07:27 +00:00
nic.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
nic.h sfc: Add PTP counters to ethtool stats 2013-12-12 22:07:30 +00:00
phy.h sfc: Remove extern from function prototypes 2013-09-24 12:52:53 -07:00
ptp.c sfc: Fix transposed ptp_{under, over}size_sync_windows statistics 2014-01-21 14:46:12 -08:00
qt202x_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
rx.c net: sfc calls skb_set_hash 2013-12-18 15:00:53 -05:00
selftest.c sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
selftest.h sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
siena.c sfc: Change efx_nic_type::rx_push_indir_table to push hash key as well 2013-12-12 22:07:21 +00:00
siena_sriov.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
tenxpress.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
tx.c drivers/net: fix build warning in ethernet/sfc/tx.c 2014-02-06 21:28:05 -08:00
txc43128_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
vfdi.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
workarounds.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00