Skip to content

RFC selftests/binderfs: Fixes to binderfs_test

Abhinav Saxena linux-kselftest lkml llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests/binderfs: Run clang-format on binderfs testtools/testing/selftests/filesystems/binderfs/binderfs_test.c+116 -710 replies
2/4selftests/binderfs: Update close_prot_errno_disarm macro to do{...}while(false) structure for safetytools/testing/selftests/filesystems/binderfs/binderfs_test.c+9 -70 replies
3/4selftests/binderfs: Macro argument 'fd' may be better as '(fd)' to avoid precedence issuestools/testing/selftests/filesystems/binderfs/binderfs_test.c+3 -31 reply
4/4selftests/binderfs: Add missing a blank line after declarationstools/testing/selftests/filesystems/binderfs/binderfs_test.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] selftests/binderfs: Fixes to binderfs_test

Hi everyone,

My name is Abhinav Saxena. I am a graduate student at the University of Calgary. This is my first patch series for the Linux kernel. I am applying for the "Linux kernel Bug Fixing Summer Unpaid 2024". Apologies in advance if I made any trivial mistakes :)

This patch mainly includes issues reported by checkpatch.pl. The changes include:
- Running clang-format on binderfs_test.c to fix formatting issues.
- Updates the macro close_prot_errno_disarm macro.

Testing: I tested patches on my local machine (ARM64 ubuntu) with checkpatch.pl and running the selftests.

Best,
Abhinav

Abhinav Saxena (4):
run clang-format on bindergfs test
update close_prot_errno_disarm macro to do{...}while(false) structure
for safety
Macro argument 'fd' may be better as '(fd)' to avoid precedence issues add missing a blank line after declarations; fix alignment formatting

 .../filesystems/binderfs/binderfs_test.c      | 204 +++++++++++-------
 1 file changed, 126 insertions(+), 78 deletions(-)

--
2.34.1