Content-Type: multipart/mixed; boundary="===============8797097996350340329==" MIME-Version: 1.0 From: Dave Jiang Subject: [Accel-config] Re: [PATCH v1 0/7] Refactor error handling at enable/disable wq/dev Date: Tue, 02 Mar 2021 21:23:39 -0700 Message-ID: <74dff4db-9c5d-9f50-82a4-84e8c020c978@intel.com> In-Reply-To: 20210302174442.206008-1-ramesh.thomas@intel.com To: accel-config@lists.01.org List-ID: --===============8797097996350340329== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 3/2/2021 10:44 AM, ramesh.thomas(a)intel.com wrote: > From: Ramesh Thomas > > Functions enabliing/disabling workqueues and devices had several issues > with status return and printing of error messages. Fix the return value > issues and refactor code to make error handling simpler. > > Ramesh Thomas (7): > accel-config: Fix wrong return values in accfg_device_get_cmd_status > accel-config: Refactor accfg_device_get_cmd_status_str > accel-config: Add 0 =3D "Successful completion" cmd status array > accel-config: Refactor handling printing of device cmd status > accel-config: Print device command status only on errors > accel-config: Remove redundant check of wq state > accel-config: Fix and refactor status return and printing > > accfg/enable.c | 125 ++++++++++++++----------------------------- > accfg/lib/libaccfg.c | 30 ++++------- > 2 files changed, 50 insertions(+), 105 deletions(-) Reviewed-by: Dave Jiang for the series. --===============8797097996350340329==--