diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-15 11:24:08 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-15 11:25:05 +0930 |
commit | 6b4f2b56a48c8ea9775bd2b29681725d4474367a (patch) | |
tree | bfafbd5af394d8d40064d51696ef4a0e3b8dd505 /drivers/fmc/fmc-fakedev.c | |
parent | 8a1d41cfeaf59a07acc7b1b3620ad6aa5cf47dc2 (diff) | |
download | linux-6b4f2b56a48c8ea9775bd2b29681725d4474367a.tar.gz linux-6b4f2b56a48c8ea9775bd2b29681725d4474367a.tar.bz2 linux-6b4f2b56a48c8ea9775bd2b29681725d4474367a.zip |
mm/oom_kill: remove weird use of ERR_PTR()/PTR_ERR().
The normal expectation for ERR_PTR() is to put a negative errno into a
pointer. oom_kill puts the magic -1 in the result (and has since
pre-git), which is probably clearer with an explicit cast.
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/fmc/fmc-fakedev.c')
0 files changed, 0 insertions, 0 deletions