block: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Wed, 6 Nov 2013 07:56:39 +0000 (15:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2013 16:05:31 +0000 (09:05 -0700)
commitc7d1ba417c7cb7297d14dd47a390ec90ce548d5c
tree72003dcbf182da96c017c453461368998ecd818d
parent8616ebb16bcef312024b9d28719f9bf5c5c3aafb
block: 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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/ioctl.c