From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE24AC4332F for ; Wed, 19 Oct 2022 13:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4uEbHt0qW9OD0Y7s1RHps2S/ccDtYM/V17zso+YNJeA=; b=a1WHKXLKVYWeW/ PaBD3D2uPu58RfDqtnvSKOiqe0GpeI6soj5hCpCOToaJHKZBFDEIlpnUnsFMQ5PGR+8JkAbvGqvqO p6mPG2Vuj1P+gn5JI+amYVkDIkJXuvW8pm9uXdqbmgQiX8ZbzVFyKZmtzlbX6HoBWG0bHP4RdVbGB uY+/wsLGyKmeonhGh0EzbNY1qBoioJ6Mr8c5BxDe2Mp+SKUstHgdhK7xUFScM7n6wO5Tq/8J7IAcQ /CNlfrBzW2cBxGwfnznKrTjiTWiZXd96r0tnLJu/y/PiHiVgzfN2f3iM4dSE/PD7sYGJtcXFQ9FVs H8PCFD6VLDCMGGpdrAVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol9AX-0028go-LP; Wed, 19 Oct 2022 13:31:37 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol9AU-0028gG-M3 for linux-arm-kernel@lists.infradead.org; Wed, 19 Oct 2022 13:31:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E47E0B8201E; Wed, 19 Oct 2022 13:31:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D43BC433C1; Wed, 19 Oct 2022 13:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666186291; bh=yrinlrU4GJFw5V8Pbm68WtjQ9PDNU+MEIvH4dMiemYg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QtQfot2R1zDOvLSyEHXFdv4m6AtscL8NOugTTNHxO+zgyBqLUIk6KxyuELqdVJ8/O x67CsoRPxX0cPDzoDEDAGTZ+B/8jAtZvOv25VRXmXoBdVsDmoH079a0nihfQlvLnsF +3ef9CUOjsloN1Dg/i001SdTCiTgm6+MvfMAvhNk+VPRGEXnaVG1zZTD4WF6PVD3MU 46Rw4f22OZqWkUIReKjLqVOGHVFPnWwk2dFjkLO/Y8HOSLv/ZWDg6Y00FY3aMgCAop lx70EsZgKD1zmUlwl+zjMvY/Nm7Nq+pGFGvvHO4+NyVmMG0nkKkpPSmXPifOZABD7r NgnZMvkrMIepA== Date: Wed, 19 Oct 2022 19:01:27 +0530 From: Vinod Koul To: Amelie Delaunay Cc: Maxime Coquelin , Alexandre Torgue , dmaengine@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: stm32-mdma: memset stm32_mdma_chan_config struct before using it Message-ID: References: <20221017131413.202567-1-amelie.delaunay@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221017131413.202567-1-amelie.delaunay@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221019_063134_883935_A29822E6 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17-10-22, 15:14, Amelie Delaunay wrote: > New bool m2m_hw has been added at the end of stm32_mdma_chan_config struct > to support the STM32 DMA MDMA chaining. > > m2m_hw is set true in stm32_mdma_slave_config() if peripheral_size is set, > but m2m_hw is never initialized false. > > To ensure this case, and any further new update of the structure, memset it > to 0 before using it. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel