[staging:staging-next] BUILD SUCCESS WITH WARNING 14442181d20490945f341644bb8257e334b01447

2020-07-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next branch HEAD: 14442181d20490945f341644bb8257e334b01447 staging: wfx: always enable FastPs in combo with new firmwares Warning in current branch: drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c:17

[PATCH v2 2/5] staging: rtl8712: Simplify expressions with boolean logic

2020-07-05 Thread Mauro Dreissig
Simplify some expressions by using boolean operations. Signed-off-by: Mauro Dreissig --- drivers/staging/rtl8712/hal_init.c | 4 ++-- drivers/staging/rtl8712/osdep_intf.h | 2 +- drivers/staging/rtl8712/rtl8712_recv.c | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH v2 4/5] staging: rtl8712: Remove variable 'raw' from rtl871x_open_fw()

2020-07-05 Thread Mauro Dreissig
Remove useless variable 'raw' from function rtl871x_open_fw() making the code a bit easier to understand. Signed-off-by: Mauro Dreissig --- drivers/staging/rtl8712/hal_init.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/s

[PATCH v2 5/5] staging: rtl8712: Use proper format in call to dev_err()

2020-07-05 Thread Mauro Dreissig
In the call to dev_err(), remove the cast of size_t to int and change the format string accordingly. As reported by the kernel test robot, the correct format string for a size_t argument should be %zu. Reported-by: kernel test robot Signed-off-by: Mauro Dreissig --- drivers/staging/rtl8712/hal

[PATCH v2 1/5] staging: rtl8712: Replace constant 49152 with expression 48 * 1024

2020-07-05 Thread Mauro Dreissig
This way we don't need the comment stating that 49152 equals 48k. Signed-off-by: Mauro Dreissig --- drivers/staging/rtl8712/hal_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 7293cdc3a43b..

[PATCH v2 0/5] Code simplifications

2020-07-05 Thread Mauro Dreissig
This series applies some code enhancements to rtl8712 staging driver. Fixed the last commit as reported by kernel test robot . Mauro Dreissig (5): staging: rtl8712: Replace constant 49152 with expression 48 * 1024 staging: rtl8712: Simplify expressions with boolean logic staging: rtl8712: U

[PATCH v2 3/5] staging: rtl8712: Use ETH_ALEN instead of hardcoded value

2020-07-05 Thread Mauro Dreissig
Use macro ETH_ALEN which defines the number of octets in an ethernet address. Signed-off-by: Mauro Dreissig --- drivers/staging/rtl8712/hal_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index d3

[PATCH] staging: rtl8712: Annotate r8712_sitesurvey_cmd()

2020-07-05 Thread Mauro Dreissig
Add __must_hold() sparse annotation to r8712_sitesurvey_cmd(), replacing the comments on top of the function. Signed-off-by: Mauro Dreissig --- drivers/staging/rtl8712/rtl871x_cmd.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_cmd.c b

[driver-core:driver-core-testing] BUILD SUCCESS 0a2fae2aea4a21b59d4a920b9765aaa696270b16

2020-07-05 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing branch HEAD: 0a2fae2aea4a21b59d4a920b9765aaa696270b16 lib: update DEBUG_SHIRQ docs to match reality elapsed time: 3722m configs tested: 222 configs skipped: 25 The following configs have