summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-da9052.c
diff options
context:
space:
mode:
authorRusty Russell2013-07-15 03:54:08 +0200
committerRusty Russell2013-07-15 03:55:05 +0200
commit6b4f2b56a48c8ea9775bd2b29681725d4474367a (patch)
treebfafbd5af394d8d40064d51696ef4a0e3b8dd505 /drivers/rtc/rtc-da9052.c
parentstaging/zcache: don't use PTR_RET(). (diff)
downloadkernel-qcow2-linux-6b4f2b56a48c8ea9775bd2b29681725d4474367a.tar.gz
kernel-qcow2-linux-6b4f2b56a48c8ea9775bd2b29681725d4474367a.tar.xz
kernel-qcow2-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/rtc/rtc-da9052.c')
0 files changed, 0 insertions, 0 deletions