Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH 16/66] arch/sparc/include/asm/setup.h: Checkpatch cleanup

1 view
Skip to first unread message

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:01 PM2/27/10
to
arch/sparc/include/asm/setup.h:2: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---
arch/sparc/include/asm/setup.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sparc/include/asm/setup.h b/arch/sparc/include/asm/setup.h
index 2643c62..b1597f1 100644
--- a/arch/sparc/include/asm/setup.h
+++ b/arch/sparc/include/asm/setup.h
@@ -1,5 +1,5 @@
/*
- * Just a place holder.
+ * Just a place holder.
*/

#ifndef _SPARC_SETUP_H
--
1.7.0.90.g251a4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:01 PM2/27/10
to
arch/sh/boot/compressed/cache.c:8: WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/sh/boot/compressed/cache.c | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/boot/compressed/cache.c b/arch/sh/boot/compressed/cache.c
index e27fc74..d0b77b6 100644
--- a/arch/sh/boot/compressed/cache.c
+++ b/arch/sh/boot/compressed/cache.c
@@ -5,7 +5,7 @@ int cache_control(unsigned int command)

for (i = 0; i < (32 * 1024); i += 32) {
(void)*p;
- p += (32 / sizeof (int));
+ p += (32 / sizeof(int));
}

return 0;

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
drivers/acpi/sleep.h:3: WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

drivers/acpi/sleep.h | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/sleep.h b/drivers/acpi/sleep.h
index 8a8f3b3..25b8bd1 100644
--- a/drivers/acpi/sleep.h
+++ b/drivers/acpi/sleep.h
@@ -1,6 +1,6 @@

extern u8 sleep_states[];
-extern int acpi_suspend (u32 state);
+extern int acpi_suspend(u32 state);

extern void acpi_enable_wakeup_device_prep(u8 sleep_state);
extern void acpi_enable_wakeup_device(u8 sleep_state);

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
arch/cris/include/asm/kmap_types.h:5: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/cris/include/asm/kmap_types.h | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/cris/include/asm/kmap_types.h b/arch/cris/include/asm/kmap_types.h
index d2d643c..eff255e 100644
--- a/arch/cris/include/asm/kmap_types.h
+++ b/arch/cris/include/asm/kmap_types.h
@@ -2,7 +2,7 @@
#define _ASM_KMAP_TYPES_H

/* Dummy header just to define km_type. None of this
- * is actually used on cris.
+ * is actually used on cris.
*/

#include <asm-generic/kmap_types.h>

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
arch/cris/include/arch-v10/arch/tlb.h:6: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/cris/include/arch-v10/arch/tlb.h | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/cris/include/arch-v10/arch/tlb.h b/arch/cris/include/arch-v10/arch/tlb.h
index 31525bb..d565bd8 100644
--- a/arch/cris/include/arch-v10/arch/tlb.h
+++ b/arch/cris/include/arch-v10/arch/tlb.h
@@ -3,7 +3,7 @@

/* The TLB can host up to 64 different mm contexts at the same time.
* The last page_id is never running - it is used as an invalid page_id
- * so we can make TLB entries that will never match.
+ * so we can make TLB entries that will never match.
*/
#define NUM_TLB_ENTRIES 64
#define NUM_PAGEID 64

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
arch/um/include/shared/skas_ptrace.h:1: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/um/include/shared/skas_ptrace.h | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/include/shared/skas_ptrace.h b/arch/um/include/shared/skas_ptrace.h
index 3d31bba..38dfbd2 100644
--- a/arch/um/include/shared/skas_ptrace.h
+++ b/arch/um/include/shared/skas_ptrace.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:03 PM2/27/10
to
arch/m68k/hp300/time.h:2: WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/m68k/hp300/time.h | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/m68k/hp300/time.h b/arch/m68k/hp300/time.h
index f5b3d09..7b98242 100644
--- a/arch/m68k/hp300/time.h
+++ b/arch/m68k/hp300/time.h
@@ -1,4 +1,2 @@
extern void hp300_sched_init(irq_handler_t vector);
-extern unsigned long hp300_gettimeoffset (void);
-
-
+extern unsigned long hp300_gettimeoffset(void);

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
arch/parisc/include/asm/percpu.h:6: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/parisc/include/asm/percpu.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/parisc/include/asm/percpu.h b/arch/parisc/include/asm/percpu.h
index a0dcd19..fb92561 100644
--- a/arch/parisc/include/asm/percpu.h
+++ b/arch/parisc/include/asm/percpu.h
@@ -3,5 +3,4 @@

#include <asm-generic/percpu.h>

-#endif
-
+#endif

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:04 PM2/27/10
to
arch/s390/include/asm/unaligned.h:5: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/s390/include/asm/unaligned.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/s390/include/asm/unaligned.h b/arch/s390/include/asm/unaligned.h
index da9627a..1ce42c3 100644
--- a/arch/s390/include/asm/unaligned.h
+++ b/arch/s390/include/asm/unaligned.h
@@ -2,7 +2,7 @@
#define _ASM_S390_UNALIGNED_H

/*
- * The S390 can do unaligned accesses itself.
+ * The S390 can do unaligned accesses itself.
*/
#include <linux/unaligned/access_ok.h>
#include <linux/unaligned/generic.h>

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:04 PM2/27/10
to
arch/cris/include/arch-v32/arch/intmem.h:4: ERROR: "foo* bar" should be "foo *bar"
arch/cris/include/arch-v32/arch/intmem.h:5: ERROR: "foo* bar" should be "foo *bar"
arch/cris/include/arch-v32/arch/intmem.h:6: ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/cris/include/arch-v32/arch/intmem.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/cris/include/arch-v32/arch/intmem.h b/arch/cris/include/arch-v32/arch/intmem.h
index c0ada33..46b05ee 100644
--- a/arch/cris/include/arch-v32/arch/intmem.h
+++ b/arch/cris/include/arch-v32/arch/intmem.h
@@ -1,9 +1,9 @@
#ifndef _ASM_CRIS_INTMEM_H
#define _ASM_CRIS_INTMEM_H

-void* crisv32_intmem_alloc(unsigned size, unsigned align);
-void crisv32_intmem_free(void* addr);
-void* crisv32_intmem_phys_to_virt(unsigned long addr);
+void *crisv32_intmem_alloc(unsigned size, unsigned align);
+void crisv32_intmem_free(void *addr);
+void *crisv32_intmem_phys_to_virt(unsigned long addr);
unsigned long crisv32_intmem_virt_to_phys(void *addr);

#endif /* _ASM_CRIS_ARCH_INTMEM_H */

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:04 PM2/27/10
to
arch/um/os-Linux/drivers/etap.h:1: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/um/os-Linux/drivers/etap.h | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/os-Linux/drivers/etap.h b/arch/um/os-Linux/drivers/etap.h
index ddffd41..0df8526 100644
--- a/arch/um/os-Linux/drivers/etap.h
+++ b/arch/um/os-Linux/drivers/etap.h


@@ -1,4 +1,4 @@
-/*
+/*

* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)


* Licensed under the GPL

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
arch/um/drivers/xterm.h:1: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/um/drivers/xterm.h | 2 +-


1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/drivers/xterm.h b/arch/um/drivers/xterm.h
index 56b9c4a..c5c8aac 100644
--- a/arch/um/drivers/xterm.h
+++ b/arch/um/drivers/xterm.h


@@ -1,4 +1,4 @@
-/*
+/*

* Copyright (C) 2002 Jeff Dike (jd...@karaya.com)

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:05 PM2/27/10
to
arch/um/include/asm/mmu.h:1: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/um/include/asm/mmu.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/um/include/asm/mmu.h b/arch/um/include/asm/mmu.h
index cf259de..2b201d9 100644
--- a/arch/um/include/asm/mmu.h
+++ b/arch/um/include/asm/mmu.h


@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (C) 2002 Jeff Dike (jd...@karaya.com)
* Licensed under the GPL
*/

@@ -9,4 +9,3 @@
#include "um_mmu.h"

#endif
-

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:02 PM2/27/10
to
sound/oss/v_midi.h:5: ERROR: code indent should use tabs where possible
sound/oss/v_midi.h:7: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

sound/oss/v_midi.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/oss/v_midi.h b/sound/oss/v_midi.h
index 1b86cb4..08e2185 100644
--- a/sound/oss/v_midi.h
+++ b/sound/oss/v_midi.h
@@ -2,9 +2,9 @@ typedef struct vmidi_devc {
int dev;

/* State variables */
- int opened;
+ int opened;
spinlock_t lock;
-
+
/* MIDI fields */
int my_mididev;
int pair_mididev;
@@ -12,4 +12,3 @@ typedef struct vmidi_devc {
int intr_active;
void (*midi_input_intr) (int dev, unsigned char data);
} vmidi_devc;

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:01 PM2/27/10
to
fs/nls/nls_cp949.c:4437: ERROR: trailing whitespace
[snip]
fs/nls/nls_cp949.c:13786: ERROR: trailing whitespace
fs/nls/nls_cp949.c:13882: ERROR: spaces required around that '==' (ctx:VxV)
fs/nls/nls_cp949.c:13886: ERROR: else should follow close brace '}'

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

fs/nls/nls_cp949.c | 131 ++++++++++++++++++++++++++--------------------------
1 files changed, 65 insertions(+), 66 deletions(-)

diff --git a/fs/nls/nls_cp949.c b/fs/nls/nls_cp949.c
index 8a7a2fe..296425d 100644
--- a/fs/nls/nls_cp949.c
+++ b/fs/nls/nls_cp949.c
@@ -4434,38 +4434,38 @@ static const wchar_t c2u_FD[256] = {
};

static const wchar_t *page_charset2uni[256] = {
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, c2u_81, c2u_82, c2u_83, c2u_84, c2u_85, c2u_86, c2u_87,
- c2u_88, c2u_89, c2u_8A, c2u_8B, c2u_8C, c2u_8D, c2u_8E, c2u_8F,
- c2u_90, c2u_91, c2u_92, c2u_93, c2u_94, c2u_95, c2u_96, c2u_97,
- c2u_98, c2u_99, c2u_9A, c2u_9B, c2u_9C, c2u_9D, c2u_9E, c2u_9F,
- c2u_A0, c2u_A1, c2u_A2, c2u_A3, c2u_A4, c2u_A5, c2u_A6, c2u_A7,
- c2u_A8, c2u_A9, c2u_AA, c2u_AB, c2u_AC, c2u_AD, c2u_AE, c2u_AF,
- c2u_B0, c2u_B1, c2u_B2, c2u_B3, c2u_B4, c2u_B5, c2u_B6, c2u_B7,
- c2u_B8, c2u_B9, c2u_BA, c2u_BB, c2u_BC, c2u_BD, c2u_BE, c2u_BF,
- c2u_C0, c2u_C1, c2u_C2, c2u_C3, c2u_C4, c2u_C5, c2u_C6, c2u_C7,
- c2u_C8, NULL, c2u_CA, c2u_CB, c2u_CC, c2u_CD, c2u_CE, c2u_CF,
- c2u_D0, c2u_D1, c2u_D2, c2u_D3, c2u_D4, c2u_D5, c2u_D6, c2u_D7,
- c2u_D8, c2u_D9, c2u_DA, c2u_DB, c2u_DC, c2u_DD, c2u_DE, c2u_DF,
- c2u_E0, c2u_E1, c2u_E2, c2u_E3, c2u_E4, c2u_E5, c2u_E6, c2u_E7,
- c2u_E8, c2u_E9, c2u_EA, c2u_EB, c2u_EC, c2u_ED, c2u_EE, c2u_EF,
- c2u_F0, c2u_F1, c2u_F2, c2u_F3, c2u_F4, c2u_F5, c2u_F6, c2u_F7,
- c2u_F8, c2u_F9, c2u_FA, c2u_FB, c2u_FC, c2u_FD, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, c2u_81, c2u_82, c2u_83, c2u_84, c2u_85, c2u_86, c2u_87,
+ c2u_88, c2u_89, c2u_8A, c2u_8B, c2u_8C, c2u_8D, c2u_8E, c2u_8F,
+ c2u_90, c2u_91, c2u_92, c2u_93, c2u_94, c2u_95, c2u_96, c2u_97,
+ c2u_98, c2u_99, c2u_9A, c2u_9B, c2u_9C, c2u_9D, c2u_9E, c2u_9F,
+ c2u_A0, c2u_A1, c2u_A2, c2u_A3, c2u_A4, c2u_A5, c2u_A6, c2u_A7,
+ c2u_A8, c2u_A9, c2u_AA, c2u_AB, c2u_AC, c2u_AD, c2u_AE, c2u_AF,
+ c2u_B0, c2u_B1, c2u_B2, c2u_B3, c2u_B4, c2u_B5, c2u_B6, c2u_B7,
+ c2u_B8, c2u_B9, c2u_BA, c2u_BB, c2u_BC, c2u_BD, c2u_BE, c2u_BF,
+ c2u_C0, c2u_C1, c2u_C2, c2u_C3, c2u_C4, c2u_C5, c2u_C6, c2u_C7,
+ c2u_C8, NULL, c2u_CA, c2u_CB, c2u_CC, c2u_CD, c2u_CE, c2u_CF,
+ c2u_D0, c2u_D1, c2u_D2, c2u_D3, c2u_D4, c2u_D5, c2u_D6, c2u_D7,
+ c2u_D8, c2u_D9, c2u_DA, c2u_DB, c2u_DC, c2u_DD, c2u_DE, c2u_DF,
+ c2u_E0, c2u_E1, c2u_E2, c2u_E3, c2u_E4, c2u_E5, c2u_E6, c2u_E7,
+ c2u_E8, c2u_E9, c2u_EA, c2u_EB, c2u_EC, c2u_ED, c2u_EE, c2u_EF,
+ c2u_F0, c2u_F1, c2u_F2, c2u_F3, c2u_F4, c2u_F5, c2u_F6, c2u_F7,
+ c2u_F8, c2u_F9, c2u_FA, c2u_FB, c2u_FC, c2u_FD, NULL, NULL,
};

static const unsigned char u2c_01[512] = {
@@ -13753,37 +13753,37 @@ static const unsigned char u2c_FF[512] = {
};

static const unsigned char *const page_uni2charset[256] = {
- NULL, u2c_01, u2c_02, u2c_03, u2c_04, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, u2c_11, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- u2c_20, u2c_21, u2c_22, u2c_23, u2c_24, u2c_25, u2c_26, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- u2c_30, u2c_31, u2c_32, u2c_33, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, u2c_4E, u2c_4F,
- u2c_50, u2c_51, u2c_52, u2c_53, u2c_54, u2c_55, u2c_56, u2c_57,
- u2c_58, u2c_59, u2c_5A, u2c_5B, u2c_5C, u2c_5D, u2c_5E, u2c_5F,
- u2c_60, u2c_61, u2c_62, u2c_63, u2c_64, u2c_65, u2c_66, u2c_67,
- u2c_68, u2c_69, u2c_6A, u2c_6B, u2c_6C, u2c_6D, u2c_6E, u2c_6F,
- u2c_70, u2c_71, u2c_72, u2c_73, u2c_74, u2c_75, u2c_76, u2c_77,
- u2c_78, u2c_79, u2c_7A, u2c_7B, u2c_7C, u2c_7D, u2c_7E, u2c_7F,
- u2c_80, u2c_81, u2c_82, u2c_83, u2c_84, u2c_85, u2c_86, u2c_87,
- u2c_88, u2c_89, u2c_8A, u2c_8B, u2c_8C, u2c_8D, u2c_8E, u2c_8F,
- u2c_90, u2c_91, u2c_92, u2c_93, u2c_94, u2c_95, u2c_96, u2c_97,
- u2c_98, u2c_99, u2c_9A, u2c_9B, u2c_9C, u2c_9D, u2c_9E, u2c_9F,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, u2c_AC, u2c_AD, u2c_AE, u2c_AF,
- u2c_B0, u2c_B1, u2c_B2, u2c_B3, u2c_B4, u2c_B5, u2c_B6, u2c_B7,
- u2c_B8, u2c_B9, u2c_BA, u2c_BB, u2c_BC, u2c_BD, u2c_BE, u2c_BF,
- u2c_C0, u2c_C1, u2c_C2, u2c_C3, u2c_C4, u2c_C5, u2c_C6, u2c_C7,
- u2c_C8, u2c_C9, u2c_CA, u2c_CB, u2c_CC, u2c_CD, u2c_CE, u2c_CF,
- u2c_D0, u2c_D1, u2c_D2, u2c_D3, u2c_D4, u2c_D5, u2c_D6, u2c_D7,
- NULL, NULL, NULL, NULL, u2c_DC, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, u2c_01, u2c_02, u2c_03, u2c_04, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, u2c_11, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ u2c_20, u2c_21, u2c_22, u2c_23, u2c_24, u2c_25, u2c_26, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ u2c_30, u2c_31, u2c_32, u2c_33, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, u2c_4E, u2c_4F,
+ u2c_50, u2c_51, u2c_52, u2c_53, u2c_54, u2c_55, u2c_56, u2c_57,
+ u2c_58, u2c_59, u2c_5A, u2c_5B, u2c_5C, u2c_5D, u2c_5E, u2c_5F,
+ u2c_60, u2c_61, u2c_62, u2c_63, u2c_64, u2c_65, u2c_66, u2c_67,
+ u2c_68, u2c_69, u2c_6A, u2c_6B, u2c_6C, u2c_6D, u2c_6E, u2c_6F,
+ u2c_70, u2c_71, u2c_72, u2c_73, u2c_74, u2c_75, u2c_76, u2c_77,
+ u2c_78, u2c_79, u2c_7A, u2c_7B, u2c_7C, u2c_7D, u2c_7E, u2c_7F,
+ u2c_80, u2c_81, u2c_82, u2c_83, u2c_84, u2c_85, u2c_86, u2c_87,
+ u2c_88, u2c_89, u2c_8A, u2c_8B, u2c_8C, u2c_8D, u2c_8E, u2c_8F,
+ u2c_90, u2c_91, u2c_92, u2c_93, u2c_94, u2c_95, u2c_96, u2c_97,
+ u2c_98, u2c_99, u2c_9A, u2c_9B, u2c_9C, u2c_9D, u2c_9E, u2c_9F,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, u2c_AC, u2c_AD, u2c_AE, u2c_AF,
+ u2c_B0, u2c_B1, u2c_B2, u2c_B3, u2c_B4, u2c_B5, u2c_B6, u2c_B7,
+ u2c_B8, u2c_B9, u2c_BA, u2c_BB, u2c_BC, u2c_BD, u2c_BE, u2c_BF,
+ u2c_C0, u2c_C1, u2c_C2, u2c_C3, u2c_C4, u2c_C5, u2c_C6, u2c_C7,
+ u2c_C8, u2c_C9, u2c_CA, u2c_CB, u2c_CC, u2c_CD, u2c_CE, u2c_CF,
+ u2c_D0, u2c_D1, u2c_D2, u2c_D3, u2c_D4, u2c_D5, u2c_D6, u2c_D7,
+ NULL, NULL, NULL, NULL, u2c_DC, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, u2c_F9, u2c_FA, NULL, NULL, NULL, NULL, u2c_FF, };

static const unsigned char charset2lower[256] = {
@@ -13879,11 +13879,10 @@ static int uni2char(const wchar_t uni,
if (out[0] == 0x00 && out[1] == 0x00)
return -EINVAL;
n = 2;
- } else if (ch==0 && cl) {
+ } else if ((ch==0) && cl) {
out[0] = cl;
n = 1;
- }
- else
+ } else
return -EINVAL;

return n;

Andrea Gelmini

unread,
Feb 27, 2010, 12:00:03 PM2/27/10
to
arch/um/kernel/gprof_syms.c:1: ERROR: trailing whitespace

Signed-off-by: Andrea Gelmini <andrea....@gelma.net>
---

arch/um/kernel/gprof_syms.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/kernel/gprof_syms.c b/arch/um/kernel/gprof_syms.c
index e2f043d..ec82929 100644
--- a/arch/um/kernel/gprof_syms.c
+++ b/arch/um/kernel/gprof_syms.c


@@ -1,4 +1,4 @@
-/*
+/*

* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)

* Licensed under the GPL
*/

David Miller

unread,
Feb 28, 2010, 3:20:01 AM2/28/10
to
From: Andrea Gelmini <andrea....@gelma.net>
Date: Sat, 27 Feb 2010 17:50:57 +0100

> arch/sparc/include/asm/setup.h:2: ERROR: trailing whitespace
>
> Signed-off-by: Andrea Gelmini <andrea....@gelma.net>

Acked-by: David S. Miller <da...@davemloft.net>

Paul Mundt

unread,
Mar 1, 2010, 10:20:01 PM3/1/10
to
On Sat, Feb 27, 2010 at 05:51:36PM +0100, Andrea Gelmini wrote:
> arch/sh/boot/compressed/cache.c:8: WARNING: space prohibited between function name and open parenthesis '('
>
> Signed-off-by: Andrea Gelmini <andrea....@gelma.net>

Applied.

Takashi Iwai

unread,
Mar 2, 2010, 7:00:01 AM3/2/10
to
At Sat, 27 Feb 2010 17:51:03 +0100,

Andrea Gelmini wrote:
>
> sound/oss/v_midi.h:5: ERROR: code indent should use tabs where possible
> sound/oss/v_midi.h:7: ERROR: trailing whitespace
>
> Signed-off-by: Andrea Gelmini <andrea....@gelma.net>

Applied all three patches for sound/* now. Thanks.


Takashi

Andrea Gelmini

unread,
Mar 2, 2010, 10:30:02 AM3/2/10
to
2010/3/2 Takashi Iwai <ti...@suse.de>:
Hi Takashi,
thanks a lot for you reply.

> Applied all three patches for sound/* now.  Thanks.

Thanks a lot.
If you care I can check all sound subtree.

Thanks again,
Andrea

0 new messages