[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cff34342-3574-d197-df08-dc5b9b6ced80@ti.com>
Date: Wed, 10 Aug 2016 13:21:46 +0300
From: Tomi Valkeinen <tomi.valkeinen@...com>
To: Nicholas Mc Guire <hofrat@...dl.org>
CC: Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Rob Clark <robdclark@...il.com>,
Dave Airlie <airlied@...il.com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
Luis de Bethencourt <luisbg@....samsung.com>,
<linux-omap@...r.kernel.org>, <linux-fbdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] omapfb/dss: wait_for_completion_interruptible_timeout
expects long
On 25/07/16 20:12, Nicholas Mc Guire wrote:
> wait_for_completion_timeout_interruptible returns long not unsigned long.
> an appropriately typed variable is introduced and assignments fixed up.
>
> Fixes: f76ee892a99e ("omapfb: copy omapdss & displays for omapfb")
>
> Signed-off-by: Nicholas Mc Guire <hofrat@...dl.org>
> ---
>
> API non-compliance was located by coccinelle
>
> This is mostly cosmetic since the returned value is only compared
> at present, however if remaining time (completion occurred) where ever
> used, then a signal received would be interpreted as a large remaining
> jiffies left, which would be wrong.
>
> Compile tested with: omap2plus_defconfig (implies CONFIG_FB_OMAP2_DSS)
>
> Patch is against 4.7.0-rc7 (localversion-next -next-20160724)
>
> drivers/video/fbdev/omap2/omapfb/dss/dispc-compat.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Thanks, queued for v4.9. I dropped the "Fixes: " line, as that commit
only does a copy of the files, so the commit didn't really introduce the
bug.
Tomi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists