> -----Original Message-----
> From: Philippe Mathieu-Daudé [mailto:phi...@linaro.org]
> Sent: Monday, November 20, 2023 11:04 PM
> To: qemu-devel@nongnu.org
> Cc: Zhenwei Pi <pizhen...@bytedance.com>; Gonglei (Arei)
> <arei.gong...@huawei.com>; Markus Armbruster <arm...@redhat.com>;
> Daniel P . Berrangé <berra...@redhat.com>; Philippe Mathieu-Daudé
> <phi...@linaro.org>; qemu-sta...@nongnu.org
> Subject: [PATCH-for-8.2 v2] backends/cryptodev: Do not ignore
> throttle/backends Errors
> 
> Both cryptodev_backend_set_throttle() and CryptoDevBackendClass::init() can
> set their Error** argument. Do not ignore them, return early on failure. Use
> the ERRP_GUARD() macro as suggested in commit ae7c80a7bd
> ("error: New macro ERRP_GUARD()").
> 
> Cc: qemu-sta...@nongnu.org
> Fixes: e7a775fd9f ("cryptodev: Account statistics")
> Fixes: 2580b452ff ("cryptodev: support QoS")
> Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
> ---

Reviewed-by: Gonglei <arei.gong...@huawei.com>


Regards,
-Gonglei

Reply via email to