From d6b0fbceace112b3553a50f086a0f21dc70b2b4a Mon Sep 17 00:00:00 2001 From: David Lee Date: Fri, 9 Sep 2022 13:25:17 +0800 Subject: [PATCH] a few typo fixes Signed-off-by: David Lee --- example/simple/src/main.c | 4 ++-- inc/ocf_mngt.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/simple/src/main.c b/example/simple/src/main.c index a644ff2..8c7ed61 100644 --- a/example/simple/src/main.c +++ b/example/simple/src/main.c @@ -94,7 +94,7 @@ int initialize_cache(ocf_ctx_t ctx, ocf_cache_t *cache) ocf_mngt_cache_config_set_default(&cache_cfg); cache_cfg.metadata_volatile = true; - /* Cache deivce (volume) configuration */ + /* Cache device (volume) configuration */ type = ocf_ctx_get_volume_type(ctx, VOL_TYPE); ret = ocf_uuid_set_str(&uuid, "cache"); if (ret) @@ -260,7 +260,7 @@ void complete_read(struct ocf_io *io, int error) { struct volume_data *data = ocf_io_get_data(io); - printf("WRITE COMPLETE (error: %d)\n", error); + printf("READ COMPLETE (error: %d)\n", error); printf("DATA: \"%s\"\n", (char *)data->ptr); /* Free data buffer and io */ diff --git a/inc/ocf_mngt.h b/inc/ocf_mngt.h index 97e6021..a98a7be 100644 --- a/inc/ocf_mngt.h +++ b/inc/ocf_mngt.h @@ -445,9 +445,9 @@ struct ocf_mngt_cache_attach_config { }; /** - * @brief Initialize core config to default values + * @brief Initialize attach config to default values * - * @note This function doesn't initiialize uuid and volume_type fields + * @note This function doesn't initialize uuid and volume_type fields * which have no default values and are required to be set by user. * * @param[in] cfg Cache device config stucture