summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMathieu Malaterre2019-05-29 10:04:34 +0200
committerMasahiro Yamada2019-06-09 08:07:52 +0200
commit869ee58b82680dae6e0b1d4b37e8c36561b2d2d6 (patch)
tree6306c4bf07bac5693a4bf6d05cc8a7d7524c35af /Makefile
parentLinux 5.2-rc4 (diff)
downloadkernel-qcow2-linux-869ee58b82680dae6e0b1d4b37e8c36561b2d2d6.tar.gz
kernel-qcow2-linux-869ee58b82680dae6e0b1d4b37e8c36561b2d2d6.tar.xz
kernel-qcow2-linux-869ee58b82680dae6e0b1d4b37e8c36561b2d2d6.zip
kbuild: Remove -Waggregate-return from scripts/Makefile.extrawarn
It makes little sense to pass -Waggregate-return these days since large part of the linux kernel rely on returning struct(s). For instance: ../include/linux/timekeeping.h: In function 'show_uptime': ../include/linux/ktime.h:91:34: error: function call has aggregate value [-Werror=aggregate-return] #define ktime_to_timespec64(kt) ns_to_timespec64((kt)) ^~~~~~~~~~~~~~~~~~~~~~ ../include/linux/timekeeping.h:166:8: note: in expansion of macro 'ktime_to_timespec64' *ts = ktime_to_timespec64(ktime_get_coarse_boottime()); Remove this warning from W=2 completely. Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions