mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [BUGs] must check return value of pci_map_single()/pci_map_page()
@ 2008-06-23 11:06 Marin Mitov
  0 siblings, 0 replies; only message in thread
From: Marin Mitov @ 2008-06-23 11:06 UTC (permalink / raw)
  To: linux-kernel, netdev

Hi all,

According to Documentation/DMA-mapping.txt one should
check the return value of pci_map_single()/pci_map_page()
using pci_dma_mapping_error(), but many drivers do not.
(I have checked in drivers/net/* for example).

Should we add __must_check in the definitions/declarations 
of these functions/macros "to force" the check?

Best regards

Marin Mitov

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-23 11:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-23 11:06 [BUGs] must check return value of pci_map_single()/pci_map_page() Marin Mitov

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

all inboxes | Powered by JetHome®