Re: [PATCH] dmaengine: ioat: statify symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Dave Jiang <dave.jiang@xxxxxxxxx>

> On Jul 16, 2016, at 7:22 AM, Koul, Vinod <vinod.koul@xxxxxxxxx> wrote:
> 
> Sparse warns:
> drivers/dma/ioat/init.c:1215:6: warning: symbol 'ioat_resume' was not declared. Should it be static?
> 
> Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
> ---
> drivers/dma/ioat/init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c
> index d406056e8892..7145f7716a92 100644
> --- a/drivers/dma/ioat/init.c
> +++ b/drivers/dma/ioat/init.c
> @@ -1212,7 +1212,7 @@ static void ioat_shutdown(struct pci_dev *pdev)
>    ioat_disable_interrupts(ioat_dma);
> }
> 
> -void ioat_resume(struct ioatdma_device *ioat_dma)
> +static void ioat_resume(struct ioatdma_device *ioat_dma)
> {
>    struct ioatdma_chan *ioat_chan;
>    u32 chanerr;
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux