As retval stores error code, it should be signed int.
Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
*/
int intel_sst_open(struct inode *i_node, struct file *file_ptr)
{
- unsigned int retval = intel_sst_check_device();
+ int retval = intel_sst_check_device();
if (retval)
return retval;
*/
int intel_sst_open_cntrl(struct inode *i_node, struct file *file_ptr)
{
- unsigned int retval = intel_sst_check_device();
+ int retval = intel_sst_check_device();
if (retval)
return retval;