[PATCH v2] trivial: staging: vc04_services: replace bitshift with BIT macro

2020-06-25 Thread Garrit Franke
Cleans up some bitshifts by using the BIT macro. Signed-off-by: Garrit Franke --- .../interface/vchiq_arm/vchiq_core.c | 22 +-- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers

[PATCH v2 1/2] staging: vc04_services: vchiq_arm: replace bitshift with BIT macro

2020-06-24 Thread Garrit Franke
This should prevent possible overflowing bits by using the BIT macro in vchiq_core Signed-off-by: Garrit Franke --- .../interface/vchiq_arm/vchiq_core.c | 22 +-- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vc04_services/interface

[PATCH v2 2/2] staging: vc04_services: vchiq_arm: Remove unnecessary parens

2020-06-24 Thread Garrit Franke
Signed-off-by: Garrit Franke --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c

[PATCH v2 0/2] staging: vc04_services: vchiq_arm: replace bitshift with BIT macro

2020-06-24 Thread Garrit Franke
Hi Dan, thanks for your review. Yes, this is supposed to be a cleanup. I didn't make that clear. I removed the unnecessary parentheses, as suggested. Regards, Garrit Franke Garrit Franke (2): staging: vc04_services: vchiq_arm: replace bitshift with BIT macro staging: vc04_ser

[PATCH] staging: vc04_services: vchiq_arm: replace bitshift with BIT macro

2020-06-18 Thread Garrit Franke
This should prevent possible overflowing bits by using the BIT macro in vchiq_core Signed-off-by: Garrit Franke --- .../interface/vchiq_arm/vchiq_core.c | 22 +-- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vc04_services/interface

[PATCH] staging: comedi: fix up missing whitespace in comment

2020-06-15 Thread Garrit Franke
From: Garrit Franke I noticed this missing whitespace in a comment inside ni_mio_common.c Signed-off-by: Garrit Franke --- drivers/staging/comedi/drivers/ni_mio_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c b