-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odroidgoA: Patches to build with GCC 10 #410
base: odroidgoA-4.4.y
Are you sure you want to change the base?
Commits on Jan 25, 2021
-
perf: cs-etm: fix duplicate def of traceid_list
Backport of 168200b upstream Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7cdd201 - Browse repository at this point
Copy the full SHA 7cdd201View commit details -
perf bench: Share some global variables to fix build with gcc 10
Configuration menu - View commit details
-
Copy full SHA for 62b75df - Browse repository at this point
Copy the full SHA 62b75dfView commit details -
perf: Make perf able to build with latest libbfd
Based on http://lore.kernel.org/lkml/[email protected] Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89b28cc - Browse repository at this point
Copy the full SHA 89b28ccView commit details -
tools lib api fs: Fix gcc9 stringop-truncation compilation error
GCC9 introduced string hardening mechanisms, which exhibits the error during fs api compilation: error: '__builtin_strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] This comes when the length of copy passed to strncpy is is equal to destination size, which could potentially lead to buffer overflow. There is a need to mitigate this potential issue by limiting the size of destination by 1 and explicitly terminate the destination with NULL. Signed-off-by: Andrey Zhizhikin <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Song Liu <[email protected]> Cc: Yonghong Song <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 186f5ff - Browse repository at this point
Copy the full SHA 186f5ffView commit details -
Clean the new GCC 9 -Wmissing-attributes warnings
Backport https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0b999ae3614d09d97a1575936bcee884f912b10e Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29d83af - Browse repository at this point
Copy the full SHA 29d83afView commit details -
nf_conntrack_core: Fix gcc-10 compilation
gcc-10 emits the following error: > warning: array subscript 0 is outside the bounds of an interior zero-length array 'u8[0]' {aka 'unsigned char[0]'} [-Wzero-length-bounds] Based on https://lkml.org/lkml/2020/4/30/1476 Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ce5411 - Browse repository at this point
Copy the full SHA 0ce5411View commit details -
wlcore: debugfs: Remove unused variable 'res'
Fixes the following W=1 kernel build warning(s): Cc: Kalle Valo <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Luciano Coelho <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Configuration menu - View commit details
-
Copy full SHA for 4e2bc2d - Browse repository at this point
Copy the full SHA 4e2bc2dView commit details -
usb: ehci: avoid gcc-10 zero-length-bounds warning
Backport of https://lkml.org/lkml/2020/4/30/1475 Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7eae4ba - Browse repository at this point
Copy the full SHA 7eae4baView commit details -
gcc-10 warnings: fix low-hanging fruit
Backport of 9d82973 Original description below --- Due to a bug-report that was compiler-dependent, I updated one of my machines to gcc-10. That shows a lot of new warnings. Happily they seem to be mostly the valid kind, but it's going to cause a round of churn for getting rid of them.. This is the really low-hanging fruit of removing a couple of zero-sized arrays in some core code. We have had a round of these patches before, and we'll have many more coming, and there is nothing special about these except that they were particularly trivial, and triggered more warnings than most. Signed-off-by: Linus Torvalds <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6fb2704 - Browse repository at this point
Copy the full SHA 6fb2704View commit details -
Fix joystick/analog.c GCC-10 -Wrestrict warning
drivers/input/joystick/analog.c: In function 'analog_connect': drivers/input/joystick/analog.c:444:3: warning: 'snprintf' argument 4 overlaps destination object '<unknown>' [-Wrestrict] error, forbidden warning:analog.c:444 444 | snprintf(analog->name, sizeof(analog->name), "%s %d-hat", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 445 | analog->name, hweight16(analog->mask & ANALOG_HATS_ALL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e76f457 - Browse repository at this point
Copy the full SHA e76f457View commit details -
drivers/net/phy/mdio_bus: Fix gcc-10 -Wrestrict
Fixes drivers/net/phy/mdio_bus.c: In function 'phy_registers_show': drivers/net/phy/mdio_bus.c:665:3: warning: 'sprintf' argument 3 overlaps destination object 'buf' [-Wrestrict] error, forbidden warning:mdio_bus.c:665 665 | sprintf(buf, "%s%2d: 0x%x\n", buf, index, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 666 | phy_read(phydev, index)); | ~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/phy/mdio_bus.c:659:77: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 659 | phy_registers_show(struct device *dev, struct device_attribute *attr, char *buf) | ~~~~~~^~~ Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7c2392 - Browse repository at this point
Copy the full SHA c7c2392View commit details -
drivers/net/wireless: Fix gcc-10 -Wrestrict
Fixes errors such as: drivers/net/wireless/rtl8821cu/os_dep/linux/ioctl_mp.c: In function 'rtw_mp_txpower_index': drivers/net/wireless/rtl8821cu/os_dep/linux/ioctl_mp.c:573:4: warning: 'sprintf' argument 3 overlaps destination object 'extra' [-Wrestrict] error, forbidden warning:ioctl_mp.c:573 573 | sprintf(extra, "%s,pathb=%d", extra, txpower_inx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/wireless/rtl8821cu/os_dep/linux/ioctl_mp.c:546:34: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 546 | struct iw_point *wrqu, char *extra) | ~~~~~~^~~~~ Signed-off-by: Gleb Mazovetskiy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e14af2d - Browse repository at this point
Copy the full SHA e14af2dView commit details -
BACKPORT: arm64: don't zero in __copy_from_user{,_inatomic}
Signed-off-by: Al Viro <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02bcb5a - Browse repository at this point
Copy the full SHA 02bcb5aView commit details