This is the start of the stable review cycle for the 5.4.55 release.
There are 19 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 01 Aug 2020 07:44:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.55-rc1…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.4.55-rc1
Vladimir Oltean <vladimir.oltean(a)nxp.com>
Revert "dpaa_eth: fix usage as DSA master, try 3"
zhuguangqing <zhuguangqing(a)xiaomi.com>
PM: wakeup: Show statistics for deleted wakeup sources again
Peng Fan <peng.fan(a)nxp.com>
regmap: debugfs: check count when read regmap file
Kuniyuki Iwashima <kuniyu(a)amazon.co.jp>
udp: Improve load balancing for SO_REUSEPORT.
Kuniyuki Iwashima <kuniyu(a)amazon.co.jp>
udp: Copy has_conns in reuseport_grow().
Xin Long <lucien.xin(a)gmail.com>
sctp: shrink stream outq when fails to do addstream reconf
Xin Long <lucien.xin(a)gmail.com>
sctp: shrink stream outq only when new outcnt < old outcnt
Dan Carpenter <dan.carpenter(a)oracle.com>
AX.25: Prevent integer overflows in connect and sendmsg
Yuchung Cheng <ycheng(a)google.com>
tcp: allow at most one TLP probe per flight
David Howells <dhowells(a)redhat.com>
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
Weilong Chen <chenweilong(a)huawei.com>
rtnetlink: Fix memory(net_device) leak when ->newlink fails
Cong Wang <xiyou.wangcong(a)gmail.com>
qrtr: orphan socket in qrtr_release()
Miaohe Lin <linmiaohe(a)huawei.com>
net: udp: Fix wrong clean up for IS_UDPLITE macro
Xiongfeng Wang <wangxiongfeng2(a)huawei.com>
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
Wei Yongjun <weiyongjun1(a)huawei.com>
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Xie He <xie.he.0141(a)gmail.com>
drivers/net/wan/x25_asy: Fix to make it work
Subash Abhinov Kasiviswanathan <subashab(a)codeaurora.org>
dev: Defer free of skbs in flush_backlog
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Fix out-of-bounds read in ax25_connect()
-------------
Diffstat:
Makefile | 4 ++--
drivers/base/power/wakeup.c | 3 +++
drivers/base/regmap/regmap-debugfs.c | 6 ++++++
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +-
drivers/net/wan/x25_asy.c | 21 +++++++++++++-------
include/linux/tcp.h | 4 +++-
net/ax25/af_ax25.c | 10 ++++++++--
net/core/dev.c | 2 +-
net/core/net-sysfs.c | 2 +-
net/core/rtnetlink.c | 3 ++-
net/core/sock_reuseport.c | 1 +
net/ipv4/tcp_input.c | 11 ++++++-----
net/ipv4/tcp_output.c | 13 ++++++++-----
net/ipv4/udp.c | 17 +++++++++-------
net/ipv6/ip6_gre.c | 11 ++++++-----
net/ipv6/udp.c | 17 +++++++++-------
net/qrtr/qrtr.c | 1 +
net/rxrpc/recvmsg.c | 2 +-
net/rxrpc/sendmsg.c | 2 +-
net/sctp/stream.c | 27 +++++++++++++++++---------
20 files changed, 103 insertions(+), 56 deletions(-)
This is the start of the stable review cycle for the 5.7.12 release.
There are 20 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 01 Aug 2020 07:44:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.7.12-rc1…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.7.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.7.12-rc1
Peng Fan <peng.fan(a)nxp.com>
regmap: debugfs: check count when read regmap file
Jens Axboe <axboe(a)kernel.dk>
io_uring: ensure double poll additions work with both request types
Tung Nguyen <tung.q.nguyen(a)dektech.com.au>
tipc: allow to build NACK message in link timeout function
Kuniyuki Iwashima <kuniyu(a)amazon.co.jp>
udp: Improve load balancing for SO_REUSEPORT.
Kuniyuki Iwashima <kuniyu(a)amazon.co.jp>
udp: Copy has_conns in reuseport_grow().
Xin Long <lucien.xin(a)gmail.com>
sctp: shrink stream outq when fails to do addstream reconf
Xin Long <lucien.xin(a)gmail.com>
sctp: shrink stream outq only when new outcnt < old outcnt
Dan Carpenter <dan.carpenter(a)oracle.com>
AX.25: Prevent integer overflows in connect and sendmsg
Yuchung Cheng <ycheng(a)google.com>
tcp: allow at most one TLP probe per flight
David Howells <dhowells(a)redhat.com>
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
Weilong Chen <chenweilong(a)huawei.com>
rtnetlink: Fix memory(net_device) leak when ->newlink fails
Cong Wang <xiyou.wangcong(a)gmail.com>
qrtr: orphan socket in qrtr_release()
Miaohe Lin <linmiaohe(a)huawei.com>
net: udp: Fix wrong clean up for IS_UDPLITE macro
Xiongfeng Wang <wangxiongfeng2(a)huawei.com>
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
wenxu <wenxu(a)ucloud.cn>
net/sched: act_ct: fix restore the qdisc_skb_cb after defrag
Wei Yongjun <weiyongjun1(a)huawei.com>
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Xie He <xie.he.0141(a)gmail.com>
drivers/net/wan/x25_asy: Fix to make it work
Subash Abhinov Kasiviswanathan <subashab(a)codeaurora.org>
dev: Defer free of skbs in flush_backlog
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Fix out-of-bounds read in ax25_connect()
-------------
Diffstat:
Makefile | 4 +--
drivers/base/regmap/regmap-debugfs.c | 6 +++++
drivers/net/wan/x25_asy.c | 21 ++++++++++------
fs/io_uring.c | 47 ++++++++++++++++++++----------------
include/linux/tcp.h | 4 ++-
net/ax25/af_ax25.c | 10 ++++++--
net/core/dev.c | 2 +-
net/core/net-sysfs.c | 2 +-
net/core/rtnetlink.c | 3 ++-
net/core/sock_reuseport.c | 1 +
net/ipv4/tcp_input.c | 11 +++++----
net/ipv4/tcp_output.c | 13 ++++++----
net/ipv4/udp.c | 17 +++++++------
net/ipv6/ip6_gre.c | 11 +++++----
net/ipv6/udp.c | 17 +++++++------
net/qrtr/qrtr.c | 1 +
net/rxrpc/recvmsg.c | 2 +-
net/rxrpc/sendmsg.c | 2 +-
net/sched/act_ct.c | 16 ++++++++++--
net/sctp/stream.c | 27 ++++++++++++++-------
net/tipc/link.c | 2 +-
21 files changed, 140 insertions(+), 79 deletions(-)
This is the start of the stable review cycle for the 4.19.136 release.
There are 17 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 01 Aug 2020 07:44:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.19.136-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.19.136-rc1
Peng Fan <peng.fan(a)nxp.com>
regmap: debugfs: check count when read regmap file
Weilong Chen <chenweilong(a)huawei.com>
rtnetlink: Fix memory(net_device) leak when ->newlink fails
Kuniyuki Iwashima <kuniyu(a)amazon.co.jp>
udp: Improve load balancing for SO_REUSEPORT.
Kuniyuki Iwashima <kuniyu(a)amazon.co.jp>
udp: Copy has_conns in reuseport_grow().
Xin Long <lucien.xin(a)gmail.com>
sctp: shrink stream outq when fails to do addstream reconf
Xin Long <lucien.xin(a)gmail.com>
sctp: shrink stream outq only when new outcnt < old outcnt
Dan Carpenter <dan.carpenter(a)oracle.com>
AX.25: Prevent integer overflows in connect and sendmsg
Yuchung Cheng <ycheng(a)google.com>
tcp: allow at most one TLP probe per flight
David Howells <dhowells(a)redhat.com>
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
Cong Wang <xiyou.wangcong(a)gmail.com>
qrtr: orphan socket in qrtr_release()
Miaohe Lin <linmiaohe(a)huawei.com>
net: udp: Fix wrong clean up for IS_UDPLITE macro
Xiongfeng Wang <wangxiongfeng2(a)huawei.com>
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
Wei Yongjun <weiyongjun1(a)huawei.com>
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Xie He <xie.he.0141(a)gmail.com>
drivers/net/wan/x25_asy: Fix to make it work
Subash Abhinov Kasiviswanathan <subashab(a)codeaurora.org>
dev: Defer free of skbs in flush_backlog
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Fix out-of-bounds read in ax25_connect()
-------------
Diffstat:
Makefile | 4 ++--
drivers/base/regmap/regmap-debugfs.c | 6 ++++++
drivers/net/wan/x25_asy.c | 21 ++++++++++++++-------
include/linux/tcp.h | 4 +++-
net/ax25/af_ax25.c | 10 ++++++++--
net/core/dev.c | 2 +-
net/core/net-sysfs.c | 2 +-
net/core/rtnetlink.c | 3 ++-
net/core/sock_reuseport.c | 1 +
net/ipv4/tcp_input.c | 11 ++++++-----
net/ipv4/tcp_output.c | 13 ++++++++-----
net/ipv4/udp.c | 17 ++++++++++-------
net/ipv6/ip6_gre.c | 11 ++++++-----
net/ipv6/udp.c | 17 ++++++++++-------
net/qrtr/qrtr.c | 1 +
net/rxrpc/recvmsg.c | 2 +-
net/rxrpc/sendmsg.c | 2 +-
net/sctp/stream.c | 27 ++++++++++++++++++---------
18 files changed, 99 insertions(+), 55 deletions(-)
This is the start of the stable review cycle for the 4.4.232 release.
There are 54 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 01 Aug 2020 07:44:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.232-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.4.232-rc1
Masami Hiramatsu <mhiramat(a)kernel.org>
perf probe: Fix to check blacklist address correctly
Arnaldo Carvalho de Melo <acme(a)redhat.com>
perf annotate: Use asprintf when formatting objdump command line
Jiri Olsa <jolsa(a)kernel.org>
perf tools: Fix snprint warnings for gcc 8
Changbin Du <changbin.du(a)gmail.com>
perf: Make perf able to build with latest libbfd
Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
tools/lib/subcmd/pager.c: do not alias select() params
Eric Sandeen <sandeen(a)redhat.com>
xfs: set format back to extents if xfs_bmap_extents_to_btree
Peng Fan <peng.fan(a)nxp.com>
regmap: debugfs: check count when read regmap file
Fangrui Song <maskray(a)google.com>
Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
Xie He <xie.he.0141(a)gmail.com>
drivers/net/wan/x25_asy: Fix to make it work
Wei Yongjun <weiyongjun1(a)huawei.com>
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
David Howells <dhowells(a)redhat.com>
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
Yuchung Cheng <ycheng(a)google.com>
tcp: allow at most one TLP probe per flight
Dan Carpenter <dan.carpenter(a)oracle.com>
AX.25: Prevent integer overflows in connect and sendmsg
Miaohe Lin <linmiaohe(a)huawei.com>
net: udp: Fix wrong clean up for IS_UDPLITE macro
Xiongfeng Wang <wangxiongfeng2(a)huawei.com>
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Fix out-of-bounds read in ax25_connect()
Mark O'Donovan <shiftee(a)posteo.net>
ath9k: Fix regression with Atheros 9271
Qiujun Huang <hqjagain(a)gmail.com>
ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
John David Anglin <dave.anglin(a)bell.net>
parisc: Add atomic64_set_release() define to avoid CPU soft lockups
Hugh Dickins <hughd(a)google.com>
mm/memcg: fix refcount error while moving and swapping
Serge Semin <Sergey.Semin(a)baikalelectronics.ru>
serial: 8250_mtk: Fix high-speed baud rates clamping
Yang Yingliang <yangyingliang(a)huawei.com>
serial: 8250: fix null-ptr-deref in serial8250_start_tx()
Ian Abbott <abbotti(a)mev.co.uk>
staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
Ian Abbott <abbotti(a)mev.co.uk>
staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
Ian Abbott <abbotti(a)mev.co.uk>
staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
Ian Abbott <abbotti(a)mev.co.uk>
staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
Rustam Kovhaev <rkovhaev(a)gmail.com>
staging: wlan-ng: properly check endpoint types
Steve French <stfrench(a)microsoft.com>
Revert "cifs: Fix the target file was deleted when rename failed."
Arnd Bergmann <arnd(a)arndb.de>
x86: math-emu: Fix up 'cmp' insn for clang ias
Will Deacon <will(a)kernel.org>
arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
Evgeny Novikov <novikov(a)ispras.ru>
usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()
Marc Kleine-Budde <mkl(a)pengutronix.de>
regmap: dev_get_regmap_match(): fix string comparison
Pi-Hsun Shih <pihsun(a)chromium.org>
scripts/decode_stacktrace: strip basepath from all paths
Wang Hai <wanghai38(a)huawei.com>
net: smc91x: Fix possible memory leak in smc_drv_probe()
Sergey Organov <sorganov(a)gmail.com>
net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
George Kennedy <george.kennedy(a)oracle.com>
ax88172a: fix ax88172a_unbind() failures
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
Boris Burkov <boris(a)bur.io>
btrfs: fix mount failure caused by race with umount
Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
x86/fpu: Disable bottom halves while loading FPU registers
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix double free on ulist after backref resolution failure
Hans de Goede <hdegoede(a)redhat.com>
ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
Takashi Iwai <tiwai(a)suse.de>
ALSA: info: Drop WARN_ON() from buffer NULL sanity check
Oleg Nesterov <oleg(a)redhat.com>
uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression
Jiri Olsa <jolsa(a)kernel.org>
perf/core: Fix locking for children siblings group read
Olga Kornievskaia <kolga(a)netapp.com>
SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion")
Ben Skeggs <bskeggs(a)redhat.com>
drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
Tom Rix <trix(a)redhat.com>
net: sky2: initialize return of gm_phy_read
Xie He <xie.he.0141(a)gmail.com>
drivers/net/wan/lapbether: Fixed the value of hard_header_len
Max Filippov <jcmvbkbc(a)gmail.com>
xtensa: update *pos in cpuinfo_op.next
Max Filippov <jcmvbkbc(a)gmail.com>
xtensa: fix __sync_fetch_and_{and,or}_4 declarations
Tom Rix <trix(a)redhat.com>
scsi: scsi_transport_spi: Fix function pointer check
Markus Theil <markus.theil(a)tu-ilmenau.de>
mac80211: allow rx of mesh eapol frames with default rx key
Jacky Hu <hengqing.hu(a)gmail.com>
pinctrl: amd: fix npins for uart0 in kerncz_groups
-------------
Diffstat:
Makefile | 6 +--
arch/arm64/kernel/debug-monitors.c | 4 +-
arch/parisc/include/asm/atomic.h | 2 +
arch/x86/kernel/fpu/signal.c | 4 +-
arch/x86/math-emu/wm_sqrt.S | 2 +-
arch/xtensa/kernel/setup.c | 3 +-
arch/xtensa/kernel/xtensa_ksyms.c | 4 +-
drivers/base/regmap/regmap-debugfs.c | 6 +++
drivers/base/regmap/regmap.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c | 4 +-
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm204.c | 4 +-
drivers/net/ethernet/marvell/sky2.c | 2 +-
drivers/net/ethernet/smsc/smc91x.c | 4 +-
drivers/net/hippi/rrunner.c | 2 +-
drivers/net/phy/dp83640.c | 4 ++
drivers/net/usb/ax88172a.c | 1 +
drivers/net/wan/lapbether.c | 9 +++-
drivers/net/wan/x25_asy.c | 21 ++++++---
drivers/net/wireless/ath/ath9k/hif_usb.c | 52 +++++++++++++++++-----
drivers/net/wireless/ath/ath9k/hif_usb.h | 5 +++
drivers/pinctrl/pinctrl-amd.h | 2 +-
drivers/scsi/scsi_transport_spi.c | 2 +-
drivers/staging/comedi/drivers/addi_apci_1032.c | 20 ++++++---
drivers/staging/comedi/drivers/addi_apci_1500.c | 24 +++++++---
drivers/staging/comedi/drivers/addi_apci_1564.c | 20 ++++++---
drivers/staging/comedi/drivers/ni_6527.c | 2 +-
drivers/staging/wlan-ng/prism2usb.c | 16 ++++++-
drivers/tty/serial/8250/8250_core.c | 2 +-
drivers/tty/serial/8250/8250_mtk.c | 18 ++++++++
drivers/usb/gadget/udc/gr_udc.c | 7 ++-
fs/btrfs/backref.c | 1 +
fs/btrfs/volumes.c | 8 ++++
fs/cifs/inode.c | 10 +----
fs/nfs/direct.c | 13 ++----
fs/nfs/file.c | 1 -
fs/xfs/libxfs/xfs_bmap.c | 2 +
include/linux/tcp.h | 5 ++-
kernel/events/core.c | 5 +++
kernel/events/uprobes.c | 2 +-
mm/memcontrol.c | 4 +-
net/ax25/af_ax25.c | 10 ++++-
net/core/net-sysfs.c | 2 +-
net/ipv4/tcp_input.c | 11 ++---
net/ipv4/tcp_output.c | 13 +++---
net/ipv4/udp.c | 2 +-
net/ipv6/ip6_gre.c | 11 ++---
net/ipv6/udp.c | 2 +-
net/mac80211/rx.c | 26 +++++++++++
net/rxrpc/ar-output.c | 2 +-
net/rxrpc/ar-recvmsg.c | 2 +-
scripts/decode_stacktrace.sh | 4 +-
sound/core/info.c | 4 +-
sound/soc/codecs/rt5670.h | 2 +-
tools/perf/builtin-script.c | 24 +++++-----
tools/perf/tests/attr.c | 4 +-
tools/perf/tests/pmu.c | 2 +-
tools/perf/util/annotate.c | 14 ++++--
tools/perf/util/cgroup.c | 2 +-
tools/perf/util/pager.c | 5 ++-
tools/perf/util/parse-events.c | 4 +-
tools/perf/util/pmu.c | 2 +-
tools/perf/util/probe-event.c | 21 ++++++---
tools/perf/util/srcline.c | 16 ++++++-
63 files changed, 347 insertions(+), 143 deletions(-)
This is the start of the stable review cycle for the 4.14.191 release.
There are 14 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sat, 01 Aug 2020 07:44:05 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.191-r…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.14.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.14.191-rc1
Eric Sandeen <sandeen(a)redhat.com>
xfs: set format back to extents if xfs_bmap_extents_to_btree
Peng Fan <peng.fan(a)nxp.com>
regmap: debugfs: check count when read regmap file
Oscar Salvador <osalvador(a)techadventures.net>
mm/page_owner.c: remove drain_all_pages from init_early_allocated_pages
Yuchung Cheng <ycheng(a)google.com>
tcp: allow at most one TLP probe per flight
Weilong Chen <chenweilong(a)huawei.com>
rtnetlink: Fix memory(net_device) leak when ->newlink fails
Wei Yongjun <weiyongjun1(a)huawei.com>
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Dan Carpenter <dan.carpenter(a)oracle.com>
AX.25: Prevent integer overflows in connect and sendmsg
David Howells <dhowells(a)redhat.com>
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
Miaohe Lin <linmiaohe(a)huawei.com>
net: udp: Fix wrong clean up for IS_UDPLITE macro
Xiongfeng Wang <wangxiongfeng2(a)huawei.com>
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
Xie He <xie.he.0141(a)gmail.com>
drivers/net/wan/x25_asy: Fix to make it work
Subash Abhinov Kasiviswanathan <subashab(a)codeaurora.org>
dev: Defer free of skbs in flush_backlog
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
Peilin Ye <yepeilin.cs(a)gmail.com>
AX.25: Fix out-of-bounds read in ax25_connect()
-------------
Diffstat:
Makefile | 4 ++--
drivers/base/regmap/regmap-debugfs.c | 6 ++++++
drivers/net/wan/x25_asy.c | 21 ++++++++++++++-------
fs/xfs/libxfs/xfs_bmap.c | 4 ++++
include/linux/tcp.h | 4 +++-
mm/page_owner.c | 1 -
net/ax25/af_ax25.c | 10 ++++++++--
net/core/dev.c | 2 +-
net/core/net-sysfs.c | 2 +-
net/core/rtnetlink.c | 3 ++-
net/ipv4/tcp_input.c | 11 ++++++-----
net/ipv4/tcp_output.c | 13 ++++++++-----
net/ipv4/udp.c | 2 +-
net/ipv6/ip6_gre.c | 11 ++++++-----
net/ipv6/udp.c | 2 +-
net/rxrpc/recvmsg.c | 2 +-
net/rxrpc/sendmsg.c | 2 +-
17 files changed, 65 insertions(+), 35 deletions(-)
On Fri, 31 Jul 2020 at 09:38, Stephen Rothwell <sfr(a)canb.auug.org.au> wrote:
>
> Hi all,
>
> On Fri, 31 Jul 2020 10:46:52 +0800 Shaokun Zhang <zhangshaokun(a)hisilicon.com> wrote:
> >
> > There's a build failure on arm64:
> >
> > In file included from ./include/linux/compat.h:17:0,
> > from ./arch/arm64/include/asm/stat.h:13,
> > from ./include/linux/stat.h:6,
> > from ./include/linux/sysfs.h:22,
> > from ./include/linux/kobject.h:20,
> > from ./include/linux/of.h:17,
> > from ./include/linux/irqdomain.h:35,
> > from ./include/linux/acpi.h:13,
> > from ./include/acpi/apei.h:9,
> > from ./include/acpi/ghes.h:5,
> > from ./include/linux/arm_sdei.h:8,
> > from arch/arm64/kernel/asm-offsets.c:10:
> > ./include/linux/fs.h: In function ‘vfs_whiteout’:
> > ./include/linux/fs.h:1709:32: error: ‘S_IFCHR’ undeclared (first use in this function)
> > return vfs_mknod(dir, dentry, S_IFCHR | WHITEOUT_MODE, WHITEOUT_DEV);
> > ^
> > ./include/linux/fs.h:1709:32: note: each undeclared identifier is reported only once for each
> > function it appears in
> > ./include/linux/fs.h: At top level:
> > ./include/linux/fs.h:1855:46: warning: ‘struct kstat’ declared inside parameter list
> > int (*getattr) (const struct path *, struct kstat *, u32, unsigned int);
> > ^
> > ./include/linux/fs.h:1855:46: warning: its scope is only this definition or declaration, which is
> > probably not what you want
> > ./include/linux/fs.h: In function ‘__mandatory_lock’:
> > ./include/linux/fs.h:2325:25: error: ‘S_ISGID’ undeclared (first use in this function)
> > return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID;
> > ^
> > ./include/linux/fs.h:2325:35: error: ‘S_IXGRP’ undeclared (first use in this function)
> > return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID;
> > ^
> > ./include/linux/fs.h: In function ‘invalidate_remote_inode’:
> > ./include/linux/fs.h:2588:6: error: implicit declaration of function ‘S_ISREG’
> > [-Werror=implicit-function-declaration]
> > if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
> > ^
> > ./include/linux/fs.h:2588:32: error: implicit declaration of function ‘S_ISDIR’
> > [-Werror=implicit-function-declaration]
> > if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
> > ^
> > ./include/linux/fs.h:2589:6: error: implicit declaration of function ‘S_ISLNK’
> > [-Werror=implicit-function-declaration]
> > S_ISLNK(inode->i_mode))
> > ^
> > ./include/linux/fs.h: In function ‘execute_ok’:
> > ./include/linux/fs.h:2768:26: error: ‘S_IXUGO’ undeclared (first use in this function)
> > return (inode->i_mode & S_IXUGO) || S_ISDIR(inode->i_mode);
>
> Presumably caused by commit
>
> b902bfb3f0e9 ("arm64: stop using <asm/compat.h> directly")
I have reverted this commit
b902bfb3f0e9 ("arm64: stop using <asm/compat.h> directly")
and rebuilt arm64 failed due to below errors/warnings.
make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
aarch64-linux-gnu-gcc" O=build Image
#
In file included from ../include/linux/stat.h:6,
from ../include/linux/sysfs.h:22,
from ../include/linux/kobject.h:20,
from ../include/linux/of.h:17,
from ../include/linux/irqdomain.h:35,
from ../include/linux/acpi.h:13,
from ../include/acpi/apei.h:9,
from ../include/acpi/ghes.h:5,
from ../include/linux/arm_sdei.h:8,
from ../arch/arm64/kernel/asm-offsets.c:10:
../arch/arm64/include/asm/stat.h:20:2: error: unknown type name ‘compat_u64’
20 | compat_u64 st_dev;
| ^~~~~~~~~~
../arch/arm64/include/asm/stat.h:31:2: error: unknown type name ‘compat_u64’
31 | compat_u64 st_rdev;
| ^~~~~~~~~~
../arch/arm64/include/asm/stat.h:34:2: error: unknown type name ‘compat_s64’
34 | compat_s64 st_size;
| ^~~~~~~~~~
../arch/arm64/include/asm/stat.h:36:2: error: unknown type name ‘compat_u64’
36 | compat_u64 st_blocks; /* Number of 512-byte blocks allocated. */
| ^~~~~~~~~~
../arch/arm64/include/asm/stat.h:47:2: error: unknown type name ‘compat_u64’
47 | compat_u64 st_ino;
| ^~~~~~~~~~
make[2]: *** [../scripts/Makefile.build:114:
arch/arm64/kernel/asm-offsets.s] Error 1
- Naresh
On Thu, 30 Jul 2020 at 23:04, Nathan Chancellor
<natechancellor(a)gmail.com> wrote:
>
> On Sun, Jul 26, 2020 at 06:03:58PM +0200, Christoph Hellwig wrote:
> > Always use <linux/compat.h> so that we can move more declarations to
> > common code. In two of the three cases the asm include was in addition
> > to an existing one for <linux/compat.h> anyway.
> >
> > Signed-off-by: Christoph Hellwig <hch(a)lst.de>
> > ---
> > arch/arm64/include/asm/stat.h | 2 +-
> > arch/arm64/kernel/process.c | 1 -
> > arch/arm64/kernel/ptrace.c | 1 -
> > 3 files changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/arch/arm64/include/asm/stat.h b/arch/arm64/include/asm/stat.h
> > index 3b4a62f5aeb0c3..1b5ac1ef5d04cc 100644
> > --- a/arch/arm64/include/asm/stat.h
> > +++ b/arch/arm64/include/asm/stat.h
> > @@ -10,7 +10,7 @@
> > #ifdef CONFIG_COMPAT
> >
> > #include <linux/time.h>
> > -#include <asm/compat.h>
> > +#include <linux/compat.h>
>
> This breaks arm64 defconfig:
>
> $ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- distclean defconfig init/main.o
> In file included from ./include/linux/compat.h:17,
> from ./arch/arm64/include/asm/stat.h:13,
> from ./include/linux/stat.h:6,
> from ./include/linux/sysfs.h:22,
> from ./include/linux/kobject.h:20,
> from ./include/linux/of.h:17,
> from ./include/linux/irqdomain.h:35,
> from ./include/linux/acpi.h:13,
> from ./include/acpi/apei.h:9,
> from ./include/acpi/ghes.h:5,
> from ./include/linux/arm_sdei.h:8,
> from arch/arm64/kernel/asm-offsets.c:10:
> ./include/linux/fs.h: In function 'vfs_whiteout':
> ./include/linux/fs.h:1736:32: error: 'S_IFCHR' undeclared (first use in this function)
> 1736 | return vfs_mknod(dir, dentry, S_IFCHR | WHITEOUT_MODE, WHITEOUT_DEV);
> | ^~~~~~~
> ./include/linux/fs.h:1736:32: note: each undeclared identifier is reported only once for each function it appears in
> ./include/linux/fs.h: At top level:
> ./include/linux/fs.h:1886:46: warning: 'struct kstat' declared inside parameter list will not be visible outside of this definition or declaration
> 1886 | int (*getattr) (const struct path *, struct kstat *, u32, unsigned int);
> | ^~~~~
> ./include/linux/fs.h: In function '__mandatory_lock':
> ./include/linux/fs.h:2372:25: error: 'S_ISGID' undeclared (first use in this function); did you mean 'SIGIO'?
> 2372 | return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID;
> | ^~~~~~~
> | SIGIO
> ./include/linux/fs.h:2372:35: error: 'S_IXGRP' undeclared (first use in this function)
> 2372 | return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID;
> | ^~~~~~~
> ...
>
> $ git bisect log
> # bad: [7b287a5c6ac518c415a258f2aa7b1ebb25c263d2] Add linux-next specific files for 20200730
> # good: [d3590ebf6f91350192737dd1d1b219c05277f067] Merge tag 'audit-pr-20200729' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
> git bisect start '7b287a5c6ac518c415a258f2aa7b1ebb25c263d2' 'd3590ebf6f91350192737dd1d1b219c05277f067'
> # bad: [1f1ed12be70e9eb4e05ac206c6ad6a5a31f5b921] Merge remote-tracking branch 'crypto/master'
> git bisect bad 1f1ed12be70e9eb4e05ac206c6ad6a5a31f5b921
> # bad: [07fad673c2f1a02440c879c34f8182b12786a735] Merge remote-tracking branch 'hid/for-next'
> git bisect bad 07fad673c2f1a02440c879c34f8182b12786a735
> # good: [7a77c92312546a74d3507484b256ae17bfb2cfe2] Merge remote-tracking branch 'm68knommu/for-next'
> git bisect good 7a77c92312546a74d3507484b256ae17bfb2cfe2
> # good: [40dd62f180e38317e744d7f82c98af31a24fd2c9] Merge remote-tracking branch 'f2fs/dev'
> git bisect good 40dd62f180e38317e744d7f82c98af31a24fd2c9
> # bad: [52138dfdd2192bcfc7d3bc2e79475966ee4b20c4] Merge remote-tracking branch 'printk/for-next'
> git bisect bad 52138dfdd2192bcfc7d3bc2e79475966ee4b20c4
> # good: [a37c3e37fa3fa1381e03d918d708f82927ddd160] Merge remote-tracking branch 'xfs/for-next'
> git bisect good a37c3e37fa3fa1381e03d918d708f82927ddd160
> # good: [4e523547e2bf755d40cb10e85795c2f9620ff3fb] nvme-pci: add a blank line after declarations
> git bisect good 4e523547e2bf755d40cb10e85795c2f9620ff3fb
> # bad: [5066741180729f7bad9401de34efda3766c3274a] Merge branches 'fixes' and 'work.quota-compat' into for-next
> git bisect bad 5066741180729f7bad9401de34efda3766c3274a
> # good: [4ff8a356daafaafbf90141ee7a3b8fdc18e560a8] ia64: switch to ->regset_get()
> git bisect good 4ff8a356daafaafbf90141ee7a3b8fdc18e560a8
> # good: [ce327e1c54119179066d6f3573a28001febc9265] regset: kill user_regset_copyout{,_zero}()
> git bisect good ce327e1c54119179066d6f3573a28001febc9265
> # good: [1697a322e28ba96d35953c5d824540d172546d36] [elf-fdpic] switch coredump to regsets
> git bisect good 1697a322e28ba96d35953c5d824540d172546d36
> # good: [259bf01c1bd1f049958496a089c4f334fe0c8a48] Merge branches 'work.misc', 'work.regset' and 'work.fdpic' into for-next
> git bisect good 259bf01c1bd1f049958496a089c4f334fe0c8a48
> # bad: [0a3a4497a1de8e68e809a693b549c7ec2f195301] compat: lift compat_s64 and compat_u64 to <linux/compat.h>
> git bisect bad 0a3a4497a1de8e68e809a693b549c7ec2f195301
> # bad: [b902bfb3f0e9d07ec9f48256e57e5c5de6108f8c] arm64: stop using <asm/compat.h> directly
> git bisect bad b902bfb3f0e9d07ec9f48256e57e5c5de6108f8c
> # first bad commit: [b902bfb3f0e9d07ec9f48256e57e5c5de6108f8c] arm64: stop using <asm/compat.h> directly
>
> I assume the stat header order should be messed around with but I am not
> sure what exactly that would entail to make sure that nothing else
> breaks, hence just the report.
FYI,
We have also noticed this arm64 build break on linux next 20200730
with gcc-8.x, gcc-9.x and gcc-10.x
make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
aarch64-linux-gnu-gcc" O=build Image
#
In file included from ../include/linux/compat.h:17,
from ../arch/arm64/include/asm/stat.h:13,
from ../include/linux/stat.h:6,
from ../include/linux/sysfs.h:22,
from ../include/linux/kobject.h:20,
from ../include/linux/of.h:17,
from ../include/linux/irqdomain.h:35,
from ../include/linux/acpi.h:13,
from ../include/acpi/apei.h:9,
from ../include/acpi/ghes.h:5,
from ../include/linux/arm_sdei.h:8,
from ../arch/arm64/kernel/asm-offsets.c:10:
../include/linux/fs.h: In function ‘vfs_whiteout’:
../include/linux/fs.h:1709:32: error: ‘S_IFCHR’ undeclared (first use
in this function)
1709 | return vfs_mknod(dir, dentry, S_IFCHR | WHITEOUT_MODE, WHITEOUT_DEV);
| ^~~~~~~
../include/linux/fs.h:1709:32: note: each undeclared identifier is
reported only once for each function it appears in
../include/linux/fs.h: At top level:
../include/linux/fs.h:1855:46: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
1855 | int (*getattr) (const struct path *, struct kstat *, u32,
unsigned int);
| ^~~~~
../include/linux/fs.h: In function ‘__mandatory_lock’:
../include/linux/fs.h:2325:25: error: ‘S_ISGID’ undeclared (first use
in this function); did you mean ‘SIGIO’?
2325 | return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID;
| ^~~~~~~
| SIGIO
../include/linux/fs.h:2325:35: error: ‘S_IXGRP’ undeclared (first use
in this function)
2325 | return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID;
| ^~~~~~~
../include/linux/fs.h: In function ‘invalidate_remote_inode’:
../include/linux/fs.h:2588:6: error: implicit declaration of function
‘S_ISREG’ [-Werror=implicit-function-declaration]
2588 | if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
| ^~~~~~~
../include/linux/fs.h:2588:32: error: implicit declaration of function
‘S_ISDIR’; did you mean ‘EISDIR’?
[-Werror=implicit-function-declaration]
2588 | if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
| ^~~~~~~
| EISDIR
../include/linux/fs.h:2589:6: error: implicit declaration of function
‘S_ISLNK’ [-Werror=implicit-function-declaration]
2589 | S_ISLNK(inode->i_mode))
| ^~~~~~~
../include/linux/fs.h: In function ‘execute_ok’:
../include/linux/fs.h:2768:26: error: ‘S_IXUGO’ undeclared (first use
in this function)
2768 | return (inode->i_mode & S_IXUGO) || S_ISDIR(inode->i_mode);
| ^~~~~~~
In file included from ../include/linux/compat.h:17,
from ../arch/arm64/include/asm/stat.h:13,
from ../include/linux/stat.h:6,
from ../include/linux/sysfs.h:22,
from ../include/linux/kobject.h:20,
from ../include/linux/of.h:17,
from ../include/linux/irqdomain.h:35,
from ../include/linux/acpi.h:13,
from ../include/acpi/apei.h:9,
from ../include/acpi/ghes.h:5,
from ../include/linux/arm_sdei.h:8,
from ../arch/arm64/kernel/asm-offsets.c:10:
../include/linux/fs.h: At top level:
../include/linux/fs.h:3141:53: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3141 | extern void generic_fillattr(struct inode *, struct kstat *);
| ^~~~~
../include/linux/fs.h:3142:58: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3142 | extern int vfs_getattr_nosec(const struct path *, struct kstat
*, u32, unsigned int);
| ^~~~~
../include/linux/fs.h:3143:52: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3143 | extern int vfs_getattr(const struct path *, struct kstat *,
u32, unsigned int);
| ^~~~~
../include/linux/fs.h:3160:60: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3160 | extern int vfs_statx(int, const char __user *, int, struct
kstat *, u32);
| ^~~~~
../include/linux/fs.h:3161:46: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3161 | extern int vfs_statx_fd(unsigned int, struct kstat *, u32,
unsigned int);
| ^~~~~
../include/linux/fs.h:3163:64: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3163 | static inline int vfs_stat(const char __user *filename, struct
kstat *stat)
| ^~~~~
../include/linux/fs.h: In function ‘vfs_stat’:
../include/linux/fs.h:3166:11: error: ‘STATX_BASIC_STATS’ undeclared
(first use in this function)
3166 | stat, STATX_BASIC_STATS);
| ^~~~~~~~~~~~~~~~~
../include/linux/fs.h:3166:5: error: passing argument 4 of ‘vfs_statx’
from incompatible pointer type [-Werror=incompatible-pointer-types]
3166 | stat, STATX_BASIC_STATS);
| ^~~~
| |
| struct kstat *
../include/linux/fs.h:3160:53: note: expected ‘struct kstat *’ but
argument is of type ‘struct kstat *’
3160 | extern int vfs_statx(int, const char __user *, int, struct
kstat *, u32);
| ^~~~~~~~~~~~~~
../include/linux/fs.h: At top level:
../include/linux/fs.h:3168:61: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3168 | static inline int vfs_lstat(const char __user *name, struct kstat *stat)
| ^~~~~
../include/linux/fs.h: In function ‘vfs_lstat’:
../include/linux/fs.h:3171:11: error: ‘STATX_BASIC_STATS’ undeclared
(first use in this function)
3171 | stat, STATX_BASIC_STATS);
| ^~~~~~~~~~~~~~~~~
../include/linux/fs.h:3171:5: error: passing argument 4 of ‘vfs_statx’
from incompatible pointer type [-Werror=incompatible-pointer-types]
3171 | stat, STATX_BASIC_STATS);
| ^~~~
| |
| struct kstat *
../include/linux/fs.h:3160:53: note: expected ‘struct kstat *’ but
argument is of type ‘struct kstat *’
3160 | extern int vfs_statx(int, const char __user *, int, struct
kstat *, u32);
| ^~~~~~~~~~~~~~
../include/linux/fs.h: At top level:
../include/linux/fs.h:3174:17: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3174 | struct kstat *stat, int flags)
| ^~~~~
../include/linux/fs.h: In function ‘vfs_fstatat’:
../include/linux/fs.h:3177:11: error: ‘STATX_BASIC_STATS’ undeclared
(first use in this function)
3177 | stat, STATX_BASIC_STATS);
| ^~~~~~~~~~~~~~~~~
../include/linux/fs.h:3177:5: error: passing argument 4 of ‘vfs_statx’
from incompatible pointer type [-Werror=incompatible-pointer-types]
3177 | stat, STATX_BASIC_STATS);
| ^~~~
| |
| struct kstat *
../include/linux/fs.h:3160:53: note: expected ‘struct kstat *’ but
argument is of type ‘struct kstat *’
3160 | extern int vfs_statx(int, const char __user *, int, struct
kstat *, u32);
| ^~~~~~~~~~~~~~
../include/linux/fs.h: At top level:
../include/linux/fs.h:3179:44: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3179 | static inline int vfs_fstat(int fd, struct kstat *stat)
| ^~~~~
../include/linux/fs.h: In function ‘vfs_fstat’:
../include/linux/fs.h:3181:32: error: ‘STATX_BASIC_STATS’ undeclared
(first use in this function)
3181 | return vfs_statx_fd(fd, stat, STATX_BASIC_STATS, 0);
| ^~~~~~~~~~~~~~~~~
../include/linux/fs.h:3181:26: error: passing argument 2 of
‘vfs_statx_fd’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
3181 | return vfs_statx_fd(fd, stat, STATX_BASIC_STATS, 0);
| ^~~~
| |
| struct kstat *
../include/linux/fs.h:3161:39: note: expected ‘struct kstat *’ but
argument is of type ‘struct kstat *’
3161 | extern int vfs_statx_fd(unsigned int, struct kstat *, u32,
unsigned int);
| ^~~~~~~~~~~~~~
../include/linux/fs.h: At top level:
../include/linux/fs.h:3206:55: warning: ‘struct kstat’ declared inside
parameter list will not be visible outside of this definition or
declaration
3206 | extern int simple_getattr(const struct path *, struct kstat *,
u32, unsigned int);
| ^~~~~
../include/linux/fs.h: In function ‘vma_is_fsdax’:
../include/linux/fs.h:3289:6: error: implicit declaration of function
‘S_ISCHR’ [-Werror=implicit-function-declaration]
3289 | if (S_ISCHR(inode->i_mode))
| ^~~~~~~
../include/linux/fs.h: In function ‘is_sxid’:
../include/linux/fs.h:3428:17: error: ‘S_ISUID’ undeclared (first use
in this function)
3428 | return (mode & S_ISUID) || ((mode & S_ISGID) && (mode & S_IXGRP));
| ^~~~~~~
../include/linux/fs.h:3428:38: error: ‘S_ISGID’ undeclared (first use
in this function); did you mean ‘SIGIO’?
3428 | return (mode & S_ISUID) || ((mode & S_ISGID) && (mode & S_IXGRP));
| ^~~~~~~
| SIGIO
../include/linux/fs.h:3428:58: error: ‘S_IXGRP’ undeclared (first use
in this function)
3428 | return (mode & S_ISUID) || ((mode & S_ISGID) && (mode & S_IXGRP));
| ^~~~~~~
../include/linux/fs.h: In function ‘check_sticky’:
../include/linux/fs.h:3433:22: error: ‘S_ISVTX’ undeclared (first use
in this function)
3433 | if (!(dir->i_mode & S_ISVTX))
| ^~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [../scripts/Makefile.build:114:
arch/arm64/kernel/asm-offsets.s] Error 1
kernel config:
https://builds.tuxbuild.com/BsPWKexQQ3JXC2WwDQSoQg/kernel.config
- Naresh
>
> Cheers,
> Nathan
Linus master branch failed to build the arm64 architecture due to
below error and warnings.
kernel config:
https://builds.tuxbuild.com/Dp3s1p4uYnGpImQwCvhzEw/kernel.config
git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
target_arch: arm64
toolchain: gcc-9
git_short_log:
83bdc7275e62 (\random32: remove net_rand_state from the latent entropy
gcc plugin\)
git_describe: v5.8-rc7-40-g83bdc7275e62
make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
aarch64-linux-gnu-gcc" O=build Image
#
In file included from ../arch/arm64/include/asm/smp.h:33,
from ../include/linux/smp.h:82,
from ../include/linux/percpu.h:7,
from ../include/linux/random.h:14,
from ../arch/arm64/kernel/pointer_auth.c:5:
../arch/arm64/include/asm/pointer_auth.h: In function ‘ptrauth_keys_init_user’:
../arch/arm64/include/asm/pointer_auth.h:40:3: error: implicit
declaration of function ‘get_random_bytes’; did you mean
‘get_random_once’? [-Werror=implicit-function-declaration]
40 | get_random_bytes(&keys->apia, sizeof(keys->apia));
| ^~~~~~~~~~~~~~~~
| get_random_once
In file included from ../arch/arm64/kernel/pointer_auth.c:5:
../include/linux/random.h: At top level:
../include/linux/random.h:41:13: warning: conflicting types for
‘get_random_bytes’
41 | extern void get_random_bytes(void *buf, int nbytes);
| ^~~~~~~~~~~~~~~~
In file included from ../arch/arm64/include/asm/smp.h:33,
from ../include/linux/smp.h:82,
from ../include/linux/percpu.h:7,
from ../include/linux/random.h:14,
from ../arch/arm64/kernel/pointer_auth.c:5:
../arch/arm64/include/asm/pointer_auth.h:40:3: note: previous implicit
declaration of ‘get_random_bytes’ was here
40 | get_random_bytes(&keys->apia, sizeof(keys->apia));
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
build log link,
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/662908458
--
Linaro LKFT
https://lkft.linaro.org
-----------------------------------------------------------------------
LKFT > lkft.linaro.org > #354 failed.
-----------------------------------------------------------------------
This was manually triggered by marketing-bamboo-trigger.
No failed tests found, a possible compilation error.
https://bamboo.linaro.org/browse/LKFT-BGS-354/
---------------------
Currently Responsible
---------------------
Daniel Díaz (Automatically assigned)
--------------
Failing Jobs
--------------
- Rebuild (Rebuild): No tests found.
--------------
Code Changes
--------------
Daniel Díaz (7cfeae01d475f087a160cbf73797d479af59a80d):
>rclog: Weekly stable releases (w30)
>Signed-off-by: Daniel Díaz <daniel.diaz(a)linaro.org>
--
This message is automatically generated by Atlassian Bamboo