From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53490 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbdEERoz (ORCPT ); Fri, 5 May 2017 13:44:55 -0400 Date: Fri, 5 May 2017 10:44:33 -0700 From: Greg KH To: Arnd Bergmann Cc: stable@vger.kernel.org, Benjamin Romer Subject: Re: [PATCH 8/9] [3.18-stable] staging: unisys: correctly handle return value from queue_delayed_work() Message-ID: <20170505174433.GA6062@kroah.com> References: <20170505115725.1424772-1-arnd@arndb.de> <20170505115725.1424772-9-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170505115725.1424772-9-arnd@arndb.de> Sender: stable-owner@vger.kernel.org List-ID: On Fri, May 05, 2017 at 01:57:24PM +0200, Arnd Bergmann wrote: > From: Benjamin Romer > > Commit f84bd6267d623b49f196d54ba9edc41ff1c4d5e3 upstream > > Properly handle the return value from queue_delayed_work() - it's a > bool, not an int, so using a less than comparison isn't appropriate. > > This mistake was found by David Binderman . > > [arnd: the fix is from 4.4 but needed some minor fixup to adapt > to context changes] Ah, I already did this one, bug missed that there was an upstream change. I'll take this as well, thanks. greg k-h