Commit b44c779ae0dedf3a6503c253954e570361b33f2b
Committed by
Ralf Baechle
1 parent
f1df323924
Exists in
master
and in
7 other branches
MIPS: libgcc.h: Checkpatch cleanup
arch/mips/lib/libgcc.h:21: ERROR: open brace '{' following union go on the same line Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> To: linux-kernel@vger.kernel.org Cc: Paul Mundt <lethal@linux-sh.org> Cc: linux-mips@linux-mips.org Cc: linux-sh@vger.kernel.org Patchwork: http://patchwork.linux-mips.org/patch/1007/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Showing 1 changed file with 1 additions and 2 deletions Inline Diff
arch/mips/lib/libgcc.h
1 | #ifndef __ASM_LIBGCC_H | 1 | #ifndef __ASM_LIBGCC_H |
2 | #define __ASM_LIBGCC_H | 2 | #define __ASM_LIBGCC_H |
3 | 3 | ||
4 | #include <asm/byteorder.h> | 4 | #include <asm/byteorder.h> |
5 | 5 | ||
6 | typedef int word_type __attribute__ ((mode (__word__))); | 6 | typedef int word_type __attribute__ ((mode (__word__))); |
7 | 7 | ||
8 | #ifdef __BIG_ENDIAN | 8 | #ifdef __BIG_ENDIAN |
9 | struct DWstruct { | 9 | struct DWstruct { |
10 | int high, low; | 10 | int high, low; |
11 | }; | 11 | }; |
12 | #elif defined(__LITTLE_ENDIAN) | 12 | #elif defined(__LITTLE_ENDIAN) |
13 | struct DWstruct { | 13 | struct DWstruct { |
14 | int low, high; | 14 | int low, high; |
15 | }; | 15 | }; |
16 | #else | 16 | #else |
17 | #error I feel sick. | 17 | #error I feel sick. |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | typedef union | 20 | typedef union { |
21 | { | ||
22 | struct DWstruct s; | 21 | struct DWstruct s; |
23 | long long ll; | 22 | long long ll; |
24 | } DWunion; | 23 | } DWunion; |
25 | 24 | ||
26 | #endif /* __ASM_LIBGCC_H */ | 25 | #endif /* __ASM_LIBGCC_H */ |
27 | 26 |