android_kernel_google_msm/arch
CQ Tang 56d833d3ed x86-64: Fix the failure case in copy_user_handle_tail()
commit 66db3feb48 upstream.

The increment of "to" in copy_user_handle_tail() will have incremented
before a failure has been noted.  This causes us to skip a byte in the
failure case.

Only do the increment when assured there is no failure.

Signed-off-by: CQ Tang <cq.tang@intel.com>
Link: http://lkml.kernel.org/r/20130318150221.8439.993.stgit@phlsvslse11.ph.intel.com
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-28 12:12:26 -07:00
..
alpha
arm ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK to include NSH bit 2013-03-14 11:29:50 -07:00
avr32
blackfin
c6x
cris CRIS: fix I/O macros 2013-01-11 09:07:17 -08:00
frv
h8300
hexagon
ia64
m32r
m68k
microblaze
mips MIPS: Fix poweroff failure when HOTPLUG_CPU configured. 2013-01-17 08:50:42 -08:00
mn10300
openrisc
parisc Purge existing TLB entries in set_pte_at and ptep_set_wrprotect 2013-02-28 06:59:05 -08:00
powerpc powerpc: Fix cputable entry for 970MP rev 1.0 2013-03-20 13:04:59 -07:00
s390 s390/mm: fix flush_tlb_kernel_range() 2013-03-20 13:05:00 -07:00
score
sh sh: Fix FDPIC binary loader 2013-01-21 11:45:14 -08:00
sparc sparc: huge_ptep_set_* functions need to call set_huge_pte_at() 2013-01-11 09:06:59 -08:00
tile
um
unicore32
x86 x86-64: Fix the failure case in copy_user_handle_tail() 2013-03-28 12:12:26 -07:00
xtensa
.gitignore
Kconfig