lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 05 Jun 2008 18:14:04 +0200
From:	"Jorge Boncompte [DTI2]" <jorge@...2.net>
To:	netdev@...r.kernel.org
CC:	chas williams <chas@....nrl.navy.mil>
Subject: [PATCH][ATM] iphase: set drvdata before enabling interrupts


Signed-off-by: Jorge Boncompte [DTI2] <jorge@...2.net>
---
  drivers/atm/iphase.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index a51b7cb..92fce28 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -3197,6 +3197,8 @@ static int __devinit ia_init_one(struct pci_dev *pdev,
  	IF_INIT(printk("dev_id = 0x%x iadev->LineRate = %d \n", (u32)dev,
  		iadev->LineRate);)

+	pci_set_drvdata(pdev, dev);
+
  	ia_dev[iadev_count] = iadev;
  	_ia_dev[iadev_count] = dev;
  	iadev_count++;
@@ -3213,8 +3215,6 @@ static int __devinit ia_init_one(struct pci_dev *pdev,
  	iadev->next_board = ia_boards;
  	ia_boards = dev;

-	pci_set_drvdata(pdev, dev);
-
  	return 0;

  err_out_deregister_dev:
-- 

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ