Netdev List
 help / color / mirror / Atom feed
* [PATCH 3.8 0/5 V2] Fixes for WARNINGS due to unchecked DMA mapping calls
@ 2012-12-27 16:37 Larry Finger
       [not found] ` <1356626252-4058-1-git-send-email-Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Larry Finger @ 2012-12-27 16:37 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, Larry Finger, netdev

Beginning with kernel 3.8, the DMA mapping systems begins issuing a WARNING for
the first call that maps DMA and fails to call dma_mapping_error() to check
the result. This set of patches adds the appropriate checks to the rtlwifi
family of drivers.

V2 fixes a copy-and-paste error in patch 4/5. All others are unchanged.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

Larry Finger (5):
  rtlwifi: Fix warning for unchecked pci_map_single() call
  rtlwifi: rtl8192ce: Fix warning for unchecked pci_map_single() call
  rtlwifi: rtl8192de: Fix warning for unchecked pci_map_single() call
  rtlwifi: rtl8192se: Fix warning for unchecked pci_map_single() call
  rtlwifi: rtl8723ae: Fix warning for unchecked pci_map_single() call

 drivers/net/wireless/rtlwifi/pci.c           |    6 ++++++
 drivers/net/wireless/rtlwifi/rtl8192ce/trx.c |   11 +++++++++++
 drivers/net/wireless/rtlwifi/rtl8192de/trx.c |   10 ++++++++++
 drivers/net/wireless/rtlwifi/rtl8192se/trx.c |   13 ++++++++++++-
 drivers/net/wireless/rtlwifi/rtl8723ae/trx.c |   12 ++++++++++++
 5 files changed, 51 insertions(+), 1 deletion(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-27 16:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 16:37 [PATCH 3.8 0/5 V2] Fixes for WARNINGS due to unchecked DMA mapping calls Larry Finger
     [not found] ` <1356626252-4058-1-git-send-email-Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>
2012-12-27 16:37   ` [PATCH 3.8 1/5 V2] rtlwifi: Fix warning for unchecked pci_map_single() call Larry Finger
2012-12-27 16:37 ` [PATCH 3.8 2/5 V2] rtlwifi: rtl8192ce: " Larry Finger
2012-12-27 16:37 ` [PATCH 3.8 3/5 V2] rtlwifi: rtl8192de: " Larry Finger
2012-12-27 16:37 ` [PATCH 3.8 4/5 V2] rtlwifi: rtl8192se: " Larry Finger
2012-12-27 16:37 ` [PATCH 3.8 5/5 V2] rtlwifi: rtl8723ae: " Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox