From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbdC0FeP (ORCPT ); Mon, 27 Mar 2017 01:34:15 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:18097 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbdC0FeI (ORCPT ); Mon, 27 Mar 2017 01:34:08 -0400 Subject: Re: linux-next: build warning after merge of the spi tree To: Mark Brown References: <20170327134112.69ff893d@canb.auug.org.au> CC: Stephen Rothwell , , From: Vignesh R Message-ID: <82070773-ba5f-aeeb-517a-18b0a2f550a2@ti.com> Date: Mon, 27 Mar 2017 11:03:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170327134112.69ff893d@canb.auug.org.au> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vignesh R Subject: Re: linux-next: build warning after merge of the spi tree Date: Mon, 27 Mar 2017 11:03:08 +0530 Message-ID: <82070773-ba5f-aeeb-517a-18b0a2f550a2@ti.com> References: <20170327134112.69ff893d@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: Received: from lelnx193.ext.ti.com ([198.47.27.77]:18097 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbdC0FeI (ORCPT ); Mon, 27 Mar 2017 01:34:08 -0400 In-Reply-To: <20170327134112.69ff893d@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Mark Brown Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org 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