[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YJlX7BxruP43f7BR@vkoul-mobl.Dlink>
Date: Mon, 10 May 2021 21:27:32 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Dave Jiang <dave.jiang@...el.com>
Cc: Zhen Lei <thunder.leizhen@...wei.com>,
Dan Williams <dan.j.williams@...el.com>,
dmaengine <dmaengine@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] dmaengine: idxd: remove unused variable 'cdev_ctx'
On 09-05-21, 17:26, Dave Jiang wrote:
>
> On 5/7/2021 11:30 PM, Zhen Lei wrote:
> > GCC reports the following warning with W=1:
> >
> > drivers/dma/idxd/cdev.c:298:28: warning:
> > variable 'cdev_ctx' set but not used [-Wunused-but-set-variable]
> > 298 | struct idxd_cdev_context *cdev_ctx;
> > | ^~~~~~~~
> >
> > The variable 'cdev_ctx' is not used, remove it to fix the warning.
> >
> > Fixes: 04922b7445a1 ("dmaengine: idxd: fix cdev setup and free device lifetime issues")
> > Reported-by: Hulk Robot <hulkci@...wei.com>
> > Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
>
>
> Thank you. Issue already reported and fix posted here.
>
> https://lore.kernel.org/dmaengine/324261b0-1fa6-29f7-071a-a3c0ac09b506@intel.com/T/#t
dropped this
--
~Vinod
Powered by blists - more mailing lists