https://github.com/torvalds/linux
Revision e0e13614626bfb5a88678fd951d728ed40e3cbf6 authored by Thadeu Lima de Souza Cascardo on 17 July 2013, 15:10:29 UTC, committed by Benjamin Herrenschmidt on 09 August 2013, 08:06:54 UTC
err was overwritten by a previous function call, and checked to be 0. If
the following page allocation fails, 0 is going to be returned instead
of -ENOMEM.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 2fb1067
History
Tip revision: e0e13614626bfb5a88678fd951d728ed40e3cbf6 authored by Thadeu Lima de Souza Cascardo on 17 July 2013, 15:10:29 UTC
powerpc/kvm/book3s_pr: Return appropriate error when allocation fails
Tip revision: e0e1361
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 253.7 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top