Re: [PATCH] sh: pci: Remove unused variable in SH-7786 PCI Express code
Geert Uytterhoeven <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <CAMuHMdWpTu3NXt-Y-Xh9SS=mQsL9Wm4=XNe6pKGd+WB2Ef5Fow@mail.gmail.com> |
Hi Adrian, Thanks for your patch! On Tue, Apr 18, 2023 at 5:59 PM 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") > Please no blank line between tags and SoB. > Signed-off-by: John Paul Adrian Glaubitz <[email protected]> For the actual patch contents: Reviewed-by: Geert Uytterhoeven <[email protected]> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds