[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <033ad52d-f8b7-4dc1-9ddf-09d18eb7f915@suse.com>
Date: Tue, 10 Sep 2024 15:49:09 +0200
From: Jürgen Groß <jgross@...e.com>
To: Shen Lichuan <shenlichuan@...o.com>, sstabellini@...nel.org
Cc: oleksandr_tyshchenko@...m.com, xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH v1] xen/xenbus: Convert to use ERR_CAST()
On 29.08.24 10:47, Shen Lichuan wrote:
> 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: Shen Lichuan <shenlichuan@...o.com>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3684 bytes)
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists