From: Tom Rini Date: Mon, 4 Feb 2019 08:19:37 -0500 Subject: [U-Boot] [PATCH v4 3/6] fs: ext4: constify the buffer passed to write functions In-Reply-To: <20190204093207.5603-4-jjhiblot@ti.com> References: <20190204093207.5603-1-jjhiblot@ti.com> <20190204093207.5603-4-jjhiblot@ti.com> Message-ID: <20190204131937.GX30838@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 Mon, Feb 04, 2019 at 10:32:04AM +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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: