1 | The struct field uses the uint values 0 and 1 to represent false and | 1 | The struct field uses the uint values 0 and 1 to represent false and |
---|---|---|---|
2 | true values respectively. | 2 | 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 in v3: | ||
13 | - Added more patch recipients | ||
14 | Changes in v2: | ||
15 | - Improved commit message based on suggestion from Julia Lawal | ||
16 | - Clarity was provided to Greg Kroah-Hartman by Dan Carpenter on why | ||
17 | it is safe to make the change to the struct. | ||
18 | |||
11 | drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +- | 19 | drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +- |
12 | drivers/staging/rtl8723bs/include/sta_info.h | 2 +- | 20 | drivers/staging/rtl8723bs/include/sta_info.h | 2 +- |
13 | 2 files changed, 2 insertions(+), 2 deletions(-) | 21 | 2 files changed, 2 insertions(+), 2 deletions(-) |
14 | 22 | ||
15 | diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c | 23 | diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c |
... | ... | diff view generated by jsdifflib |