Skip to content
Snippets Groups Projects
Commit 3adc73ef authored by Shen Lichuan's avatar Shen Lichuan Committed by Juergen Gross
Browse files

xen/xenbus: Convert to use ERR_CAST()


Use ERR_CAST() as it is designed for casting an error pointer to
another type.

This macro utilizes the __force and __must_check modifiers, which instruct
the compiler to verify for errors at the locations where it is employed.

Signed-off-by: default avatarShen Lichuan <shenlichuan@vivo.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Message-ID: <20240829084710.30312-1-shenlichuan@vivo.com>
Signed-off-by: default avatarJuergen Gross <jgross@suse.com>
parent fbe5a6df
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment