Files
linux/arch/s390/include/asm
Nathan Chancellor 0f8a206df7 s390/time: Fix clk type in get_tod_clock
Clang warns:

In file included from ../arch/s390/boot/startup.c:3:
In file included from ../include/linux/elf.h:5:
In file included from ../arch/s390/include/asm/elf.h:132:
In file included from ../include/linux/compat.h:10:
In file included from ../include/linux/time.h:74:
In file included from ../include/linux/time32.h:13:
In file included from ../include/linux/timex.h:65:
../arch/s390/include/asm/timex.h:160:20: warning: passing 'unsigned char
[16]' to parameter of type 'char *' converts between pointers to integer
types with different sign [-Wpointer-sign]
        get_tod_clock_ext(clk);
                          ^~~
../arch/s390/include/asm/timex.h:149:44: note: passing argument to
parameter 'clk' here
static inline void get_tod_clock_ext(char *clk)
                                           ^

Change clk's type to just be char so that it matches what happens in
get_tod_clock_ext.

Fixes: 57b28f6631 ("[S390] s390_hypfs: Add new attributes")
Link: https://github.com/ClangBuiltLinux/linux/issues/861
Link: http://lkml.kernel.org/r/20200208140858.47970-1-natechancellor@gmail.com
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-02-11 20:15:42 +01:00
..
2020-01-22 13:05:35 +01:00
2017-12-05 07:51:09 +01:00
2019-04-29 10:47:10 +02:00
2019-04-25 15:34:10 +02:00
2019-04-29 10:47:10 +02:00
2019-06-19 17:54:27 +02:00
2019-08-21 12:41:43 +02:00
2019-04-29 10:47:10 +02:00
2019-02-05 14:29:23 +01:00
2020-01-30 13:07:55 +01:00
2019-04-29 10:47:10 +02:00
2019-06-07 10:09:37 +02:00
2020-02-04 03:05:24 +00:00
2019-02-07 18:06:18 -08:00
2019-11-30 10:52:44 +01:00
2019-06-07 10:09:42 +02:00
2019-04-03 10:32:57 +02:00
2019-06-07 10:09:37 +02:00
2019-07-23 10:45:53 +02:00
2019-11-30 10:52:44 +01:00
2017-12-05 07:51:09 +01:00