Re: [PATCH v3 4/7] selftests/powerpc: Add read/write debugfs file, int

2023-01-24 Thread Andrew Donnellan
On Mon, 2022-11-28 at 15:19 +1100, Benjamin Gray wrote: > Debugfs files are not always integers, so make *_file return/write a > byte buffer, and *_int deal with int values specifically. This > increases > consistency with the other file read/write helpers. > > Signed-off-by: Benjamin Gray This

[PATCH v3 4/7] selftests/powerpc: Add read/write debugfs file, int

2022-11-27 Thread Benjamin Gray
Debugfs files are not always integers, so make *_file return/write a byte buffer, and *_int deal with int values specifically. This increases consistency with the other file read/write helpers. Signed-off-by: Benjamin Gray --- .../testing/selftests/powerpc/include/utils.h | 6 ++-- .../selftest