* [PATCH v2] staging: rtl8723bs: fix code style issues in rtl8723b_hal.h
@ 2026-03-18 14:29 Hüseyin Can Erdem
2026-03-18 14:48 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Hüseyin Can Erdem @ 2026-03-18 14:29 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, Hüseyin Can Erdem
Signed-off-by: Hüseyin Can Erdem <erdemhuseyincan09@gmail.com>
---
drivers/staging/rtl8723bs/include/rtl8723b_hal.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
index 7ec84304a..cd3b49338 100644
--- a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
+++ b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
@@ -28,7 +28,7 @@
#define FW_8723B_END_ADDRESS 0x1FFF /* 0x5FFF */
#define IS_FW_HEADER_EXIST_8723B(fw_hdr) \
- ((le16_to_cpu(fw_hdr->signature) & 0xFFF0) == 0x5300)
+ ((le16_to_cpu((fw_hdr)->signature) & 0xFFF0) == 0x5300)
struct rt_firmware {
u32 fw_length;
@@ -133,7 +133,7 @@ struct rt_firmware_hdr {
#define EFUSE_IC_ID_OFFSET 506 /* For some inferiority IC purpose.
* Added by Roger, 2009.09.02.
*/
-#define AVAILABLE_EFUSE_ADDR(addr) (addr < EFUSE_REAL_CONTENT_LEN_8723B)
+#define AVAILABLE_EFUSE_ADDR(addr) ((addr) < EFUSE_REAL_CONTENT_LEN_8723B)
#define EFUSE_ACCESS_ON 0x69 /* For RTL8723 only. */
#define EFUSE_ACCESS_OFF 0x00 /* For RTL8723 only. */
@@ -171,7 +171,7 @@ struct c2h_evt_hdr_t {
u8 CmdID;
u8 CmdLen;
u8 CmdSeq;
-} __attribute__((__packed__));
+} __packed;
enum { /* tag_Package_Definition */
PACKAGE_DEFAULT,
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] staging: rtl8723bs: fix code style issues in rtl8723b_hal.h
2026-03-18 14:29 [PATCH v2] staging: rtl8723bs: fix code style issues in rtl8723b_hal.h Hüseyin Can Erdem
@ 2026-03-18 14:48 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2026-03-18 14:48 UTC (permalink / raw)
To: Hüseyin Can Erdem; +Cc: linux-staging, linux-kernel
On Wed, Mar 18, 2026 at 05:29:57PM +0300, Hüseyin Can Erdem wrote:
> Signed-off-by: Hüseyin Can Erdem <erdemhuseyincan09@gmail.com>
> ---
> drivers/staging/rtl8723bs/include/rtl8723b_hal.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
> index 7ec84304a..cd3b49338 100644
> --- a/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
> +++ b/drivers/staging/rtl8723bs/include/rtl8723b_hal.h
> @@ -28,7 +28,7 @@
> #define FW_8723B_END_ADDRESS 0x1FFF /* 0x5FFF */
>
> #define IS_FW_HEADER_EXIST_8723B(fw_hdr) \
> - ((le16_to_cpu(fw_hdr->signature) & 0xFFF0) == 0x5300)
> + ((le16_to_cpu((fw_hdr)->signature) & 0xFFF0) == 0x5300)
>
> struct rt_firmware {
> u32 fw_length;
> @@ -133,7 +133,7 @@ struct rt_firmware_hdr {
> #define EFUSE_IC_ID_OFFSET 506 /* For some inferiority IC purpose.
> * Added by Roger, 2009.09.02.
> */
> -#define AVAILABLE_EFUSE_ADDR(addr) (addr < EFUSE_REAL_CONTENT_LEN_8723B)
> +#define AVAILABLE_EFUSE_ADDR(addr) ((addr) < EFUSE_REAL_CONTENT_LEN_8723B)
>
> #define EFUSE_ACCESS_ON 0x69 /* For RTL8723 only. */
> #define EFUSE_ACCESS_OFF 0x00 /* For RTL8723 only. */
> @@ -171,7 +171,7 @@ struct c2h_evt_hdr_t {
> u8 CmdID;
> u8 CmdLen;
> u8 CmdSeq;
> -} __attribute__((__packed__));
> +} __packed;
>
> enum { /* tag_Package_Definition */
> PACKAGE_DEFAULT,
> --
> 2.47.3
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- Your patch did many different things all at once, making it difficult
to review. All Linux kernel patches need to only do one thing at a
time. If you need to do multiple things (such as clean up all coding
style issues in a file/driver), do it in a sequence of patches, each
one doing only one thing. This will make it easier to review the
patches to ensure that they are correct, and to help alleviate any
merge issues that larger patches can cause.
- You did not specify a description of why the patch is needed, or
possibly, any description at all, in the email body. Please read the
section entitled "The canonical patch format" in the kernel file,
Documentation/process/submitting-patches.rst for what is needed in
order to properly describe the change.
- You did not write a descriptive Subject: for the patch, allowing Greg,
and everyone else, to know what this patch is all about. Please read
the section entitled "The canonical patch format" in the kernel file,
Documentation/process/submitting-patches.rst for what a proper
Subject: line should look like.
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-18 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18 14:29 [PATCH v2] staging: rtl8723bs: fix code style issues in rtl8723b_hal.h Hüseyin Can Erdem
2026-03-18 14:48 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox