packetdrill i386 build failed due to below warnings and errors.
Building with gcc version 7.3.
tcp_options_iterator.c
run_system_call.c: In function 'cmsg_expect_eq':
run_system_call.c:860:38: error: format '%lu' expects argument of type
'long unsigned int', but argument 4 has type 'size_t {aka unsigned
int}' [-Werror=format=]
"Bad len in cmsg %d: expected=%lu actual=%lu",
~~^
%u
i, ecm->cmsg_len, acm->cmsg_len);
~~~~~~~~~~~~~
run_system_call.c:860:49: error: format '%lu' expects argument of type
'long unsigned int', but argument 5 has type 'size_t {aka unsigned
int}' [-Werror=format=]
"Bad len in cmsg %d: expected=%lu actual=%lu",
~~^
%u
i, ecm->cmsg_len, acm->cmsg_len);
~~~~~~~~~~~~~
run_system_call.c: In function 'get_epoll_event_from_expr':
run_system_call.c:2924:21: error: cast to pointer from integer of
different size [-Werror=int-to-pointer-cast]
event->data.ptr = (void *)epollev_expr->ptr->value.num;
^
run_system_call.c: In function 'syscall_epoll_wait':
run_system_call.c:3129:6: error: format '%lu' expects argument of type
'long unsigned int', but argument 3 has type 'uint64_t {aka long long
unsigned int}' [-Werror=format=]
"epoll_event->data does not match script: "
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
run_system_call.c:3132:6:
event_script.data.u64,
~~~~~~~~~~~~~~~~~~~~~
run_system_call.c:3130:19: note: format string is defined here
"expected: %lu "
~~^
%llu
run_system_call.c:3129:6: error: format '%lu' expects argument of type
'long unsigned int', but argument 4 has type 'uint64_t {aka long long
unsigned int}' [-Werror=format=]
"epoll_event->data does not match script: "
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
run_system_call.c:3133:6:
event_live->data.u64);
~~~~~~~~~~~~~~~~~~~~
run_system_call.c:3131:17: note: format string is defined here
"actual: %lu\n",
~~^
%llu
run_system_call.c: In function 'syscall_splice':
run_system_call.c:3249:31: error: cast to pointer from integer of
different size [-Werror=int-to-pointer-cast]
result = splice(fd_in_live, (loff_t *) off_in, fd_out_live,
^
run_system_call.c:3250:5: error: cast to pointer from integer of
different size [-Werror=int-to-pointer-cast]
(loff_t *) off_out, len, flags);
^
Full log link,
https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-mainline/DISTRO…
--
Linaro LKFT
https://lkft.linaro.org
my two cents,
The riscv build failed on Linux -next 20210426 tag kernel due to
below warnings / errors.
Following builds failed.
- riscv (tinyconfig) with gcc-8
- riscv (allnoconfig) with gcc-8
- riscv (tinyconfig) with gcc-9
- riscv (allnoconfig) with gcc-9
- riscv (tinyconfig) with gcc-10
- riscv (allnoconfig) with gcc-10
> >> > diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
> >> > index 30e4af0fd50c..2ddf654c72bb 100644
> >> > --- a/arch/riscv/kernel/setup.c
> >> > +++ b/arch/riscv/kernel/setup.c
> >> > @@ -50,7 +50,11 @@ struct screen_info screen_info __section(".data") = {
> >> > * This is used before the kernel initializes the BSS so it can't be in the
> >> > * BSS.
> >> > */
> >> > -atomic_t hart_lottery __section(".sdata");
> >> > +atomic_t hart_lottery __section(".sdata")
> >> > +#ifdef CONFIG_XIP_KERNEL
> >> > += ATOMIC_INIT(0xC001BEEF)
> >> > +#endif
> >> > +;
> >> > unsigned long boot_cpu_hartid;
> >> > static DEFINE_PER_CPU(struct cpu, cpu_devices);
> >> >
> >> > @@ -254,7 +258,7 @@ void __init setup_arch(char **cmdline_p)
> >> > #if IS_ENABLED(CONFIG_BUILTIN_DTB)
> >> > unflatten_and_copy_device_tree();
> >> > #else
> >> > - if (early_init_dt_verify(__va(dtb_early_pa)))
> >> > + if (early_init_dt_verify(__va(XIP_FIXUP(dtb_early_pa))))
arch/riscv/kernel/setup.c: In function 'setup_arch':
arch/riscv/kernel/setup.c:284:32: error: implicit declaration of
function 'XIP_FIXUP' [-Werror=implicit-function-declaration]
if (early_init_dt_verify(__va(XIP_FIXUP(dtb_early_pa))))
^~~~~~~~~
arch/riscv/include/asm/page.h:112:62: note: in definition of macro
'linear_mapping_pa_to_va'
#define linear_mapping_pa_to_va(x) ((void *)((unsigned long)(x) +
va_pa_offset))
^
arch/riscv/include/asm/page.h:156:27: note: in expansion of macro
'__pa_to_va_nodebug'
#define __va(x) ((void *)__pa_to_va_nodebug((phys_addr_t)(x)))
^~~~~~~~~~~~~~~~~~
arch/riscv/kernel/setup.c:284:27: note: in expansion of macro '__va'
if (early_init_dt_verify(__va(XIP_FIXUP(dtb_early_pa))))
^~~~
cc1: some warnings being treated as errors
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
steps to reproduce:
---------------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
tuxmake --runtime podman --target-arch riscv --toolchain gcc-8
--kconfig allnoconfig
--
Linaro LKFT
https://lkft.linaro.org
This is the start of the stable review cycle for the 5.12.1 release.
There are 5 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 Sun, 02 May 2021 14:19:04 +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.12.1-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.12.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.12.1-rc1
Tomas Winkler <tomas.winkler(a)intel.com>
mei: me: add Alder Lake P device id.
Johannes Berg <johannes.berg(a)intel.com>
cfg80211: fix locking in netlink owner interface destruction
Jiri Kosina <jkosina(a)suse.cz>
iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
Oliver Neukum <oneukum(a)suse.com>
USB: CDC-ACM: fix poison/unpoison imbalance
Johan Hovold <johan(a)kernel.org>
net: hso: fix NULL-deref on disconnect regression
-------------
Diffstat:
Makefile | 4 ++--
drivers/misc/mei/hw-me-regs.h | 1 +
drivers/misc/mei/pci-me.c | 1 +
drivers/net/usb/hso.c | 2 +-
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 7 ++++---
drivers/usb/class/cdc-acm.c | 3 ++-
net/wireless/core.c | 21 ++++++++++++++++----
net/wireless/nl80211.c | 24 ++++++++++++++++++-----
8 files changed, 47 insertions(+), 16 deletions(-)
This is the start of the stable review cycle for the 5.11.18 release.
There are 3 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 Sun, 02 May 2021 14:19:04 +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.11.18-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.11.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.11.18-rc1
Tomas Winkler <tomas.winkler(a)intel.com>
mei: me: add Alder Lake P device id.
Qingqing Zhuo <qingqing.zhuo(a)amd.com>
drm/amd/display: Update modifier list for gfx10_3
Jiri Kosina <jkosina(a)suse.cz>
iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
-------------
Diffstat:
Makefile | 4 ++--
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++--
drivers/misc/mei/hw-me-regs.h | 1 +
drivers/misc/mei/pci-me.c | 1 +
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 7 ++++---
5 files changed, 10 insertions(+), 7 deletions(-)
This is the start of the stable review cycle for the 5.10.34 release.
There are 2 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 Sun, 02 May 2021 14:19:04 +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.10.34-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.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.10.34-rc1
Tomas Winkler <tomas.winkler(a)intel.com>
mei: me: add Alder Lake P device id.
Jiri Kosina <jkosina(a)suse.cz>
iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
-------------
Diffstat:
Makefile | 4 ++--
drivers/misc/mei/hw-me-regs.h | 1 +
drivers/misc/mei/pci-me.c | 1 +
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 7 ++++---
4 files changed, 8 insertions(+), 5 deletions(-)
This is the start of the stable review cycle for the 5.4.116 release.
There are 8 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 Sun, 02 May 2021 14:19:04 +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.116-rc…
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.116-rc1
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Update selftests to reflect new error states
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Tighten speculative pointer arithmetic mask
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Move sanitize_val_alu out of op switch
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Refactor and streamline bounds check into helper
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Improve verifier error messages for users
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Rework ptr_limit into alu_limit and add common error path
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Ensure off_reg has no mixed signed bounds for all types
Daniel Borkmann <daniel(a)iogearbox.net>
bpf: Move off_reg into sanitize_ptr_alu
-------------
Diffstat:
Makefile | 4 +-
kernel/bpf/verifier.c | 233 ++++++++++++++-------
.../selftests/bpf/verifier/bounds_deduction.c | 21 +-
.../bpf/verifier/bounds_mix_sign_unsign.c | 13 --
tools/testing/selftests/bpf/verifier/unpriv.c | 2 +-
.../selftests/bpf/verifier/value_ptr_arith.c | 6 +-
6 files changed, 175 insertions(+), 104 deletions(-)