From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424991AbcFIGEK (ORCPT ); Thu, 9 Jun 2016 02:04:10 -0400 Received: from mail-sn1nam02on0061.outbound.protection.outlook.com ([104.47.36.61]:10909 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161753AbcFIGEI convert rfc822-to-8bit (ORCPT ); Thu, 9 Jun 2016 02:04:08 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; From: Appana Durga Kedareswara Rao To: Stephen Rothwell , Vinod Koul CC: "linux-next@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: linux-next: build warning after merge of the slave-dma tree Thread-Topic: linux-next: build warning after merge of the slave-dma tree Thread-Index: AQHRwezaGrd/rQ/5J0qKf+UybVriUZ/gpTHw Date: Thu, 9 Jun 2016 06:04:03 +0000 Message-ID: References: <20160609111830.652cb495@canb.auug.org.au> In-Reply-To: <20160609111830.652cb495@canb.auug.org.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.95.64] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22378.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(81156014)(81166006)(55846006)(8676002)(189998001)(5003600100002)(54356999)(92566002)(86362001)(8746002)(5001770100001)(47776003)(5008740100001)(63266004)(5004730100002)(97756001)(50986999)(76176999)(8936002)(6806005)(586003)(2906002)(3846002)(33656002)(102836003)(5250100002)(2920100001)(4326007)(106116001)(6116002)(2900100001)(23726003)(2950100001)(87936001)(106466001)(50466002)(46406003)(107986001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1NAM02HT021;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;MX:1;A:1;LANG:en; X-MS-Office365-Filtering-Correlation-Id: 069865e6-6fe7-429e-1890-08d3902bdd41 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501002);SRVR:CY1NAM02HT021; X-Microsoft-Antispam-PRVS: <3e92c548aa134f96b2e07c402094145e@CY1NAM02HT021.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(211171220733660); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(13024025)(13023025)(13018025)(13015025)(13017025)(10201501046)(3002001)(6055026);SRVR:CY1NAM02HT021;BCL:0;PCL:0;RULEID:;SRVR:CY1NAM02HT021; X-Forefront-PRVS: 0968D37274 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2016 06:04:05.6739 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT021 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen Rothwell, > Hi Vinod, > > After merging the slave-dma tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/dma/xilinx/xilinx_vdma.c: In function 'xilinx_dma_prep_dma_cyclic': > drivers/dma/xilinx/xilinx_vdma.c:1808:23: warning: 'segment' may be used > uninitialized in this function [-Wmaybe-uninitialized] > segment->hw.control |= XILINX_DMA_BD_SOP; Thanks for reporting the issue. I have fixed it and sent the patch... > > Introduced by commit > > 92d794dfb699 ("dmaengine: vdma: Add support for cyclic dma mode") > > I am not sure if this is tecnically a problem, but gcc certainly cannot tell. Thanks, Kedar.