aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorLi Zetao <[email protected]>2023-08-17 01:47:36 +0000
committerJuergen Gross <[email protected]>2023-08-21 07:55:11 +0000
commit035a69586f329e3e73750299695401e0c2b76ee2 (patch)
treef0e0eeb5cb5e47fa058727addbda3392a7aa700a /rust/helpers.c
parentxen: Switch to use kmemdup() helper (diff)
downloadkernel-035a69586f329e3e73750299695401e0c2b76ee2.tar.gz
kernel-035a69586f329e3e73750299695401e0c2b76ee2.zip
xen: xenbus: Use helper function IS_ERR_OR_NULL()
Use IS_ERR_OR_NULL() to detect an error pointer or a null pointer open-coding to simplify the code. Signed-off-by: Li Zetao <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions