[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130830.175909.1743525148095642605.davem@davemloft.net>
Date: Fri, 30 Aug 2013 17:59:09 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: B38611@...escale.com
Cc: b20596@...escale.com, netdev@...r.kernel.org,
bhutchings@...arflare.com, l.stach@...gutronix.de
Subject: Re: [PATCH] net: fec: fix the error to get the previous BD entry
From: Fugang Duan <B38611@...escale.com>
Date: Fri, 30 Aug 2013 12:35:25 +0800
> When the current BD is the first BD, the previous BD entry
> must be the last BD, not "bdp - 1".
>
> Add BD entry check to get the previous BD entry correctly.
>
> Signed-off-by: Fugang Duan <B38611@...escale.com>
The correct fix is to put this logic into fec_enet_get_prevdesc().
With this current limitation, the function is completely useless.
--
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