[U-Boot] [PATCH v4 3/6] fs: ext4: constify the buffer passed to write functions

Tom Rini trini at konsulko.com
Mon Feb 4 13:19:37 UTC 2019


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 <jjhiblot at ti.com>
> 

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190204/e1e6d36f/attachment.sig>


More information about the U-Boot mailing list