Regression found on mips gcc-10 built with defconfig
Following build warnings / errors reported on linux next 20211027.
The bisect tool pointing to the following commit
The first bad commit:
commit 4cb6f4df976b288aa02bbb658d38e73d34d8231f
irq: mips: simplify do_domain_IRQ()
metadata:
git_describe: next-20211027
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: ae5179317e79 (\"Add linux-next specific files for 20211027\")
target_arch: mips
toolchain: gcc-10
build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
arch/mips/kernel/irq.c: In function 'do_domain_IRQ':
arch/mips/kernel/irq.c:114:19: error: unused variable 'desc'
[-Werror=unused-variable]
struct irq_desc *desc;
^~~~
cc1: all warnings being treated as errors
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
build link:
-----------
https://builds.tuxbuild.com/205S9XOzkonL7F3xvY8YUO2l1QT/build.log
build config:
-------------
https://builds.tuxbuild.com/205S9XOzkonL7F3xvY8YUO2l1QT/config
# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch mips --toolchain gcc-10
--kconfig defconfig
--
Linaro LKFT
https://lkft.linaro.org
This is the start of the stable review cycle for the 4.19.214 release.
There are 37 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 Wed, 27 Oct 2021 19:07:44 +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.214-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.214-rc1
Nick Desaulniers <ndesaulniers(a)google.com>
ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
Steven Rostedt (VMware) <rostedt(a)goodmis.org>
tracing: Have all levels of checks prevent recursion
Yanfei Xu <yanfei.xu(a)windriver.com>
net: mdiobus: Fix memory leak in __mdiobus_register
Oliver Neukum <oneukum(a)suse.com>
usbnet: sanity check for maxpacket
Dexuan Cui <decui(a)microsoft.com>
scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
Kai Vehmanen <kai.vehmanen(a)linux.intel.com>
ALSA: hda: avoid write to STATESTS if controller is in reset
Prashant Malani <pmalani(a)chromium.org>
platform/x86: intel_scu_ipc: Update timeout value in comment
Zheyu Ma <zheyuma97(a)gmail.com>
isdn: mISDN: Fix sleeping function called from invalid context
Herve Codina <herve.codina(a)bootlin.com>
ARM: dts: spear3xx: Fix gmac node
Herve Codina <herve.codina(a)bootlin.com>
net: stmmac: add support for dwmac 3.40a
Filipe Manana <fdmanana(a)suse.com>
btrfs: deal with errors when checking if a dir entry exists during log replay
Brendan Higgins <brendanhiggins(a)google.com>
gcc-plugins/structleak: add makefile var for disabling structleak
Vegard Nossum <vegard.nossum(a)gmail.com>
netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
Xiaolong Huang <butterflyhuangxx(a)gmail.com>
isdn: cpai: check ctr->cnr to avoid array index out of bound
Lin Ma <linma(a)zju.edu.cn>
nfc: nci: fix the UAF of rf_conn_info object
Miaohe Lin <linmiaohe(a)huawei.com>
mm, slub: fix mismatch between reconstructed freelist depth and cnt
Takashi Iwai <tiwai(a)suse.de>
ASoC: DAPM: Fix missing kctl change notifications
Steven Clarkson <sc(a)lambdal.com>
ALSA: hda/realtek: Add quirk for Clevo PC50HS
Brendan Grieve <brendan(a)grieve.com.au>
ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
Matthew Wilcox (Oracle) <willy(a)infradead.org>
vfs: check fd has read access in kernel_read_file_from_fd()
Lukas Bulwahn <lukas.bulwahn(a)gmail.com>
elfcore: correct reference to CONFIG_UML
Valentin Vidic <vvidic(a)valentin-vidic.from.hr>
ocfs2: mount fails with buffer overflow in strlen
Jan Kara <jack(a)suse.cz>
ocfs2: fix data corruption after conversion from inline format
Zheyu Ma <zheyuma97(a)gmail.com>
can: peak_pci: peak_pci_remove(): fix UAF
Stephane Grosjean <s.grosjean(a)peak-system.com>
can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
can: rcar_can: fix suspend/resume
Peng Li <lipeng321(a)huawei.com>
net: hns3: disable sriov before unload hclge layer
Guangbin Huang <huangguangbin2(a)huawei.com>
net: hns3: add limit ets dwrr bandwidth cannot be 0
Randy Dunlap <rdunlap(a)infradead.org>
NIOS2: irqflags: rename a redefined register name
Vegard Nossum <vegard.nossum(a)oracle.com>
lan78xx: select CRC32
Antoine Tenart <atenart(a)kernel.org>
netfilter: ipvs: make global sysctl readonly in non-init netns
Shengjiu Wang <shengjiu.wang(a)nxp.com>
ASoC: wm8960: Fix clock configuration on slave mode
Gerald Schaefer <gerald.schaefer(a)linux.ibm.com>
dma-debug: fix sg checks in debug_dma_map_sg()
Benjamin Coddington <bcodding(a)redhat.com>
NFSD: Keep existing listeners on portlist error
Guenter Roeck <linux(a)roeck-us.net>
xtensa: xtfpga: Try software restart before simulating CPU reset
Max Filippov <jcmvbkbc(a)gmail.com>
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
Eugen Hristev <eugen.hristev(a)microchip.com>
ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
-------------
Diffstat:
Makefile | 4 +-
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 1 -
arch/arm/boot/dts/spear3xx.dtsi | 2 +-
arch/nios2/include/asm/irqflags.h | 4 +-
arch/nios2/include/asm/registers.h | 2 +-
arch/xtensa/platforms/xtfpga/setup.c | 12 ++--
drivers/isdn/capi/kcapi.c | 5 ++
drivers/isdn/hardware/mISDN/netjet.c | 2 +-
drivers/net/can/rcar/rcar_can.c | 20 ++++---
drivers/net/can/sja1000/peak_pci.c | 9 ++-
drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 5 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.c | 21 +++++++
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 9 +++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 1 +
.../net/ethernet/stmicro/stmmac/dwmac-generic.c | 1 +
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 8 +++
drivers/net/phy/mdio_bus.c | 1 +
drivers/net/usb/Kconfig | 1 +
drivers/net/usb/usbnet.c | 4 ++
drivers/platform/x86/intel_scu_ipc.c | 2 +-
drivers/scsi/hosts.c | 3 +-
fs/btrfs/tree-log.c | 47 ++++++++++------
fs/exec.c | 2 +-
fs/nfsd/nfsctl.c | 5 +-
fs/ocfs2/alloc.c | 46 ++++------------
fs/ocfs2/super.c | 14 +++--
include/linux/elfcore.h | 2 +-
kernel/dma/debug.c | 12 ++--
kernel/trace/ftrace.c | 4 +-
kernel/trace/trace.h | 64 +++++++---------------
kernel/trace/trace_functions.c | 2 +-
mm/slub.c | 11 +++-
net/netfilter/Kconfig | 2 +-
net/netfilter/ipvs/ip_vs_ctl.c | 5 ++
net/nfc/nci/rsp.c | 2 +
scripts/Makefile.gcc-plugins | 4 ++
sound/hda/hdac_controller.c | 5 +-
sound/pci/hda/patch_realtek.c | 1 +
sound/soc/codecs/wm8960.c | 13 ++++-
sound/soc/soc-dapm.c | 13 +++--
sound/usb/quirks-table.h | 32 +++++++++++
43 files changed, 250 insertions(+), 155 deletions(-)