diff options
| author | Dan Carpenter <[email protected]> | 2010-04-23 17:18:10 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-04-24 18:31:26 +0000 |
| commit | 22eccdd7d2d94be48ae9b01fef5f52ccbb81dcd5 (patch) | |
| tree | 346ba02239f0d3a1ed5d1d09fc3d323c29202270 /lib/debugobjects.c | |
| parent | VMware Balloon driver (diff) | |
| download | kernel-22eccdd7d2d94be48ae9b01fef5f52ccbb81dcd5.tar.gz kernel-22eccdd7d2d94be48ae9b01fef5f52ccbb81dcd5.zip | |
ksm: check for ERR_PTR from follow_page()
The follow_page() function can potentially return -EFAULT so I added
checks for this.
Also I silenced an uninitialized variable warning on my version of gcc
(version 4.3.2).
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Acked-by: Izik Eidus <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
