On 02/27/2015 07:40 AM, Daniel Wagner wrote: > Hi Sebastian Hi Daniel,
> On 02/26/2015 09:48 AM, Sebastian Andrzej Siewior wrote: >> * Sebastian Andrzej Siewior | 2015-02-25 14:55:01 [+0100]: >> + >> +static int thermal_notify_work_init(void) >> +{ >> + int err; >> + >> + err = swork_get(); >> + if (!err) >> + return err; > > It think this should be: > > if (err) > return err; Makes sense. > > cheers, > daniel Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/