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

2019-02-04 Thread Tom Rini
On Mon, Feb 04, 2019 at 10:34:16AM +0100, Jean-Jacques Hiblot wrote: > > On 01/02/2019 19:59, Tom Rini wrote: > >On Fri, Feb 01, 2019 at 07:40:21PM +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

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

2019-02-04 Thread Jean-Jacques Hiblot
On 01/02/2019 19:59, Tom Rini wrote: On Fri, Feb 01, 2019 at 07:40:21PM +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()

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

2019-02-01 Thread Tom Rini
On Fri, Feb 01, 2019 at 07:40:21PM +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. > >

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

2019-02-01 Thread Jean-Jacques Hiblot
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 --- Changes in v3: - reworded commit log