Re: [PATCH] nvme: fix unused variable warning

From: Andy Shevchenko
Date: Fri Apr 30 2021 - 14:35:22 EST


On Fri, Apr 30, 2021 at 8:57 PM Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
> On Wed, Apr 21, 2021 at 04:04:20PM +0200, Arnd Bergmann wrote:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > The function was introduced with a variable that is never referenced:
> >
> > drivers/pci/quirks.c: In function 'quirk_amd_nvme_fixup':
> > drivers/pci/quirks.c:312:25: warning: unused variable 'rdev' [-Wunused-variable]
> >
> > Fixes: 9597624ef606 ("nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path")
>
> I guess this refers to https://lore.kernel.org/linux-nvme/1618458725-17164-1-git-send-email-Prike.Liang@xxxxxxx/
>
> But I don't know what the SHA1 means; I can't find it in linux-next or
> my tree.

$ git tag --contains 9597624ef606
next-20210416
next-20210419
next-20210420

Something is wrong with your tree.

--
With Best Regards,
Andy Shevchenko