summaryrefslogtreecommitdiffstats
path: root/drivers/char/tile-srom.c
diff options
context:
space:
mode:
authorRusty Russell2013-07-15 03:49:32 +0200
committerRusty Russell2013-07-15 03:55:00 +0200
commit6e8b8726ad503214ba66e34aed69aff41de33489 (patch)
tree9afb3e333034b444888e32e786c8feac80442680 /drivers/char/tile-srom.c
parentLinux 3.11-rc1 (diff)
downloadkernel-qcow2-linux-6e8b8726ad503214ba66e34aed69aff41de33489.tar.gz
kernel-qcow2-linux-6e8b8726ad503214ba66e34aed69aff41de33489.tar.xz
kernel-qcow2-linux-6e8b8726ad503214ba66e34aed69aff41de33489.zip
PTR_RET is now PTR_ERR_OR_ZERO
True, it's often used in return statements, but after much bikeshedding it's probably better to have an explicit name. (I tried just putting the IS_ERR check inside PTR_ERR itself and gcc usually generated no more code. But that clashes current expectations of how PTR_ERR behaves, so having a separate function is better). Suggested-by: Julia Lawall <julia.lawall@lip6.fr> Suggested-by: "Michael S. Tsirkin" <mst@redhat.com> Cc: Julia Lawall <julia.lawall@lip6.fr> Cc: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char/tile-srom.c')
0 files changed, 0 insertions, 0 deletions