提交 f47e81fc 编写于 作者: B Becky Bruce 提交者: Jeff Garzik

e1000e: use resource_size_t, not unsigned long, for phys addrs

The use of unsigned long causes the driver to fail on 32-bit systems
which support 64-bit resources.
Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 3d60efb5
......@@ -4201,8 +4201,8 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
struct e1000_adapter *adapter;
struct e1000_hw *hw;
const struct e1000_info *ei = e1000_info_tbl[ent->driver_data];
unsigned long mmio_start, mmio_len;
unsigned long flash_start, flash_len;
resource_size_t mmio_start, mmio_len;
resource_size_t flash_start, flash_len;
static int cards_found;
int i, err, pci_using_dac;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册