nvme/opal: don't print error log for dirves that don't support OPAL
Fix issue #2230. Change-Id: I3df18e12f26bdfcad0c9e50bd5b5ddd3049f0946 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10139 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: <junx.wen@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
8f633fa1c3
commit
af31c4c928
@ -825,7 +825,7 @@ opal_discovery0_end(struct spdk_opal_dev *dev, void *payload, uint32_t payload_s
|
||||
}
|
||||
|
||||
if (supported == false) {
|
||||
SPDK_ERRLOG("Opal Not Supported.\n");
|
||||
SPDK_INFOLOG(opal, "Opal Not Supported.\n");
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user