Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754620AbbB0H6c (ORCPT ); Fri, 27 Feb 2015 02:58:32 -0500 Received: from www.linutronix.de ([62.245.132.108]:51934 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbbB0H6b (ORCPT ); Fri, 27 Feb 2015 02:58:31 -0500 Message-ID: <54F023A4.7040308@linutronix.de> Date: Fri, 27 Feb 2015 08:58:28 +0100 From: Sebastian Andrzej Siewior User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Daniel Wagner , 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> <54F01145.4050408@monom.org> In-Reply-To: <54F01145.4050408@monom.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 33 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 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/