linux/drivers
Jeff Garzik 1855256c49 drivers/firmware: const-ify DMI API and internals
Three main sets of changes:

1) dmi_get_system_info() return value should have been marked const,
   since callers should not be changing that data.

2) const-ify DMI internals, since DMI firmware tables should,
   whenever possible, be marked const to ensure we never ever write to
   that data area.

3) const-ify DMI API, to enable marking tables const where possible
   in low-level drivers.

And if we're really lucky, this might enable some additional
optimizations on the part of the compiler.

The bulk of the changes are #2 and #3, which are interrelated.  #1 could
have been a separate patch, but it was so small compared to the others,
it was easier to roll it into this changeset.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2007-10-09 20:22:20 -04:00
..
acorn/char
acpi drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
amba
ata drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
atm
auxdisplay
base Driver core: fix SYSF_DEPRECATED breakage for nested classdevs 2007-10-07 16:42:22 -07:00
block Fix "Fix DAC960 driver on machines which don't support 64-bit DMA" 2007-09-19 11:24:16 -07:00
bluetooth
cdrom cdrom_open() forgets to unlock on -EROFS failure exits 2007-09-26 08:20:44 +02:00
char drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firewire firewire: point to migration document 2007-10-07 13:48:41 +02:00
firmware drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
hid
hwmon drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
i2c
ide drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
ieee1394 ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
infiniband IB/mlx4: Fix data corruption triggered by wrong headroom marking order 2007-09-23 13:03:22 -07:00
input drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
isdn ISDN: Fix data access out of array bounds 2007-10-08 13:01:21 -07:00
kvm KVM: Fix virtualization menu help text 2007-09-22 12:55:18 -07:00
leds
lguest fix modules oopsing in lguest guests 2007-09-25 08:51:04 -07:00
macintosh
mca
md raid5: fix 2 bugs in ops_complete_biofill 2007-09-24 13:23:35 -07:00
media V4L/DVB (6052): ivtv: fix udma yuv bug 2007-09-30 10:31:34 -03:00
message
mfd
misc drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
mmc
mtd pci: fix unterminated pci_device_id lists 2007-09-19 11:24:17 -07:00
net r8169: revert part of 6dccd16b7c 2007-10-05 14:05:48 -04:00
nubus
of
oprofile
parisc
parport
pci Fix bogus PCI quirk for e100 2007-09-28 16:21:10 -07:00
pcmcia
pnp drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
power [PATCH] missing null termination in power supply uevent 2007-09-21 01:22:23 +04:00
ps3
rapidio
rtc rtc: rtc-ds1553.c should use resource_size_t for base address 2007-09-19 11:24:17 -07:00
s390
sbus
scsi [SCSI] megaraid_old: fix READ_CAPACITY 2007-10-04 12:08:49 -04:00
serial Add manufacturer and card id of teltonica pcmcia modems 2007-10-07 16:28:43 -07:00
sh
sn
spi
tc
telephony
uio
usb drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
video drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
w1 missing null termination in one wire uevent 2007-09-25 08:51:04 -07:00
xen
zorro
Kconfig
Makefile