diff --git a/inc/ocf_err.h b/inc/ocf_err.h index 513e428..90d9811 100644 --- a/inc/ocf_err.h +++ b/inc/ocf_err.h @@ -15,8 +15,10 @@ * @brief OCF error enumerator */ typedef enum { + OCF_ERR_MIN = 1000000, + /** Invalid input parameter value */ - OCF_ERR_INVAL = 1000000, + OCF_ERR_INVAL = OCF_ERR_MIN, /** Try again */ OCF_ERR_AGAIN, @@ -137,6 +139,8 @@ typedef enum { /** Invalid operation for cache in standby state. */ OCF_ERR_CACHE_STANDBY, + + OCF_ERR_MAX = OCF_ERR_CACHE_STANDBY, } ocf_error_t; #endif /* __OCF_ERR_H__ */