Commit 366980cc authored by Jacek Kalwas's avatar Jacek Kalwas Committed by Tomasz Zawadzki
Browse files

accel: align err msgs with other already exisitng



Signed-off-by: default avatarJacek Kalwas <jacek.kalwas@intel.com>
Change-Id: If9702ec4eae9bb6deaf2ce17a960d61675601d61
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18247


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
parent b1e2bdca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2077,7 +2077,7 @@ spdk_accel_crypto_key_create(const struct spdk_accel_crypto_key_create_param *pa
	}

	if (!module->crypto_key_init || !module->crypto_supports_cipher) {
		SPDK_ERRLOG("Accel module \"%s\" doesn't support crypto operations\n", module->name);
		SPDK_ERRLOG("Module %s doesn't support crypto operations\n", module->name);
		return -ENOTSUP;
	}

@@ -2305,7 +2305,7 @@ void
spdk_accel_module_list_add(struct spdk_accel_module_if *accel_module)
{
	if (_module_find_by_name(accel_module->name)) {
		SPDK_NOTICELOG("Accel module %s already registered\n", accel_module->name);
		SPDK_NOTICELOG("Module %s already registered\n", accel_module->name);
		assert(false);
		return;
	}