Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753862AbbB0GkO (ORCPT ); Fri, 27 Feb 2015 01:40:14 -0500 Received: from mail-we0-f171.google.com ([74.125.82.171]:38730 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753145AbbB0GkM (ORCPT ); Fri, 27 Feb 2015 01:40:12 -0500 Message-ID: <54F01145.4050408@monom.org> Date: Fri, 27 Feb 2015 07:40:05 +0100 From: Daniel Wagner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Sebastian Andrzej Siewior , Joakim Hernberg CC: John Kacur , linux-rt-users , LKML , Thomas Gleixner , rostedt@goodmis.org Subject: Re: [ANNOUNCE] 3.18.7-rt1 References: <20150216111822.GA21649@linutronix.de> <54E2FDD8.8090008@monom.org> <20150219103601.7e40d0af@tor.valhalla.alchemy.lu> <20150225135501.GA6823@linutronix.de> <20150226084850.GA12992@linutronix.de> In-Reply-To: <20150226084850.GA12992@linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 570 Lines: 26 Hi Sebastian 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; cheers, daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/