> -----Original Message----- > From: Philippe Mathieu-Daudé [mailto:[email protected]] > Sent: Monday, November 20, 2023 11:04 PM > To: [email protected] > Cc: Zhenwei Pi <[email protected]>; Gonglei (Arei) > <[email protected]>; Markus Armbruster <[email protected]>; > Daniel P . Berrangé <[email protected]>; Philippe Mathieu-Daudé > <[email protected]>; [email protected] > 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: [email protected] > Fixes: e7a775fd9f ("cryptodev: Account statistics") > Fixes: 2580b452ff ("cryptodev: support QoS") > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > ---
Reviewed-by: Gonglei <[email protected]> Regards, -Gonglei
