Typo fixes

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski 2020-03-17 16:29:04 +01:00
parent 22bdb8b004
commit d84942daa3
3 changed files with 3 additions and 3 deletions

View File

@ -178,7 +178,7 @@ static inline void ocf_core_submit_io(struct ocf_io *io)
* @param[in] io IO to be submitted * @param[in] io IO to be submitted
* *
* @retval 0 IO has been submitted successfully * @retval 0 IO has been submitted successfully
* @retval Non-zero Fast submit failed. Try to submit IO with ocf_submit_io() * @retval Non-zero Fast submit failed. Try to submit IO with ocf_core_submit_io()
*/ */
int ocf_core_submit_io_fast(struct ocf_io *io); int ocf_core_submit_io_fast(struct ocf_io *io);

View File

@ -85,7 +85,7 @@ static const struct ocf_io_if IO_IFS[OCF_IO_PRIV_MAX_IF] = {
.write = ocf_discard, .write = ocf_discard,
.name = "Discard", .name = "Discard",
}, },
[OCF_IO_D2C_IF] = { [OCF_IO_D2C_IF] = {
.read = ocf_io_d2c, .read = ocf_io_d2c,
.write = ocf_io_d2c, .write = ocf_io_d2c,
.name = "Direct to core", .name = "Direct to core",

View File

@ -405,7 +405,7 @@ static void _ocf_engine_clean_end(void *private_data, int error)
} }
} }
static int ocf_engine_evict(struct ocf_request *req) static int ocf_engine_evict(struct ocf_request *req)
{ {
if (!ocf_engine_unmapped_count(req)) if (!ocf_engine_unmapped_count(req))
return 0; return 0;