diff options
| author | Fengguang Wu <[email protected]> | 2018-02-06 00:25:16 +0800 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2018-02-26 12:45:20 +0100 |
| commit | b5095f24e791c2d05da7cbb3d99e2b420b36a273 (patch) | |
| tree | 45db7f1898ce4925a19d62dfe15644e591b0b8d6 /tools/perf/util/c++/clang-test.cpp | |
| parent | 7168179fcf25f7812e8541decac686a91359e522 (diff) | |
ovl: fix ptr_ret.cocci warnings
fs/overlayfs/export.c:459:10-16: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Fixes: 4b91c30a5a19 ("ovl: lookup connected ancestor of dir in inode cache")
CC: Amir Goldstein <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions