Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
nvme-cli.11415
0026-fabrics-don-t-fail-empty-discovery-log-pag...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0026-fabrics-don-t-fail-empty-discovery-log-page.patch of Package nvme-cli.11415
From: Sagi Grimberg <sagi@grimberg.me> Date: Fri, 31 Aug 2018 18:36:03 -0700 Subject: [PATCH] fabrics: don't fail empty discovery log page Git-commit: dac8d2c4d3a197a889eff3d7dd4c52678d75e2a8 References: bsc#1113400 It can be possible that discovery subsystem will not return any valid discovery records. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Keith Busch <keith.busch@intel.com> --- fabrics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fabrics.c b/fabrics.c index d13df24..23c5d22 100644 --- a/fabrics.c +++ b/fabrics.c @@ -766,7 +766,8 @@ static int do_discover(char *argstr, bool connect) fprintf(stderr, "Get discovery log entries failed.\n"); break; case DISC_NO_LOG: - fprintf(stderr, "No discovery log entries to fetch.\n"); + fprintf(stdout, "No discovery log entries to fetch.\n"); + ret = DISC_OK; break; case DISC_NOT_EQUAL: fprintf(stderr, -- 2.12.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor