Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1609435 > unrolled thread

linux-next: build warning after merge of the spi tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-03-27 04:50 +0200
Last post2017-03-27 07:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the spi tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-03-27 04:50 +0200
    Re: linux-next: build warning after merge of the spi tree Vignesh R <vigneshr@ti.com> - 2017-03-27 07:40 +0200

#1609435 — linux-next: build warning after merge of the spi tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-03-27 04:50 +0200
Subjectlinux-next: build warning after merge of the spi tree
Message-ID<tpsTf-133-5@gated-at.bofh.it>
Hi Mark,

After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer':
drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable]
  struct dma_device *dma_dev = chan->device;
                     ^

Introduced by commit

  1351aaeb50b2 ("spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1609460

FromVignesh R <vigneshr@ti.com>
Date2017-03-27 07:40 +0200
Message-ID<tpvxM-321-13@gated-at.bofh.it>
In reply to#1609435

On Monday 27 March 2017 08:11 AM, Stephen Rothwell wrote:
> Hi Mark,
> 
> After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
> 
> drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer':
> drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable]
>   struct dma_device *dma_dev = chan->device;
>                      ^
> 
> Introduced by commit
> 
>   1351aaeb50b2 ("spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call")
> 

Sorry, I have posted a fix for the same.

-- 
Regards
Vignesh

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web