summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/params.c
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2024-08-28 14:23:36 +0200
committerJakub Kicinski <kuba@kernel.org>2024-08-29 20:42:24 +0200
commit4266563afbb1eb1735aa7063fe8ff6377991ae42 (patch)
treeb36999dc79d606ced4b64366da37bb113edfd51b /fs/overlayfs/params.c
parentnet: dsa: realtek: make use of dev_err_cast_probe() (diff)
downloadlinux-4266563afbb1eb1735aa7063fe8ff6377991ae42.tar.xz
linux-4266563afbb1eb1735aa7063fe8ff6377991ae42.zip
net: hns: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an error pointer checks to simplify the code and improve readability. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20240828122336.3697176-1-lihongbo22@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/overlayfs/params.c')
0 files changed, 0 insertions, 0 deletions