]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Fix csum_partial_copy_from_user()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Jul 2010 11:18:16 +0000 (12:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Jul 2010 11:18:16 +0000 (12:18 +0100)
commit0082bcf8b5b181d81fe74a2c1247005c0a5a2557
treea36f01e2e29446da9a90cd6f4d416ff9c790091a
parent03114966d3fc3255a0de234721f41b7a3e8bfb86
ARM: Fix csum_partial_copy_from_user()

Using the parent functions frame pointer to access our arguments is
completely wrong, whether or not we're building with frame pointers
or not.  What we should be using is the stack pointer to get at the
word above the registers we stacked ourselves.

Reported-by: Bosko Radivojevic <bosko.radivojevic@gmail.com>
Tested-by: Bosko Radivojevic <bosko.radivojevic@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/csumpartialcopyuser.S