Skip to contentSkip to conversation

net: qrtr: fix coding style issues flagged by checkpatch

PATCH New Murali Krishna 1 participant 1 message Sep 13

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover net: qrtr: fix coding style issues flagged by checkpatch

Hello,

This is my first patch to the kernel and I am still learning the process, so please forgive any mistakes in formatting or etiquette.

This patch addresses a few minor coding style issues in net/qrtr/ that I found by running checkpatch --strict:

- Fix missing space in a pointer cast (ERROR)
- Move trailing "*/" to its own line in two block comments (WARNING)
- Add parameter names to a function pointer declaration (WARNING)
- Remove an unnecessary return at the end of a void function (WARNING)

After applying, both af_qrtr.c and ns.c pass checkpatch --strict with zero errors, warnings, and checks.

I would be very grateful for any feedback or suggestions, even if the patch is accepted as-is. I am happy to send a v2 if anything needs to be changed.

Thank you for your time.

Kind regards,
Murali Krishna

Murali Krishna (1):
net: qrtr: fix coding style issues flagged by checkpatch

 net/qrtr/af_qrtr.c | 12 +++++++-----
 net/qrtr/ns.c      |  2 --
 2 files changed, 7 insertions(+), 7 deletions(-)

--
2.43.0