kernel_optimize_test/arch/s390/include/asm
Christian Borntraeger 062795fcdc s390/uaccess: avoid (false positive) compiler warnings
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>
2019-10-11 12:27:25 +02:00
..
fpu
trace
airq.h
alternative-asm.h
alternative.h
ap.h
appldata.h
archrandom.h
asm-prototypes.h
atomic_ops.h s390/atomic,bitops: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
atomic.h
barrier.h
bitops.h s390/atomic,bitops: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
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 s390: mark __cpacf_query() as __always_inline 2019-10-04 16:37:33 +02:00
cpcmd.h
cpu_mcf.h
cpu_mf-insn.h
cpu_mf.h s390/cpu_mf: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
cpu.h
cpufeature.h
cputime.h
crw.h
css_chars.h
ctl_reg.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
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 s390/mm: use refcount_t for refcount 2019-08-21 12:41:43 +02:00
hardirq.h
hugetlb.h s390/mm: fix -Wunused-but-set-variable warnings 2019-10-04 16:37:33 +02:00
hw_irq.h
idals.h
idle.h
io.h
ipl.h
irq.h
irqflags.h
isc.h
itcw.h
jump_label.h s390/jump_label: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
kasan.h
Kbuild
kdebug.h
kexec.h
kprobes.h
kvm_host.h ARM: 2019-07-12 15:35:14 -07:00
kvm_para.h
linkage.h
livepatch.h
lowcore.h
mem_detect.h s390/mem_detect: provide single get_mem_detect_end 2019-08-26 12:51:18 +02:00
mem_encrypt.h s390/mm: Remove sev_active() function 2019-08-09 22:52:11 +10:00
mmu_context.h
mmu.h
mmzone.h
module.h
nmi.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
nospec-branch.h
nospec-insn.h
numa.h
os_info.h
page-states.h
page.h s390/dma: provide proper ARCH_ZONE_DMA_BITS value 2019-07-26 13:36:12 +02:00
pci_clp.h
pci_debug.h
pci_dma.h
pci_insn.h s390: fix setting of mio addressing control 2019-07-11 20:40:02 +02:00
pci_io.h
pci.h
percpu.h
perf_event.h s390/cpum_sf: Support ioctl PERF_EVENT_IOC_PERIOD 2019-09-19 12:56:07 +02:00
pgalloc.h
pgtable.h s390/mm: mark function(s) __always_inline 2019-10-04 16:37:33 +02:00
pkey.h s390/pkey: pkey cleanup: narrow in-kernel API, fix some variable types 2019-08-21 12:58:53 +02:00
pnet.h
preempt.h
processor.h s390/base: remove unused s390_base_mcck_handler 2019-09-03 13:53:56 +02:00
ptrace.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
purgatory.h
qdio.h s390/qdio: clarify size of the QIB parm area 2019-10-01 09:41:36 +02:00
runtime_instr.h
schid.h
sclp.h
scsw.h
seccomp.h
sections.h
serial.h
set_memory.h
setup.h s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
shmparam.h
signal.h
sigp.h
smp.h
sparsemem.h
spinlock_types.h
spinlock.h
stacktrace.h
stp.h
string.h s390/kasan: provide uninstrumented __strlen 2019-08-21 12:58:52 +02:00
switch_to.h
syscall_wrapper.h
syscall.h
sysinfo.h
termios.h
thread_info.h arch: replace _BITUL() in kernel-space headers with BIT() 2019-07-16 19:23:22 -07:00
timex.h
tlb.h
tlbflush.h
topology.h
uaccess.h s390/uaccess: avoid (false positive) compiler warnings 2019-10-11 12:27:25 +02:00
unistd.h s390: wire up clone3 system call 2019-07-23 10:45:53 +02:00
unwind.h
uprobes.h
user.h
uv.h
vdso.h
vga.h
vmlinux.lds.h
vtime.h
vtimer.h
vx-insn.h
xor.h