1
The struct field uses the uint values 0 and 1 to represent false and
1
The struct sta_info field uses the uint values 0 and 1 to represent false
2
true values respectively.
2
and true values respectively.
3
3
4
Convert cases to use the bool type instead to conform to Linux
4
Convert cases to use the bool type instead to ensure consistency
5
coding styles and ensure consistency.
5
with other parts of the containing code where true or false has
6
been used.
6
7
7
reported by Coccinelle:
8
reported by Coccinelle.
8
9
9
Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com>
10
Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com>
10
---
11
---
12
Changes since v2:
13
* Improved commit message based on suggestion from Julia Lawall
14
* Clarity was provided to Greg Kroah-Hartman by Dan Carpenter on why
15
it is safe to make the change to the struct.
16
11
drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +-
17
drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +-
12
drivers/staging/rtl8723bs/include/sta_info.h | 2 +-
18
drivers/staging/rtl8723bs/include/sta_info.h | 2 +-
13
2 files changed, 2 insertions(+), 2 deletions(-)
19
2 files changed, 2 insertions(+), 2 deletions(-)
14
20
15
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
21
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
...
...
diff view generated by jsdifflib