Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1632450 > unrolled thread
| Started by | Justin Vreeland <justin@jvreeland.com> |
|---|---|
| First post | 2017-04-28 02:20 +0200 |
| Last post | 2017-04-28 02:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses Justin Vreeland <justin@jvreeland.com> - 2017-04-28 02:20 +0200
Re: [PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses Larry Finger <Larry.Finger@lwfinger.net> - 2017-04-28 02:30 +0200
| From | Justin Vreeland <justin@jvreeland.com> |
|---|---|
| Date | 2017-04-28 02:20 +0200 |
| Subject | [PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses |
| Message-ID | <tB1NE-8at-7@gated-at.bofh.it> |
Signed-off-by: Justin Vreeland <justin@jvreeland.com>
---
drivers/staging/rtl8723bs/hal/odm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
index 0b3541a91548..13c4aebd178e 100644
--- a/drivers/staging/rtl8723bs/hal/odm.h
+++ b/drivers/staging/rtl8723bs/hal/odm.h
@@ -209,7 +209,7 @@ typedef struct _ODM_RATE_ADAPTIVE {
#define AVG_THERMAL_NUM 8
#define IQK_Matrix_REG_NUM 8
-#define IQK_Matrix_Settings_NUM 14+24+21 /* Channels_2_4G_NUM + Channels_5G_20M_NUM + Channels_5G */
+#define IQK_Matrix_Settings_NUM (14+24+21) /* Channels_2_4G_NUM + Channels_5G_20M_NUM + Channels_5G */
#define DM_Type_ByFW 0
#define DM_Type_ByDriver 1
--
2.12.2
[toc] | [next] | [standalone]
| From | Larry Finger <Larry.Finger@lwfinger.net> |
|---|---|
| Date | 2017-04-28 02:30 +0200 |
| Subject | Re: [PATCH 3/7] staging: rtl8723bs: Macros with complex values should be enclosed in parentheses |
| Message-ID | <tB1Xk-8eA-5@gated-at.bofh.it> |
| In reply to | #1632450 |
On 04/27/2017 07:09 PM, Justin Vreeland wrote:
> Signed-off-by: Justin Vreeland <justin@jvreeland.com>
> ---
> drivers/staging/rtl8723bs/hal/odm.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h
> index 0b3541a91548..13c4aebd178e 100644
> --- a/drivers/staging/rtl8723bs/hal/odm.h
> +++ b/drivers/staging/rtl8723bs/hal/odm.h
> @@ -209,7 +209,7 @@ typedef struct _ODM_RATE_ADAPTIVE {
>
> #define AVG_THERMAL_NUM 8
> #define IQK_Matrix_REG_NUM 8
> -#define IQK_Matrix_Settings_NUM 14+24+21 /* Channels_2_4G_NUM + Channels_5G_20M_NUM + Channels_5G */
> +#define IQK_Matrix_Settings_NUM (14+24+21) /* Channels_2_4G_NUM + Channels_5G_20M_NUM + Channels_5G */
You should also put spaces around the plus signs, and fix the lines with more
then 80 columns.
The comment about non-blank commit messages also applies.
Larry
>
> #define DM_Type_ByFW 0
> #define DM_Type_ByDriver 1
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web