From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 10 Apr 2019 08:19:37 -0400 Subject: [U-Boot] [U-Boot, RESEND, v5, 4/7] fs: ext4: constify the buffer passed to write functions In-Reply-To: <20190213111527.1525-5-jjhiblot@ti.com> References: <20190213111527.1525-5-jjhiblot@ti.com> Message-ID: <20190410121937.GG4664@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Feb 13, 2019 at 12:15:24PM +0100, Jean-Jacques Hiblot wrote: > There is no need to modify the buffer passed to ext4fs_write_file(). > The memset() call is not required here and was likely copied from the > equivalent part of the ext4fs_read_file() function where we do need it. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: