[PATCH 3.12 41/78] parisc: Fix kernel crash with reversed copy_from_user()

2016-04-22 Thread Jiri Slaby
From: Helge Deller 3.12-stable review patch. If anyone has any objections, please let me know. === commit ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 upstream. The kernel module testcase (lib/test_user_copy.c) exhibited a kernel crash on parisc if the parameters for

[PATCH 3.12 41/78] parisc: Fix kernel crash with reversed copy_from_user()

2016-04-22 Thread Jiri Slaby
From: Helge Deller 3.12-stable review patch. If anyone has any objections, please let me know. === commit ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 upstream. The kernel module testcase (lib/test_user_copy.c) exhibited a kernel crash on parisc if the parameters for copy_from_user