Hello Gabe Black, Nikos Nikoleris, I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/2962 to look at the new patch set (#2). Change subject: util: Correctly handle short writes in m5 (read|exec)file ...................................................................... util: Correctly handle short writes in m5 (read|exec)file The m5 tool has subcommands that writes a file to the simulated file system. The implementation of this command currently doesn't check the return value from write, which leads to compiler warnings and potentially incorrect behavior. Add the necessary checks. Change-Id: If558534d3245aa24cf15edf06bd0af4c6ba3908c Signed-off-by: Andreas Sandberg <andreas.sandb...@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikole...@arm.com> --- M util/m5/m5.c 1 file changed, 20 insertions(+), 4 deletions(-) -- To view, visit https://gem5-review.googlesource.com/2962 To unsubscribe, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: If558534d3245aa24cf15edf06bd0af4c6ba3908c Gerrit-Change-Number: 2962 Gerrit-PatchSet: 2 Gerrit-Owner: Andreas Sandberg <andreas.sandb...@arm.com> Gerrit-Reviewer: Gabe Black <gabebl...@google.com> Gerrit-Reviewer: Nikos Nikoleris <nikos.nikole...@arm.com> _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev