diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 340fc78c8ddedd9e73b697fde9479ec285e8bbcf..5efe2399e8f848759ef5e1495063046abb0883c5 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c @@ -332,7 +332,7 @@ static ssize_t set_temp_crit_hyst(struct device *dev, { struct i2c_client *client = to_i2c_client(dev); struct jc42_data *data = i2c_get_clientdata(client); - long val; + unsigned long val; int diff, hyst; int err; int ret = count;