Re: [PATCH 5/7] powerpc/powernv/pci: Fix W=1 compile warning
From: "Oliver O'Halloran" <oohall@gmail.com>
Date: 2020-09-11 06:34:37
From: "Oliver O'Halloran" <oohall@gmail.com>
Date: 2020-09-11 06:34:37
On Fri, Sep 11, 2020 at 7:02 AM Cédric Le Goater [off-list ref] wrote:
CC arch/powerpc/platforms/powernv/pci-ioda.o
../arch/powerpc/platforms/powernv/pci-ioda.c: In function ‘pnv_ioda_configure_pe’:
../arch/powerpc/platforms/powernv/pci-ioda.c:897:18: error: variable ‘parent’ set but not used [-Werror=unused-but-set-variable]
struct pci_dev *parent;
^~~~~~
Cc: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>Come to think of it a fix for this might already be in -next, see https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=193967&state=* If not, Reviewed-by: Oliver O'Halloran <oohall@gmail.com>