Spdk/examples
Jim Harris a27756993c identify: fix set-but-not-used error
Fixes: 5ef79a17ec (add an option to dump the full zns zone report)

max_zones_per_buf was only used in an assert.  Per-patch
testing doesn't do a release build, so this wasn't found
until running nightly tests.

So rework the code a bit to print error message and exit
instead of this unexpected condition occurs.

While here, change another error message to use stderr
instead of stdout.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I2c2893089cc82f76d7dd6b569952dd4a9f907ebc
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5949
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2021-01-15 22:44:31 +00:00
..
accel examples/accel_perf: move some code around in prep for upcoming patches 2021-01-12 08:06:53 +00:00
bdev bdev/fio_plugin: add support for DDIR_SYNC 2021-01-07 13:36:08 +00:00
blob build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
interrupt_tgt intr_tgt: interruptable libs shown by modules.mk 2021-01-15 08:31:42 +00:00
ioat build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvme identify: fix set-but-not-used error 2021-01-15 22:44:31 +00:00
nvmf build: add ufc to SYS_LIBS in spdk.common.mk 2020-12-28 13:32:06 +00:00
sock build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile intr_tgt: interruptable libs shown by modules.mk 2021-01-15 08:31:42 +00:00