mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 02:15:57 +00:00
[PATCH] s390: ebdic to ascii conversion tables
Make the length of ebcdic<->ascii conversion arrays known. This avoid warnings with source code checking tools. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bdc7f15909
commit
0664299743
@ -14,12 +14,12 @@
|
|||||||
#include <types.h>
|
#include <types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern __u8 _ascebc_500[]; /* ASCII -> EBCDIC 500 conversion table */
|
extern __u8 _ascebc_500[256]; /* ASCII -> EBCDIC 500 conversion table */
|
||||||
extern __u8 _ebcasc_500[]; /* EBCDIC 500 -> ASCII conversion table */
|
extern __u8 _ebcasc_500[256]; /* EBCDIC 500 -> ASCII conversion table */
|
||||||
extern __u8 _ascebc[]; /* ASCII -> EBCDIC conversion table */
|
extern __u8 _ascebc[256]; /* ASCII -> EBCDIC conversion table */
|
||||||
extern __u8 _ebcasc[]; /* EBCDIC -> ASCII conversion table */
|
extern __u8 _ebcasc[256]; /* EBCDIC -> ASCII conversion table */
|
||||||
extern __u8 _ebc_tolower[]; /* EBCDIC -> lowercase */
|
extern __u8 _ebc_tolower[256]; /* EBCDIC -> lowercase */
|
||||||
extern __u8 _ebc_toupper[]; /* EBCDIC -> uppercase */
|
extern __u8 _ebc_toupper[256]; /* EBCDIC -> uppercase */
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
|
codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user