mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 10:56:11 +07:00
0f8a206df7
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:
|
||
---|---|---|
.. | ||
fpu | ||
trace | ||
airq.h | ||
alternative-asm.h | ||
alternative.h | ||
ap.h | ||
appldata.h | ||
archrandom.h | ||
asm-prototypes.h | ||
atomic_ops.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
boot_data.h | ||
bug.h | ||
bugs.h | ||
cache.h | ||
ccwdev.h | ||
ccwgroup.h | ||
checksum.h | ||
chpid.h | ||
cio.h | ||
clp.h | ||
cmb.h | ||
cmpxchg.h | ||
compat.h | ||
cpacf.h | ||
cpcmd.h | ||
cpu_mcf.h | ||
cpu_mf-insn.h | ||
cpu_mf.h | ||
cpu.h | ||
cpufeature.h | ||
cputime.h | ||
crw.h | ||
css_chars.h | ||
ctl_reg.h | ||
current.h | ||
debug.h | ||
delay.h | ||
diag.h | ||
dis.h | ||
dma.h | ||
dwarf.h | ||
eadm.h | ||
ebcdic.h | ||
elf.h | ||
exec.h | ||
extable.h | ||
extmem.h | ||
facility.h | ||
fcx.h | ||
ftrace.h | ||
futex.h | ||
gmap.h | ||
hardirq.h | ||
hugetlb.h | ||
hw_irq.h | ||
idals.h | ||
idle.h | ||
io.h | ||
ipl.h | ||
irq.h | ||
irqflags.h | ||
isc.h | ||
itcw.h | ||
jump_label.h | ||
kasan.h | ||
Kbuild | ||
kdebug.h | ||
kexec.h | ||
kprobes.h | ||
kvm_host.h | ||
kvm_para.h | ||
linkage.h | ||
livepatch.h | ||
lowcore.h | ||
mem_detect.h | ||
mem_encrypt.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
nmi.h | ||
nospec-branch.h | ||
nospec-insn.h | ||
numa.h | ||
os_info.h | ||
page-states.h | ||
page.h | ||
pci_clp.h | ||
pci_debug.h | ||
pci_dma.h | ||
pci_insn.h | ||
pci_io.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable.h | ||
pkey.h | ||
pnet.h | ||
preempt.h | ||
processor.h | ||
ptrace.h | ||
purgatory.h | ||
qdio.h | ||
runtime_instr.h | ||
schid.h | ||
sclp.h | ||
scsw.h | ||
seccomp.h | ||
sections.h | ||
serial.h | ||
set_memory.h | ||
setup.h | ||
shmparam.h | ||
signal.h | ||
sigp.h | ||
smp.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
stacktrace.h | ||
stp.h | ||
string.h | ||
switch_to.h | ||
syscall_wrapper.h | ||
syscall.h | ||
sysinfo.h | ||
termios.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
uaccess.h | ||
unistd.h | ||
unwind.h | ||
uprobes.h | ||
user.h | ||
uv.h | ||
vdso.h | ||
vga.h | ||
vmalloc.h | ||
vmlinux.lds.h | ||
vtime.h | ||
vtimer.h | ||
vx-insn.h | ||
xor.h |