Re: [PATCH 8/9] [3.18-stable] staging: unisys: correctly handle return value from queue_delayed_work()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 05, 2017 at 01:57:24PM +0200, Arnd Bergmann wrote:
> From: Benjamin Romer <benjamin.romer@xxxxxxxxxx>
> 
> 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 <dcb314@xxxxxxxxxxx>.
> 
> [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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]