Fixed alignment to 8 bytes per line.
Signed-off-by: Peter Karlsson pe...@zapto.se
---
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c
@@ -885,7 +885,7 @@ static int lmd_parse_mgssec(struct lustr
length = tail - ptr;
lmd-lmd_mgssec = kzalloc(length + 1, GFP_NOFS);
- if (lmd-lmd_mgssec == NULL)
+ if (!lmd-lmd_mgssec)
return -ENOMEM;
memcpy(lmd-lmd_mgssec, ptr, length);
This patch set includes 2 patches fixing checkpatch warnings about
lines over 80 characters.
Changes since v1:
* Split table lines on 8 bytes instead of 7.
* Better commit message.
Peter Karlsson (2):
staging: ft1000-usb: fixed table alignment
staging: ft1000-usb: shorten lines to under 80
Fix checkpatch warning found by checkpatch.pl
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: Chaehyun Lim chaehyun@gmail.com
---
drivers/staging/wilc1000/wilc_wfi_netdevice.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Fix checkpatch warning found by checkpatch.pl
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Chaehyun Lim chaehyun@gmail.com
---
drivers/staging/wilc1000/wilc_wfi_netdevice.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
Fix checkpatch warning found by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Chaehyun Lim chaehyun@gmail.com
---
drivers/staging/wilc1000/wilc_wfi_netdevice.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Fix checkpatch warning found by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Chaehyun Lim chaehyun@gmail.com
---
drivers/staging/wilc1000/wilc_wfi_netdevice.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.c
Fix checkpatch warning found by checkpatch.pl
WARNING: space prohibited before semicolon
Signed-off-by: Chaehyun Lim chaehyun@gmail.com
---
drivers/staging/wilc1000/wilc_wfi_netdevice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Vitaly Kuznetsov vkuzn...@redhat.com
Loaded Hyper-V module will use these functions to disable CPU
hotplug under certain circumstances. Convert cpu_hotplug_disabled
to a counter (protected by cpu_add_remove_lock) to support e.g.
disable - disable - enable call sequences.
Signed-off-by:
From: Hari Prasath Gujulan Elango hguju...@visteon.com
This patch fixes a typo in the debug statement
Signed-off-by: Hari Prasath Gujulan Elango hguju...@visteon.com
---
drivers/staging/sm750fb/sm750_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Hari Prasath Gujulan Elango hguju...@visteon.com
This patch removes the redundant __func__ from dynamic debug prints as
the pr_xxx set of functions can be dynamically controlled to include
function name as well
Signed-off-by: Hari Prasath Gujulan Elango hguju...@visteon.com
---
Fix the following incorrect type in assignments detected by sparse:
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:571:37: warning: incorrect
type in assignment (different base types)
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c:571:37:expected unsigned
short [unsigned] [usertype]
Simple style fix.
Signed-off-by: Guillermo O. Freschi ked...@gmail.com
---
drivers/staging/android/ion/ion_chunk_heap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/ion/ion_chunk_heap.c
b/drivers/staging/android/ion/ion_chunk_heap.c
index
Am 20.06.2015 18:59, schrieb Julia Lawall:
!x is more normal for kzalloc failure in the kernel.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// smpl
@@
expression x;
statement S1, S2;
@@
x = kzalloc(...);
if (
- x == NULL
+ !x
) S1
This patch fixes the checkpatch.pl warning:
WARNING: ENOSYS means 'invalid syscall nr' and nothing else
Regards,
Santosh Pai
From 502464417255edb52a1db71146e2f33e67df87ce Mon Sep 17 00:00:00 2001
From: sanpai santhosh.pa...@yahoo.com
Date: Sun, 21 Jun 2015 15:05:00 +0530
Subject: [PATCH]
15 matches
Mail list logo