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>] [day] [month] [year] [list]
Date:	Thu, 03 Apr 2008 08:48:51 +0200
From:	Jonas Bonn <jonas@...thpole.se>
To:	netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
	jgarzik@...ox.com
Subject: struct pci_device_id cleanups


In the "net" branch of my repo, there are a series of changesets that 
modify the definition of struct pci_device_id to use the macro 
DEFINE_PCI_DEVICE_TABLE.  All the changesets in the public tree are 
one-liners of the type:

-static struct pci_device_id myri10ge_pci_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(myri10ge_pci_tbl) = {
	...

The change to using this macro has two effects:
i)  Makes the structure 'const'
ii)  Puts the structure in section __devinitconst

Both these changes are as per the documentation.

Please pull and review these changes from the "net" branch at:

git://www.southpole.se/~jonas/git/linux.git

Regards,
Jonas


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ