[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081009.122649.209282055.davem@davemloft.net>
Date: Thu, 09 Oct 2008 12:26:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: netdev@...r.kernel.org, benli@...adcom.com
Subject: Re: [PATCH net-next 5/6] bnx2: Handle DMA mapping errors.
From: "Michael Chan" <mchan@...adcom.com>
Date: Thu, 9 Oct 2008 10:16:07 -0700
> Before, the driver would not care about the return codes from pci_map_*
> functions. This could be potentially dangerous if a mapping failed.
> Now, we will check all pci_map_* calls. On the transmit side, we switch
> to use the new function skb_dma_map(). On the receive side, we add
> pci_dma_mapping_error().
>
> Signed-off-by: Benjamin Li <benli@...adcom.com>
> Signed-off-by: Michael Chan <mchan@...adcom.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists