kernel-ark/arch/powerpc/platforms
Jeremy Kerr d219889b76 powerpc/spufs: Check file offset before calculating write size in fixed-sized files
Based on an original patch from Roel Kluin <roel.kluin@gmail.com>.

The write size calculated during regs and fpcr writes may currently
go negative. Because size is unsigned, this will wrap, and our
check for EFBIG will fail.

Instead, do the check for EFBIG before subtracting from size.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-03-11 17:11:32 +11:00
..
8xx powerpc: Add support for the MPC852 based mgsuvd board from keymile. 2008-09-16 10:01:30 -05:00
40x powerpc: Introduce ppc_pci_flags accessors 2008-12-16 15:53:16 +11:00
44x AMCC PPC 460SX redwood SoC platform initial framework 2009-02-14 14:41:29 -05:00
52xx powerpc/5200: Add 'simple-bus' to the of_platform probe list. 2009-02-26 23:19:36 -07:00
82xx arch/powerpc: Eliminate double sizeof 2009-02-06 10:44:28 -06:00
83xx powerpc/83xx: Do not configure or probe disabled FSL DR USB controllers 2009-03-09 09:25:37 -05:00
85xx powerpc/85xx: Add local_irq_restore in error handling code 2008-12-30 11:35:30 -06:00
86xx Merge commit 'origin/master' into next 2009-03-11 17:10:07 +11:00
512x powerpc/mpc5121: fix NULL test in mpc5121_clk_get utility function. 2009-01-09 15:49:04 -07:00
amigaone powerpc/amigaone: Add platform support for AmigaOne 2009-02-11 16:00:08 +11:00
cell powerpc/spufs: Check file offset before calculating write size in fixed-sized files 2009-03-11 17:11:32 +11:00
chrp powerpc: Disable mv643xx Ethernet port 0 on Pegasos 2009-02-11 16:00:08 +11:00
embedded6xx powerpc: Remove default kexec/crash_kernel ops assignments 2008-12-23 15:13:28 +11:00
iseries powerpc: Wire up /proc/vmallocinfo to our ioremap() 2009-03-11 17:10:14 +11:00
maple powerpc: Remove default kexec/crash_kernel ops assignments 2008-12-23 15:13:28 +11:00
pasemi powerpc: Fix cpufreq drivers after cpufreq core changes 2009-01-11 21:32:01 -08:00
powermac powerpc: Estimate G5 cpufreq transition latency 2009-03-11 17:10:13 +11:00
prep
ps3 powerpc/ps3: Print memory hotplug errors 2009-03-11 17:10:17 +11:00
pseries powerpc/pseries: Implement a quota system for MSIs 2009-02-23 15:53:03 +11:00
fsl_uli1575.c powerpc: Fix the ide suspend function in uli1575 2009-01-07 09:18:52 -06:00
Kconfig powerpc/cell: Fix dependency in cpufreq 2009-02-23 15:53:02 +11:00
Kconfig.cputype powerpc/book-3e: Introduce concept of Book-3e MMU 2009-02-12 16:51:33 -06:00
Makefile powerpc/amigaone: Add platform support for AmigaOne 2009-02-11 16:00:08 +11:00