Re: [PATCH 08/11] sandbox: Add a way to find the size of a file

2021-09-22 Thread Tom Rini
On Wed, Aug 18, 2021 at 09:40:30PM -0600, Simon Glass wrote: > Add a function to return the size of a file. This is useful in situations > where we need to allocate memory for it before reading it. > > Signed-off-by: Simon Glass > Reviewed-by: Marek Behún Applied to u-boot/next, thanks! -- T

Re: [PATCH 08/11] sandbox: Add a way to find the size of a file

2021-08-19 Thread Marek Behún
On Wed, 18 Aug 2021 21:40:30 -0600 Simon Glass wrote: > Add a function to return the size of a file. This is useful in situations > where we need to allocate memory for it before reading it. > > Signed-off-by: Simon Glass Reviewed-by: Marek Behún

[PATCH 08/11] sandbox: Add a way to find the size of a file

2021-08-18 Thread Simon Glass
Add a function to return the size of a file. This is useful in situations where we need to allocate memory for it before reading it. Signed-off-by: Simon Glass --- arch/sandbox/cpu/os.c | 22 -- include/os.h | 8 2 files changed, 24 insertions(+), 6 deleti