Re: [PATCH v3 3/7] selftests/powerpc: Add generic read/write file util

2023-01-24 Thread Andrew Donnellan
On Mon, 2022-11-28 at 15:19 +1100, Benjamin Gray wrote: > File read/write is reimplemented in about 5 different ways in the > various PowerPC selftests. This indicates it should be a common util. > > Add a common read_file / write_file implementation and convert users > to it where (easily)

Re: [PATCH v3 3/7] selftests/powerpc: Add generic read/write file util

2022-12-02 Thread Michael Ellerman
Benjamin Gray writes: > File read/write is reimplemented in about 5 different ways in the > various PowerPC selftests. This indicates it should be a common util. > > Add a common read_file / write_file implementation and convert users > to it where (easily) possible. > > Signed-off-by: Benjamin

[PATCH v3 3/7] selftests/powerpc: Add generic read/write file util

2022-11-27 Thread Benjamin Gray
File read/write is reimplemented in about 5 different ways in the various PowerPC selftests. This indicates it should be a common util. Add a common read_file / write_file implementation and convert users to it where (easily) possible. Signed-off-by: Benjamin Gray ---