Message ID | 1330584046-3938-1-git-send-email-roland@kernel.org |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Roland Dreier <roland@kernel.org> Date: Wed, 29 Feb 2012 22:40:46 -0800 > From: Roland Dreier <roland@purestorage.com> > > Signed-off-by: Roland Dreier <roland@purestorage.com> Applied. I assume you are aware of the same issue in the be2iscsi driver. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Mar 1, 2012 at 2:22 PM, David Miller <davem@davemloft.net> wrote:
> I assume you are aware of the same issue in the be2iscsi driver.
Yeah, patch already sent:
http://www.spinics.net/lists/linux-scsi/msg57754.html
but the SCSI maintainer is not as responsive as the networking one ;)
- R.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index cbdec25..cca5c0e 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -428,10 +428,6 @@ extern const struct ethtool_ops be_ethtool_ops; ((u32)((((size_t)(_address) & (PAGE_SIZE_4K - 1)) + \ (size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K)) -/* Byte offset into the page corresponding to given address */ -#define OFFSET_IN_PAGE(addr) \ - ((size_t)(addr) & (PAGE_SIZE_4K-1)) - /* Returns bit offset within a DWORD of a bitfield */ #define AMAP_BIT_OFFSET(_struct, field) \ (((size_t)&(((_struct *)0)->field))%32)