bdev/crypto: add missing newlines to error messages
Change-Id: Id3c60e5e8a5bd9f34a65d8ba99937223a1e3bc38 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/430409 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
8f06e9528d
commit
544e863db1
@ -305,7 +305,7 @@ vbdev_crypto_init_crypto_drivers(void)
|
||||
|
||||
rc = rte_cryptodev_configure(cdev_id, &conf);
|
||||
if (rc < 0) {
|
||||
SPDK_ERRLOG("Failed to configure cryptodev %u", cdev_id);
|
||||
SPDK_ERRLOG("Failed to configure cryptodev %u\n", cdev_id);
|
||||
rc = -EINVAL;
|
||||
goto error_dev_config;
|
||||
}
|
||||
@ -325,7 +325,7 @@ vbdev_crypto_init_crypto_drivers(void)
|
||||
|
||||
if (rc < 0) {
|
||||
SPDK_ERRLOG("Failed to setup queue pair %u on "
|
||||
"cryptodev %u", j, cdev_id);
|
||||
"cryptodev %u\n", j, cdev_id);
|
||||
rc = -EINVAL;
|
||||
goto error_qp_setup;
|
||||
}
|
||||
@ -858,12 +858,12 @@ _complete_internal_read(struct spdk_bdev_io *bdev_io, bool success, void *cb_arg
|
||||
orig_ctx->read_io = bdev_io;
|
||||
|
||||
if (_crypto_operation(orig_io, RTE_CRYPTO_CIPHER_OP_DECRYPT)) {
|
||||
SPDK_ERRLOG("ERROR decrypting");
|
||||
SPDK_ERRLOG("ERROR decrypting\n");
|
||||
spdk_bdev_io_complete(orig_io, SPDK_BDEV_IO_STATUS_FAILED);
|
||||
spdk_bdev_free_io(bdev_io);
|
||||
}
|
||||
} else {
|
||||
SPDK_ERRLOG("ERROR on read prior to decrypting");
|
||||
SPDK_ERRLOG("ERROR on read prior to decrypting\n");
|
||||
spdk_bdev_io_complete(orig_io, SPDK_BDEV_IO_STATUS_FAILED);
|
||||
spdk_bdev_free_io(bdev_io);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user