Re: [PATCH v2] sh: pci: Remove unused variable in SH-7786 PCI Express code
John Paul Adrian Glaubitz <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <198f478ac0415c906dafbcf1202238cacb3069a4.camel@physik.fu-berlin.de> |
On Wed, 2023-04-19 at 09:30 +0200, Geert Uytterhoeven wrote: > On Wed, Apr 19, 2023 at 9:14 AM John Paul Adrian Glaubitz > <[email protected]> wrote: > > Addresses the following warning when building sdk7786_defconfig: > > > > arch/sh/drivers/pci/pcie-sh7786.c:34:22: warning: 'dma_pfn_offset' defined but not used [-Wunused-variable] > > 34 | static unsigned long dma_pfn_offset; > > | ^~~~~~~~~~~~~~ > > > > Fixes: e0d072782c73 ("dma-mapping: introduce DMA range map, supplanting dma_pfn_offset") > > Signed-off-by: John Paul Adrian Glaubitz <[email protected]> > > --- > > v2: > > - Fix formatting in commit message > > My > Reviewed-by: Geert Uytterhoeven <[email protected]> > on v1 is still valid. Thanks, pushed to my for-next branch: > https://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux.git/?h=for-next Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913