https://github.com/torvalds/linux
Revision 57d6a7938a8fc6cee8420b40ca244220b41721f5 authored by Mathieu Malaterre on 08 March 2018, 20:28:56 UTC, committed by Ingo Molnar on 22 June 2018, 09:07:47 UTC
When building perf with W=1 the following warning triggers:

  CC      kernel/events/ring_buffer.o
  kernel/events/ring_buffer.c:105:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration]
   static bool __always_inline
   ^~~~~~
  ...

Move the inline keyword to the beginning of the function declaration.

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: trival@kernel.org
Link: http://lkml.kernel.org/r/20180308202856.9378-1-malat@debian.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 90718e3
History
Tip revision: 57d6a7938a8fc6cee8420b40ca244220b41721f5 authored by Mathieu Malaterre on 08 March 2018, 20:28:56 UTC
perf/core: Move the inline keyword at the beginning of the function declaration
Tip revision: 57d6a79
File Mode Size
Kconfig -rw-r--r-- 4.9 KB
Makefile -rw-r--r-- 1006 bytes
da8xx_remoteproc.c -rw-r--r-- 9.5 KB
imx_rproc.c -rw-r--r-- 10.6 KB
keystone_remoteproc.c -rw-r--r-- 14.3 KB
omap_remoteproc.c -rw-r--r-- 6.3 KB
omap_remoteproc.h -rw-r--r-- 2.8 KB
qcom_adsp_pil.c -rw-r--r-- 10.8 KB
qcom_common.c -rw-r--r-- 6.7 KB
qcom_common.h -rw-r--r-- 1.6 KB
qcom_q6v5_pil.c -rw-r--r-- 32.1 KB
qcom_sysmon.c -rw-r--r-- 13.2 KB
qcom_wcnss.c -rw-r--r-- 14.5 KB
qcom_wcnss.h -rw-r--r-- 504 bytes
qcom_wcnss_iris.c -rw-r--r-- 4.5 KB
remoteproc_core.c -rw-r--r-- 45.9 KB
remoteproc_debugfs.c -rw-r--r-- 10.4 KB
remoteproc_elf_loader.c -rw-r--r-- 9.4 KB
remoteproc_internal.h -rw-r--r-- 3.1 KB
remoteproc_sysfs.c -rw-r--r-- 3.5 KB
remoteproc_virtio.c -rw-r--r-- 9.1 KB
st_remoteproc.c -rw-r--r-- 9.9 KB
st_slim_rproc.c -rw-r--r-- 8.5 KB
wkup_m3_rproc.c -rw-r--r-- 6.4 KB

back to top