Regression found on arm gcc-11 build.
Following build warnings / errors reported on Linux next 20211007.
On Mon, 4 Oct 2021 at 12:29, Prabhakar Kushwaha <pkushwaha(a)marvell.com> wrote:
>
> The qed_hsi.h has been updated to support new FW version 8.59.1.0 with
> changes.
> - Updates FW HSI (Hardware Software interface) structures.
> - Addition/update in function declaration and defines as per HSI.
> - Add generic infrastructure for FW error reporting as part of
> common event queue handling.
> - Move malicious VF error reporting to FW error reporting
> infrastructure.
> - Move consolidation queue initialization from FW context to ramrod
> message.
>
> qed_hsi.h header file changes lead to change in many files to ensure
> compilation.
>
> This patch also fixes the existing checkpatch warnings and few important
> checks.
<trim>
> +static int qed_fw_err_handler(struct qed_hwfn *p_hwfn,
> + u8 opcode,
> + u16 echo,
> + union event_ring_data *data, u8 fw_return_code)
> +{
> + if (fw_return_code != COMMON_ERR_CODE_ERROR)
> + goto eqe_unexpected;
> +
> + if (data->err_data.recovery_scope == ERR_SCOPE_FUNC &&
> + le16_to_cpu(data->err_data.entity_id) >= MAX_NUM_PFS) {
> + qed_sriov_vfpf_malicious(p_hwfn, &data->err_data);
> + return 0;
> + }
metadata:
git_describe: next-20211007
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: f8dc23b3dc0c (\Add linux-next specific files for 20211007\)
target_arch: arm
toolchain: gcc-11
build error :
--------------
drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_fw_err_handler':
drivers/net/ethernet/qlogic/qed/qed_dev.c:2390:17: error: implicit
declaration of function 'qed_sriov_vfpf_malicious'
[-Werror=implicit-function-declaration]
2390 | qed_sriov_vfpf_malicious(p_hwfn, &data->err_data);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/qlogic/qed/qed_dev.c: In function 'qed_common_eqe_event':
drivers/net/ethernet/qlogic/qed/qed_dev.c:2410:24: error: implicit
declaration of function 'qed_sriov_eqe_event'; did you mean
'qed_common_eqe_event'? [-Werror=implicit-function-declaration]
2410 | return qed_sriov_eqe_event(p_hwfn, opcode, echo, data,
| ^~~~~~~~~~~~~~~~~~~
| qed_common_eqe_event
cc1: some warnings being treated as errors
make[6]: *** [scripts/Makefile.build:288:
drivers/net/ethernet/qlogic/qed/qed_dev.o] Error 1
make[6]: Target '__build' not remade because of errors.
make[5]: *** [scripts/Makefile.build:571:
drivers/net/ethernet/qlogic/qed] Error 2
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
build link:
-----------
https://builds.tuxbuild.com/1zAeXBdIL6bf5zawzmHpVFEQ3wV/build.log
build config:
-------------
https://builds.tuxbuild.com/1zAeXBdIL6bf5zawzmHpVFEQ3wV/config
# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig defconfig --kconfig-add
https://builds.tuxbuild.com/1zAeXBdIL6bf5zawzmHpVFEQ3wV/config
--
Linaro LKFT
https://lkft.linaro.org
This is the start of the stable review cycle for the 4.4.286 release.
There are 41 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 Thu, 07 Oct 2021 08:32: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.4.286-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.286-rc2
NeilBrown <neilb(a)suse.com>
cred: allow get_cred() and put_cred() to be given NULL.
Anirudh Rayabharam <mail(a)anirudhrb.com>
HID: usbhid: free raw_report buffers in usbhid_stop
Jozsef Kadlecsik <kadlec(a)netfilter.org>
netfilter: ipset: Fix oversized kvmalloc() calls
F.A.Sulaiman <asha.16(a)itfac.mrt.ac.lk>
HID: betop: fix slab-out-of-bounds Write in betop_probe
Suzuki K Poulose <suzuki.poulose(a)arm.com>
arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri(a)xilinx.com>
EDAC/synopsys: Fix wrong value type assignment for edac_mode
yangerkun <yangerkun(a)huawei.com>
ext4: fix potential infinite loop in ext4_dx_readdir()
Johan Hovold <johan(a)kernel.org>
ipack: ipoctal: fix module reference leak
Johan Hovold <johan(a)kernel.org>
ipack: ipoctal: fix missing allocation-failure check
Johan Hovold <johan(a)kernel.org>
ipack: ipoctal: fix tty-registration error handling
Johan Hovold <johan(a)kernel.org>
ipack: ipoctal: fix tty registration race
Johan Hovold <johan(a)kernel.org>
ipack: ipoctal: fix stack information leak
Jacob Keller <jacob.e.keller(a)intel.com>
e100: fix buffer overrun in e100_get_regs
Jacob Keller <jacob.e.keller(a)intel.com>
e100: fix length calculation in e100_get_regs_len
Andrea Claudi <aclaudi(a)redhat.com>
ipvs: check that ip_vs_conn_tab_bits is between 8 and 20
Johannes Berg <johannes.berg(a)intel.com>
mac80211: fix use-after-free in CCMP/GCMP RX
Igor Matheus Andrade Torrente <igormtorrente(a)gmail.com>
tty: Fix out-of-bound vmalloc access in imageblit
Linus Torvalds <torvalds(a)linux-foundation.org>
qnx4: work around gcc false positive warning bug
Linus Torvalds <torvalds(a)linux-foundation.org>
spi: Fix tegra20 build with CONFIG_PM=n
Guenter Roeck <linux(a)roeck-us.net>
net: 6pack: Fix tx timeout and slot time
Guenter Roeck <linux(a)roeck-us.net>
alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
Dan Li <ashimida(a)linux.alibaba.com>
arm64: Mark __stack_chk_guard as __ro_after_init
Helge Deller <deller(a)gmx.de>
parisc: Use absolute_pointer() to define PAGE0
Linus Torvalds <torvalds(a)linux-foundation.org>
qnx4: avoid stringop-overread errors
Linus Torvalds <torvalds(a)linux-foundation.org>
sparc: avoid stringop-overread errors
Guenter Roeck <linux(a)roeck-us.net>
net: i825xx: Use absolute_pointer for memcpy from fixed memory location
Guenter Roeck <linux(a)roeck-us.net>
compiler.h: Introduce absolute_pointer macro
Guenter Roeck <linux(a)roeck-us.net>
m68k: Double cast io functions to unsigned long
Zhihao Cheng <chengzhihao1(a)huawei.com>
blktrace: Fix uaf in blk_trace access after removing by sysfs
Baokun Li <libaokun1(a)huawei.com>
scsi: iscsi: Adjust iface sysfs attr detection
Aya Levin <ayal(a)nvidia.com>
net/mlx4_en: Don't allow aRFS for encapsulated packets
Johan Hovold <johan(a)kernel.org>
net: hso: fix muxed tty registration
Slark Xiao <slark_xiao(a)163.com>
USB: serial: option: add device id for Foxconn T99W265
Krzysztof Kozlowski <krzysztof.kozlowski(a)canonical.com>
USB: serial: option: remove duplicate USB device ID
Carlo Lobrano <c.lobrano(a)gmail.com>
USB: serial: option: add Telit LN920 compositions
Krzysztof Kozlowski <krzysztof.kozlowski(a)canonical.com>
USB: serial: mos7840: remove duplicated 0xac24 device ID
Uwe Brandt <uwe.brandt(a)gmail.com>
USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
Jan Beulich <jbeulich(a)suse.com>
xen/x86: fix PV trap handling on secondary processors
Steve French <stfrench(a)microsoft.com>
cifs: fix incorrect check for null pointer in header_assemble
Dan Carpenter <dan.carpenter(a)oracle.com>
usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
Dan Carpenter <dan.carpenter(a)oracle.com>
usb: gadget: r8a66597: fix a loop in set_feature()
-------------
Diffstat:
Makefile | 4 +-
arch/alpha/include/asm/io.h | 6 +--
arch/arm64/Kconfig | 2 +-
arch/arm64/kernel/process.c | 2 +-
arch/arm64/mm/proc.S | 4 +-
arch/m68k/include/asm/raw_io.h | 20 ++++----
arch/parisc/include/asm/page.h | 2 +-
arch/sparc/kernel/mdesc.c | 3 +-
arch/x86/xen/enlighten.c | 15 +++---
drivers/edac/synopsys_edac.c | 2 +-
drivers/hid/hid-betopff.c | 13 +++--
drivers/hid/usbhid/hid-core.c | 13 ++++-
drivers/ipack/devices/ipoctal.c | 63 +++++++++++++++++------
drivers/net/ethernet/i825xx/82596.c | 2 +-
drivers/net/ethernet/intel/e100.c | 22 +++++---
drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 3 ++
drivers/net/hamradio/6pack.c | 4 +-
drivers/net/usb/hso.c | 12 ++---
drivers/scsi/scsi_transport_iscsi.c | 8 +--
drivers/spi/spi-tegra20-slink.c | 4 +-
drivers/tty/vt/vt.c | 21 +++++++-
drivers/usb/gadget/udc/r8a66597-udc.c | 2 +-
drivers/usb/musb/tusb6010.c | 1 +
drivers/usb/serial/cp210x.c | 1 +
drivers/usb/serial/mos7840.c | 2 -
drivers/usb/serial/option.c | 11 +++-
fs/cifs/connect.c | 5 +-
fs/ext4/dir.c | 6 +--
fs/qnx4/dir.c | 69 +++++++++++++++++++-------
include/linux/compiler.h | 2 +
include/linux/cred.h | 14 ++++--
kernel/trace/blktrace.c | 8 +++
net/mac80211/wpa.c | 6 +++
net/netfilter/ipset/ip_set_hash_gen.h | 4 +-
net/netfilter/ipvs/ip_vs_conn.c | 4 ++
35 files changed, 254 insertions(+), 106 deletions(-)
Good day,
I have an investment proposal that I would like to discuss with
you. I await your urgent response so that I will explain more
regarding this awesome Investment Opportunity.
Regards,
Luis Fernandez