Re: [PATCH] staging: rtl8723bs: fix checkpatch style issues
From: Ethan Tidmore
Date: Thu Mar 26 2026 - 14:12:21 EST
On Wed Mar 25, 2026 at 6:45 PM CDT, MrXploisLite wrote:
> Fix minor style issues in hal_com.c reported by checkpatch:
> - Remove multiple blank lines
> - Remove blank line after open brace
> - Fix comparison style (constant on right side)
>
> No functional changes, only coding style fixes.
>
> Signed-off-by: MrXploisLite <arokigaming@xxxxxxxxx>
> ---
You need to use your real name when submitting patches. Also, don't use
the name of the tool in your subject, it should be something like
"Remove unneeded blank lines".
...
> - if (0xFF == hw_channel_plan)
> + if (hw_channel_plan == 0xFF)
> AutoLoadFail = true;
Please keep one logical change per patch. The removal of blank lines and
correcting comparison orientation are two different changes.
Use "$ ./scripts/checkpatch.pl --strict <patch>" too before sending
patches off, it helps catch a lot of easy mistakes.
Thanks,
ET