]> git.karo-electronics.de Git - linux-beck.git/commit
rbd: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 11 Apr 2014 08:38:12 +0000 (16:38 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:51 +0000 (09:29 +0800)
commit461f758ac0bad40fe8e0959f415dae38efa16c12
treed14a3debaef29f9e3645bc89b2f4e5065a5054ad
parentc6bcda6f525129b1df169f77d96a4b0972e1ecb1
rbd: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

This patch fixes coccinelle error regarding usage of IS_ERR and
PTR_ERR instead of PTR_ERR_OR_ZERO.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
drivers/block/rbd.c