Skip to content

Fix some return value related issues

ramesh.thomas at intel.com accel-config 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5accel-config: Remove redundant functionutil/main.c+1 -380 replies
2/5accel-config: Make command handler return status instead of exiting outaccfg/accel-config.c util/main.c util/main.h+13 -60 replies
3/5accel-config: Check and return error if kernel module is not loadedaccfg/accel-config.c+41 -30 replies
4/5accel-config: Print error message associated with error at exitaccfg/accel-config.c+3 -00 replies
5/5accel-config: Print error message associated with error if enable failsaccfg/enable.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Accel-config] [PATCH v1 0/5] Fix some return value related issues

From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Adds handling of kernel module initialization and status returned from command handler and at place were batch enabling of devices are done.

Ramesh Thomas (5):
accel-config: Remove redundant function
accel-config: Make command handler return status instead of exiting
out
accel-config: Check and return error if kernel module is not loaded
accel-config: Print error message associated with error at exit
accel-config: Print error message associated with error if enable
fails

 accfg/accel-config.c | 54 ++++++++++++++++++++++++++++++++++++++++----
 accfg/enable.c       |  7 +++---
 util/main.c          | 45 +++++-------------------------------
 util/main.h          |  2 +-
 4 files changed, 60 insertions(+), 48 deletions(-)
Signature · 1 line
2.26.2