forked from luck/tmp_suning_uos_patched
062795fcdc
Depending on inlining decisions by the compiler, __get/put_user_fn might become out of line. Then the compiler is no longer able to tell that size can only be 1,2,4 or 8 due to the check in __get/put_user resulting in false positives like ./arch/s390/include/asm/uaccess.h: In function ‘__put_user_fn’: ./arch/s390/include/asm/uaccess.h:113:9: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized] 113 | return rc; | ^~ ./arch/s390/include/asm/uaccess.h: In function ‘__get_user_fn’: ./arch/s390/include/asm/uaccess.h:143:9: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized] 143 | return rc; | ^~ These functions are supposed to be always inlined. Mark it as such. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> |
||
---|---|---|
.. | ||
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 | ||
vmlinux.lds.h | ||
vtime.h | ||
vtimer.h | ||
vx-insn.h | ||
xor.h |