]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: use the wrapped PTR_ERR_OR_ZERO instead of open code
authorGao Xiang <gaoxiang25@huawei.com>
Mon, 30 Jul 2018 01:51:01 +0000 (09:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jul 2018 07:38:34 +0000 (09:38 +0200)
commit42c75b4aedc60b7320c07057a634c0fd4faf7949
treefb6790458baf9a87e1ffaf3120dc994c03ca7685
parentb65ced119e11dc7c8af833be19a8d84037f47eb2
staging: erofs: use the wrapped PTR_ERR_OR_ZERO instead of open code

Just clean up and logic doesn't change.

Link: https://lists.01.org/pipermail/kbuild-all/2018-July/050766.html
Fixes: d3c86057c018 ("staging: erofs: add namei functions")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/namei.c