The conversion from void pointer to any other pointer type is guaranteed by
the C programming language.
Signed-off-by: Lucas Tanure <tan...@linux.com>
---
drivers/staging/comedi/drivers/s626.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/
The conversion from void pointer to any other pointer type is guaranteed
by the C programming language.
The semantic patch used to find this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
*((T *)e)
|
((T *)x)[...]
|
((T *)x)->f
|
- (T *)
e
)
Signed-off-by: Lucas Tanure &
Hi Christoph,
What kind of things that you think a newbie can fix ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Mon, Jul 28, 2014 at 9:53 AM, Christoph Hellwig h...@infradead.org wrote:
Can you folks please stop this challenge Bullshit? More checkpatch
fixes is not something we'll need
Hi,
This patch got accepted ?
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Sun, Jul 13, 2014 at 9:31 PM, Lucas Tanure tan...@linux.com wrote:
Kernel coding style. Remove useless else statement after return.
Changes from v1 and v2: Fix warning for mixed declarations and code.
Declaration
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging/android/sync.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index c9a0c2c
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging/android/binder.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging/android/binder.c | 27 +--
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging
Sorry,
I didn't know. I will fix.
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Sun, Jul 13, 2014 at 4:07 PM, Greg Kroah-Hartman
gre...@linuxfoundation.org wrote:
On Sun, Jul 13, 2014 at 11:49:29AM -0300, Lucas Tanure wrote:
Kernel coding style. Remove useless else statement after return
Kernel coding style. Remove useless else statement after return.
Changes from v1 and v2: Fix warning for mixed declarations and code.
Declaration of struct binder_transaction *next made outside of while,
and initialized with NULL.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging
Kernel coding style. Remove useless else statement after return.
Changes from v1 and v2: Fix warning for mixed declarations and code.
Declaration of struct binder_transaction *next made outside of while.
Changes from v3: Removed initialization to NULL for next variable.
Signed-off-by: Lucas
Run Checkpatch and fixed the first warning.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging/android/binder.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index cfe4bc8..1a0966b 100644
Kernel coding style. Remove useless else statement after return.
Signed-off-by: Lucas Tanure tan...@linux.com
---
drivers/staging/android/binder.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index
12 matches
Mail list logo