Re: [PATCH] staging: vchiq_arm: cast with __force as needed

2020-05-25 Thread Mitchell Tasman
On 5/22/20 7:06 AM, Dan Carpenter wrote: > On Mon, May 18, 2020 at 08:45:31PM -0400, Mitchell Tasman wrote: >> In several cases where a pointer marked as __user is >> (intentionally) assigned or passed to a non-marked target, >> cast to the target pointer type with a __force

[PATCH] staging: vchiq_arm: cast with __force as needed

2020-05-18 Thread Mitchell Tasman
In several cases where a pointer marked as __user is (intentionally) assigned or passed to a non-marked target, cast to the target pointer type with a __force directive to quiet warnings from sparse. Signed-off-by: Mitchell Tasman --- .../vc04_services/interface/vchiq_arm/vchiq_2835_arm.c

[PATCH] staging: unisys: visorbus: fix function open braces

2017-07-10 Thread Mitchell Tasman
Resolve multiple checkpatch errors by relocating open braces following function definitions to the next line. Signed-off-by: Mitchell Tasman --- drivers/staging/unisys/visorbus/visorbus_main.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v2] staging: greybus: arche: wrap over-length lines

2017-07-09 Thread Mitchell Tasman
Adjust formatting of various statements to keep line length within the 80 column limit preferred by the Linux kernel coding style. Signed-off-by: Mitchell Tasman --- Changes in v2: Add back a missing space in a comment drivers/staging/greybus/arche-platform.c | 29

[PATCH] staging: greybus: arche: wrap over-length lines

2017-07-09 Thread Mitchell Tasman
Adjust formatting of various statements to keep line length within the 80 column limit preferred by the Linux kernel coding style. Signed-off-by: Mitchell Tasman --- drivers/staging/greybus/arche-platform.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions