Date: Sat, 9 Feb 2013 04:13:45 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246581 - head/sys/ofed/drivers/net/mlx4 Message-ID: <201302090413.r194DjI0071573@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sat Feb 9 04:13:45 2013 New Revision: 246581 URL: http://svnweb.freebsd.org/changeset/base/246581 Log: Fix LINT build on amd64. Modified: head/sys/ofed/drivers/net/mlx4/en_tx.c Modified: head/sys/ofed/drivers/net/mlx4/en_tx.c ============================================================================== --- head/sys/ofed/drivers/net/mlx4/en_tx.c Sat Feb 9 02:57:37 2013 (r246580) +++ head/sys/ofed/drivers/net/mlx4/en_tx.c Sat Feb 9 04:13:45 2013 (r246581) @@ -936,16 +936,16 @@ mlx4_en_transmit_locked(struct ifnet *de return (err); } /* Process the queue */ - while ((next = drbr_peek(ifp, ring->br)) != NULL) { + while ((next = drbr_peek(dev, ring->br)) != NULL) { if ((err = mlx4_en_xmit(dev, tx_ind, &next)) != 0) { if (next == NULL) { - drbr_advance(ifp, ring->br); + drbr_advance(dev, ring->br); } else { - drbr_putback(ifp, ring->br, next); + drbr_putback(dev, ring->br, next); } break; } - drbr_advance(ifp, ring->br); + drbr_advance(dev, ring->br); enqueued++; dev->if_obytes += next->m_pkthdr.len; if (next->m_flags & M_MCAST)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302090413.r194DjI0071573>