kernel-ark/drivers
NeilBrown 284ae7cab0 [PATCH] md: Handle overflow of mdu_array_info_t->size better
mdu_array_info_t->size is 'int', which isn't big enough for the size (in KB of
each component in) some arrays.

So rather than a random overflow, set size to -1 when it cannot be set
correctly.

To update aspect on an array, userspace will sometimes:
  get_array_info
  change one field
  set_array_info

in this case, we don't want the '-1' in 'size' to change to size, or look like
a size change at all.  So test for that in update_array_info.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-03 08:31:59 -08:00
..
acorn
acpi [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
amba
atm
base [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
block [PATCH] USB: ub 05 Bulk reset 2006-01-31 17:23:36 -08:00
bluetooth [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
cdrom
char [PATCH] Fix RocketPort driver 2006-02-03 08:31:59 -08:00
connector
cpufreq [CPUFREQ] Get rid of userspace policy struct, make userspace gov _PPC safe. 2006-01-27 10:36:49 -08:00
crypto
dio
edac [PATCH] EDAC: core EDAC support code 2006-01-18 19:20:31 -08:00
eisa
fc4
firmware [PATCH] dell_rbu: fix Bug 5854 2006-01-14 18:27:13 -08:00
hwmon
i2c
ide [PATCH] Fix sgiioc4 DMA timeout problem with 64KiB s/g elements. 2006-02-02 01:14:46 -08:00
ieee1394 Actually remove amdtp.[ch], cmp.[ch]. 2006-01-16 19:21:57 -05:00
infiniband IB/mthca: Semaphore to mutex conversions 2006-01-30 16:45:11 -08:00
input Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2006-01-31 21:18:17 -08:00
isdn [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
macintosh [PATCH] MODALIAS= for macio 2006-02-01 08:53:19 -08:00
mca
md [PATCH] md: Handle overflow of mdu_array_info_t->size better 2006-02-03 08:31:59 -08:00
media [PATCH] fix saa7146 kobject register failure 2006-02-01 08:53:14 -08:00
message [SCSI] fusion: add message sanity check 2006-01-31 14:40:05 -06:00
mfd
misc [SERIAL] Remove UPF_AUTOPROBE and UPF_BOOT_ONLYMCA 2006-01-21 20:06:14 +00:00
mmc Merge master.kernel.org:/home/rmk/linux-2.6-mmc 2006-01-14 19:44:01 -08:00
mtd [PATCH] tsunami_flash: fix "parse error before ';' token" 2006-02-01 08:53:10 -08:00
net [PATCH] ipw2200: fix ->eeprom[EEPROM_VERSION] check 2006-02-01 08:53:11 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
pcmcia
pnp Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa 2006-02-01 22:08:23 -08:00
rapidio
s390 [PATCH] ebcdic do_kdsk_ioctl off-by-one 2006-02-01 08:53:25 -08:00
sbus [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
scsi [PATCH] ide-scsi: fix for IDE probe/remove ops changes 2006-02-01 08:53:09 -08:00
serial Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2006-02-01 22:06:15 -08:00
sh
sn [PATCH] Altix ioc3: correct export call 2006-02-01 08:53:25 -08:00
spi [PATCH] SPI: add spi_butterfly driver 2006-01-13 16:29:56 -08:00
tc
telephony
usb Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2006-01-31 21:18:17 -08:00
video [PATCH] i810fb: Do not probe the third i2c bus by default 2006-02-01 08:53:27 -08:00
w1
zorro
Kconfig [PATCH] EDAC: core EDAC support code 2006-01-18 19:20:31 -08:00
Makefile [PATCH] EDAC: core EDAC support code 2006-01-18 19:20:31 -08:00