[Accel-config] [PATCH v1 0/7] Refactor error handling at enable/disable wq/dev

ramesh.thomas at intel.com
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
From: Ramesh Thomas <ramesh.thomas(a)intel.com>

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 = "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(-)

-- 
2.26.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.