linux/drivers/net/wireless/ath/wil6210
Vladimir Kondratiev 0786dc4edd wil6210: correct #include for prefetch()
This fixes bug found by the kbuild test robot:

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next.git master
head:   1e2f9295f4
commit: 1cbbcb08c7 [135/140] wil6210: prefetch head of packet
config: make ARCH=microblaze allyesconfig

All error/warnings:

   drivers/net/wireless/ath/wil6210/txrx.c: In function 'wil_vring_reap_rx':
>> drivers/net/wireless/ath/wil6210/txrx.c:381:2: error: implicit declaration of function 'prefetch' [-Werror=implicit-function-declaration]
     prefetch(skb->data);
     ^
   cc1: some warnings being treated as errors

vim +/prefetch +381 drivers/net/wireless/ath/wil6210/txrx.c

   375                  wil_err(wil, "Rx size too large: %d bytes!\n", dmalen);
   376                  kfree_skb(skb);
   377                  return NULL;
   378          }
   379          skb_trim(skb, dmalen);
   380
 > 381          prefetch(skb->data);
   382
   383          wil_hex_dump_txrx("Rx ", DUMP_PREFIX_OFFSET, 16, 1,
   384                            skb->data, skb_headlen(skb), false);

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-01-16 14:55:43 -05:00
..
Kconfig wil6210: fix name of tracing config option 2013-06-12 15:06:52 -04:00
Makefile wil6210: drop -Werror compiler flag 2013-07-22 16:54:46 -04:00
cfg80211.c net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
debug.c wil6210: trace support 2013-05-22 15:08:27 -04:00
debugfs.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-07-25 16:48:01 -04:00
interrupt.c wil6210: interrupt moderation 2014-01-09 10:56:38 -05:00
main.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
netdev.c wil6210: Enable TCP/UDP checksum HW offload 2013-07-22 16:54:44 -04:00
pcie_bus.c wireless: wil6210: remove unnecessary pci_set_drvdata() 2013-09-26 15:13:43 -04:00
trace.c wil6210: trace support 2013-05-22 15:08:27 -04:00
trace.h wil6210: Align WMI header with latest FW 2013-07-22 16:54:37 -04:00
txrx.c wil6210: correct #include for prefetch() 2014-01-16 14:55:43 -05:00
txrx.h wil6210: Enable TCP/UDP checksum HW offload 2013-07-22 16:54:44 -04:00
wil6210.h wil6210: interrupt moderation 2014-01-09 10:56:38 -05:00
wmi.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-08-28 13:51:40 -04:00
wmi.h wil6210: sync with new firmware 2013-03-13 14:26:21 -04:00