From: Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> To: Vinod Koul <vinod.koul@intel.com> Cc: "dan.j.williams@intel.com" <dan.j.williams@intel.com>, Michal Simek <michals@xilinx.com>, Soren Brinkmann <sorenb@xilinx.com>, "moritz.fischer@ettus.com" <moritz.fischer@ettus.com>, "laurent.pinchart@ideasonboard.com" <laurent.pinchart@ideasonboard.com>, "luis@debethencourt.com" <luis@debethencourt.com>, "sfr@canb.auug.org.au" <sfr@canb.auug.org.au>, "dmaengine@vger.kernel.org" <dmaengine@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: RE: [PATCH] dmaengine: vdma: Fix compilation warning in cyclic dma mode Date: Mon, 13 Jun 2016 05:37:54 +0000 [thread overview] Message-ID: <C246CAC1457055469EF09E3A7AC4E11A4A5B5E4F@XAP-PVEXMBX01.xlnx.xilinx.com> (raw) In-Reply-To: <20160613054243.GB16910@localhost> Hi Vinod, > On Thu, Jun 09, 2016 at 11:32:12AM +0530, Kedareswara rao Appana wrote: > > This patch fixes the below compilation warining. > > 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; > > > > The start of packet (SOP) should be set to the first segment in the > > desc chain not for the last segment of the desc chain. > > I have applied this after adding Reported by from SFR. Sorry will fix it next time on wards.... > > You should always give credit to folks who report issues. Sure will fix next time onwards... Thanks, Kedar.
prev parent reply other threads:[~2016-06-13 5:38 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-09 6:02 Kedareswara rao Appana 2016-06-13 5:42 ` Vinod Koul 2016-06-13 5:37 ` Appana Durga Kedareswara Rao [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=C246CAC1457055469EF09E3A7AC4E11A4A5B5E4F@XAP-PVEXMBX01.xlnx.xilinx.com \ --to=appana.durga.rao@xilinx.com \ --cc=dan.j.williams@intel.com \ --cc=dmaengine@vger.kernel.org \ --cc=laurent.pinchart@ideasonboard.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=luis@debethencourt.com \ --cc=michals@xilinx.com \ --cc=moritz.fischer@ettus.com \ --cc=sfr@canb.auug.org.au \ --cc=sorenb@xilinx.com \ --cc=vinod.koul@intel.com \ --subject='RE: [PATCH] dmaengine: vdma: Fix compilation warning in cyclic dma mode' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).