Re: [PATCH 1/2] gianfar: handle map error in gfar_new_rxbdp()

2014-12-09 Thread David Miller
From: Arseny Solokha Date: Fri, 5 Dec 2014 17:37:53 +0700 > @@ -2854,7 +2866,15 @@ int gfar_clean_rx_ring(struct gfar_priv_rx_q > *rx_queue, int rx_work_limit) > rx_queue->rx_skbuff[rx_queue->skb_currx] = newskb; > > /* Setup the new bdp */ > - gfar_new

[PATCH 1/2] gianfar: handle map error in gfar_new_rxbdp()

2014-12-05 Thread Arseny Solokha
From: Arseny Solokha When DMA-API debugging is enabled in the kernel, it spews the following upon upping the link: fsl-gianfar ffe25000.ethernet: DMA-API: device driver failed to check map error[device address=0x05f41012] [size=90 bytes] [map- WARNING: at lib/dma-debug.c:1135 Modules li