mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 14:21:35 +00:00
Addition of -fwrapv option in 2.6.29 discloses possible overflow with signed arithmetics. For example, result of "a * 6 / 12" (int a = 400000000) is 200000000 without -fwrapv but -157913941 with -fwrapv. Change some variable to unsigned to avoid such overflows. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
|---|---|---|
| .. | ||
| 7segled.c | ||
| irq_tx3927.c | ||
| irq_tx4927.c | ||
| irq_tx4938.c | ||
| irq_tx4939.c | ||
| Makefile | ||
| mem_tx4927.c | ||
| pci.c | ||
| setup_tx3927.c | ||
| setup_tx4927.c | ||
| setup_tx4938.c | ||
| setup_tx4939.c | ||
| setup.c | ||
| smsc_fdc37m81x.c | ||
| spi_eeprom.c | ||