edac: ibecc: Fix return error type
Fix return error type. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
5469310628
commit
252ad12fe5
1 changed files with 4 additions and 4 deletions
|
@ -146,7 +146,7 @@ static inline int edac_inject_set_param2(const struct device *dev,
|
|||
* @retval -ENOSYS if the optional interface is not implemented
|
||||
* @retval 0 on success, error code otherwise
|
||||
*/
|
||||
static inline uint64_t edac_inject_get_param2(const struct device *dev,
|
||||
static inline int edac_inject_get_param2(const struct device *dev,
|
||||
uint64_t *value)
|
||||
{
|
||||
const struct edac_driver_api *api =
|
||||
|
@ -194,7 +194,7 @@ static inline int edac_inject_set_error_type(const struct device *dev,
|
|||
* @retval -ENOSYS if the optional interface is not implemented
|
||||
* @retval 0 on success, error code otherwise
|
||||
*/
|
||||
static inline uint32_t edac_inject_get_error_type(const struct device *dev,
|
||||
static inline int edac_inject_get_error_type(const struct device *dev,
|
||||
uint32_t *error_type)
|
||||
{
|
||||
const struct edac_driver_api *api =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue