[OS-BUILD PATCHv2 0/17] Sync support status with RHEL9 and updates to
new
messaging
by pjgeorg (via Email Bridge)
From: pjgeorg on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1610
Some details about this series:
* Commits 06218335 to e1eb4b24 forward port commits to use new messaging
introduced in cf796e6a.
* Commits d5867f81 to 3f858e49 add missing #ifdef CONFIG_RHEL_DIFFERENCES
guards.
* Commit 47f7c2f5 fixes a typo in cf796e6a.
* Commits efeb0057 to 0f1c6113 update a few more drivers to use the new
messaging introduced in cf796e6a.
Commits 5aec7a92, 02a4b827 and 67f77726 could be further improved. All of
these still silently drop PCI IDs with no messaging at all.
Downstream commit [ce5b1ff71108d] is not included as these modules have
already been disabled in 48086994.
Downstream MR [489] is also not included as it has not been merged yet.
[ce5b1ff71108d]: https://gitlab.com/redhat/centos-stream/src/kernel/centos-
stream-9/-/commit/ce5b1ff71108d
[489]: https://gitlab.com/redhat/centos-stream/src/kernel/centos-
stream-9/-/merge_requests/489
!1504 contains some changes also included in this MR.
---
arch/x86/kernel/cpu/sgx/driver.c | 8 ++
arch/x86/kernel/cpu/sgx/virt.c | 8 ++
arch/x86/kernel/setup.c | 2 -
drivers/infiniband/sw/siw/siw_main.c | 4 +
drivers/message/fusion/mptsas.c | 32 +++++++--
drivers/message/fusion/mptspi.c | 21 ++++-
drivers/net/ethernet/intel/e1000/e1000_main.c | 2 -
drivers/net/team/team.c | 1 -
drivers/scsi/aacraid/linit.c | 83 ++++++++++++++++++++++++++-
drivers/scsi/be2iscsi/be_main.c | 17 ++++-
drivers/scsi/lpfc/lpfc_ids.h | 82 ++++++++++++++++++++++----
drivers/scsi/lpfc/lpfc_init.c | 5 +
drivers/scsi/megaraid/megaraid_sas_base.c | 30 ++++++++-
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 38 +++++++++++-
drivers/scsi/qla2xxx/qla_os.c | 33 ++++++++-
drivers/scsi/qla4xxx/ql4_os.c | 31 +++++++++-
fs/ext4/super.c | 5 +-
fs/xfs/xfs_super.c | 5 +-
include/linux/kernel.h | 2 +-
19 files changed, 353 insertions(+), 56 deletions(-)
2 years, 2 months
[OS-BUILD PATCH 0/33] Sync support status with RHEL9 and updates to
new
messaging
by pjgeorg (via Email Bridge)
From: pjgeorg on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1610
Some details about this series:
* Commits 06218335 to e1eb4b24 forward port commits to use new messaging
introduced in cf796e6a.
* Commits d5867f81 to 3f858e49 add missing #ifdef CONFIG_RHEL_DIFFERENCES
guards.
* Commit 47f7c2f5 fixes a typo in cf796e6a.
* Commits efeb0057 to 0f1c6113 update a few more drivers to use the new
messaging introduced in cf796e6a.
Commits 5aec7a92, 02a4b827 and 67f77726 could be further improved. All of
these still silently drop PCI IDs with no messaging at all.
Downstream commit [ce5b1ff71108d] is not included as these modules have
already been disabled in 48086994.
Downstream MR [489] is also not included as it has not been merged yet.
[ce5b1ff71108d]: https://gitlab.com/redhat/centos-stream/src/kernel/centos-
stream-9/-/commit/ce5b1ff71108d
[489]: https://gitlab.com/redhat/centos-stream/src/kernel/centos-
stream-9/-/merge_requests/489
!1504 contains some changes also included in this MR.
---
arch/x86/kernel/cpu/sgx/driver.c | 8 +
arch/x86/kernel/cpu/sgx/virt.c | 8 +
drivers/infiniband/sw/siw/siw_main.c | 4 +
drivers/message/fusion/mptsas.c | 40 +++++-
drivers/message/fusion/mptspi.c | 29 ++++-
drivers/net/ethernet/intel/e1000/e1000_main.c | 2 +
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 4 +
drivers/net/ethernet/qlogic/qla3xxx.c | 4 +
drivers/net/ethernet/sfc/efx.c | 12 ++
drivers/net/team/team.c | 2 +
drivers/net/wan/hdlc_fr.c | 4 +
drivers/nvme/target/fc.c | 8 +
drivers/scsi/aacraid/linit.c | 98 +++++++++++++++++-
drivers/scsi/be2iscsi/be_main.c | 17 ++-
drivers/scsi/lpfc/lpfc_ids.h | 102 ++++++++++++++++--
drivers/scsi/lpfc/lpfc_init.c | 8 +
drivers/scsi/megaraid/megaraid_sas_base.c | 53 +++++++++-
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 72 ++++++++++++-
drivers/scsi/qla2xxx/qla_os.c | 47 +++++++-
drivers/scsi/qla4xxx/ql4_os.c | 31 +++++-
drivers/scsi/hpsa.c | 4 +
fs/ext4/super.c | 5 +-
fs/xfs/xfs_super.c | 5 +-
include/linux/kernel.h | 2 +-
24 files changed, 518 insertions(+), 51 deletions(-)
2 years, 2 months
[OS-BUILD PATCH] redhat/configs: Enable CONFIG_TEST_BPF
by Viktor Malik (via Email Bridge)
From: Viktor Malik <vmalik(a)redhat.com>
redhat/configs: Enable CONFIG_TEST_BPF
The option is required to run selftests/net/test_bpf.sh.
Signed-off-by: Viktor Malik <vmalik(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_TEST_BPF b/redhat/configs/common/generic/CONFIG_TEST_BPF
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_TEST_BPF
+++ b/redhat/configs/common/generic/CONFIG_TEST_BPF
@@ -1 +1 @@
-# CONFIG_TEST_BPF is not set
+CONFIG_TEST_BPF=y
diff --git a/redhat/mod-internal.list b/redhat/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/mod-internal.list
+++ b/redhat/mod-internal.list
@@ -45,3 +45,4 @@ refscale
memcpy_kunit
dev_addr_lists_test
test_hash
+test_bpf
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1604
2 years, 2 months
✅ PASS: Test report for kernel 5.16.8-200.fc35 (fedora-35)
by CKI Project
Hello,
We ran automated tests on the following kernel build:
Kernel package: kernel-5.16.8-200.fc35
Task URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=82567296
The results of these automated tests are provided below.
Overall result: PASSED
Tests: OK
All kernel binaries, config files, and logs are available for download here:
https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?pre...
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
For the full detail on our testing procedures, please scroll to the bottom of
this message.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ❌ SELinux Custom Module Setup
⚡⚡⚡ Boot test
⚡⚡⚡ Reboot test
🚧 ⚡⚡⚡ Storage blktests - srp
Host 2:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ ACPI table test
✅ LTP - cve
✅ LTP - sched
⚡⚡⚡ LTP - syscalls
⚡⚡⚡ LTP - can
⚡⚡⚡ LTP - commands
⚡⚡⚡ LTP - containers
⚡⚡⚡ LTP - dio
⚡⚡⚡ LTP - fs
⚡⚡⚡ LTP - fsx
⚡⚡⚡ LTP - math
⚡⚡⚡ LTP - hugetlb
⚡⚡⚡ LTP - mm
⚡⚡⚡ LTP - nptl
⚡⚡⚡ LTP - pty
⚡⚡⚡ LTP - ipc
⚡⚡⚡ LTP - tracing
⚡⚡⚡ LTP: openposix test suite
⚡⚡⚡ CIFS Connectathon
⚡⚡⚡ Loopdev Sanity
⚡⚡⚡ Memory: fork_mem
⚡⚡⚡ Memory function: memfd_create
⚡⚡⚡ AMTU (Abstract Machine Test Utility)
⚡⚡⚡ Ethernet drivers sanity
🚧 ⚡⚡⚡ NFS Connectathon
Host 3:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ⚡⚡⚡ SELinux Custom Module Setup
⚡⚡⚡ Boot test
⚡⚡⚡ Reboot test
⚡⚡⚡ xfstests - ext4
⚡⚡⚡ xfstests - xfs
⚡⚡⚡ Storage: swraid mdadm raid_module test
🚧 ⚡⚡⚡ xfstests - btrfs
🚧 ⚡⚡⚡ Storage blktests - blk
🚧 ⚡⚡⚡ Storage blktests - nvme-tcp
🚧 ⚡⚡⚡ Storage block - filesystem fio test
🚧 ⚡⚡⚡ Storage block - queue scheduler test
🚧 ⚡⚡⚡ Storage block - storage fio numa
🚧 ⚡⚡⚡ storage: software RAID testing
🚧 ⚡⚡⚡ stress: stress-ng - interrupt
🚧 ⚡⚡⚡ stress: stress-ng - cpu
🚧 ⚡⚡⚡ stress: stress-ng - cpu-cache
🚧 ⚡⚡⚡ stress: stress-ng - memory
🚧 ⚡⚡⚡ stress: stress-ng - os
Host 4:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ Ethernet drivers sanity - mlx5
Host 5:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ⚡⚡⚡ Storage blktests - nvmeof-mp
Host 6:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ⚡⚡⚡ SELinux Custom Module Setup
⚡⚡⚡ Boot test
⚡⚡⚡ Reboot test
⚡⚡⚡ xfstests - ext4
⚡⚡⚡ xfstests - xfs
⚡⚡⚡ Storage: swraid mdadm raid_module test
🚧 ⚡⚡⚡ xfstests - btrfs
🚧 ⚡⚡⚡ Storage blktests - blk
🚧 ⚡⚡⚡ Storage blktests - nvme-tcp
🚧 ⚡⚡⚡ Storage block - filesystem fio test
🚧 ⚡⚡⚡ Storage block - queue scheduler test
🚧 ⚡⚡⚡ Storage block - storage fio numa
🚧 ⚡⚡⚡ storage: software RAID testing
🚧 ⚡⚡⚡ stress: stress-ng - interrupt
🚧 ⚡⚡⚡ stress: stress-ng - cpu
🚧 ⚡⚡⚡ stress: stress-ng - cpu-cache
🚧 ⚡⚡⚡ stress: stress-ng - memory
🚧 ⚡⚡⚡ stress: stress-ng - os
Host 7:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ⚡⚡⚡ SELinux Custom Module Setup
⚡⚡⚡ Boot test
⚡⚡⚡ Reboot test
⚡⚡⚡ xfstests - ext4
⚡⚡⚡ xfstests - xfs
⚡⚡⚡ Storage: swraid mdadm raid_module test
🚧 ⚡⚡⚡ xfstests - btrfs
🚧 ⚡⚡⚡ Storage blktests - blk
🚧 ⚡⚡⚡ Storage blktests - nvme-tcp
🚧 ⚡⚡⚡ Storage block - filesystem fio test
🚧 ⚡⚡⚡ Storage block - queue scheduler test
🚧 ⚡⚡⚡ Storage block - storage fio numa
🚧 ⚡⚡⚡ storage: software RAID testing
🚧 ⚡⚡⚡ stress: stress-ng - interrupt
🚧 ⚡⚡⚡ stress: stress-ng - cpu
🚧 ⚡⚡⚡ stress: stress-ng - cpu-cache
🚧 ⚡⚡⚡ stress: stress-ng - memory
🚧 ⚡⚡⚡ stress: stress-ng - os
ppc64le:
Host 1:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ xarray-idr-radixtree-test
🚧 ✅ NFS Connectathon
Host 2:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 3:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - srp
Host 4:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ Storage block - filesystem fio test
🚧 ✅ Storage block - queue scheduler test
🚧 ✅ Storage block - storage fio numa
🚧 ✅ Storage: lvm device-mapper test - upstream
🚧 ✅ storage: software RAID testing
s390x:
Host 1:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ NFS Connectathon
Host 2:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 3:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ Storage: swraid mdadm raid_module test
🚧 ✅ Storage blktests - blk
🚧 ✅ Storage blktests - nvme-tcp
🚧 ✅ stress: stress-ng - interrupt
🚧 ✅ stress: stress-ng - cpu
🚧 ✅ stress: stress-ng - cpu-cache
🚧 ✅ stress: stress-ng - memory
🚧 ✅ stress: stress-ng - os
x86_64:
Host 1:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ xfstests - nfsv4.2
✅ Storage: swraid mdadm raid_module test
🚧 ✅ xfstests - btrfs
🚧 ✅ xfstests - cifsv3.11
🚧 ✅ Storage blktests - blk
🚧 ⚡⚡⚡ Storage blktests - nvme-tcp
🚧 ⚡⚡⚡ Storage block - filesystem fio test
🚧 ⚡⚡⚡ Storage block - queue scheduler test
🚧 ⚡⚡⚡ Storage block - storage fio numa
🚧 ⚡⚡⚡ Storage: lvm device-mapper test - upstream
🚧 ⚡⚡⚡ storage: software RAID testing
🚧 ⚡⚡⚡ stress: stress-ng - interrupt
🚧 ⚡⚡⚡ stress: stress-ng - cpu
🚧 ⚡⚡⚡ stress: stress-ng - cpu-cache
🚧 ⚡⚡⚡ stress: stress-ng - memory
🚧 ⚡⚡⚡ stress: stress-ng - os
Host 2:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 💥 Storage blktests - srp
Host 3:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
🚧 ✅ Storage blktests - nvmeof-mp
Host 4:
🚧 ❌ SELinux Custom Module Setup
✅ Boot test
✅ Reboot test
✅ ACPI table test
✅ LTP - cve
✅ LTP - sched
✅ LTP - syscalls
✅ LTP - can
✅ LTP - commands
✅ LTP - containers
✅ LTP - dio
✅ LTP - fs
✅ LTP - fsx
✅ LTP - math
✅ LTP - hugetlb
✅ LTP - mm
✅ LTP - nptl
✅ LTP - pty
✅ LTP - ipc
✅ LTP - tracing
✅ LTP: openposix test suite
✅ CIFS Connectathon
✅ Loopdev Sanity
✅ Memory: fork_mem
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Ethernet drivers sanity
🚧 ✅ xarray-idr-radixtree-test
🚧 ✅ NFS Connectathon
Test sources: https://gitlab.com/cki-project/kernel-tests
💚 Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚡⚡⚡.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with ⏱.
2 years, 2 months
Compiling a kernel from
kernel-5.17.0-0.rc2.20220204gitdcb85f85fa6f.86.fc36.src.rpm fails if
warnings as errors is turned on
by stan
Hi,
I'm on rawhide with latest updates, except for some that have package
version conflicts. But, the latest gcc and glibc packages.
First, when I was configuring, (make menuconfig), even though it
said that sysfb and sysfb-simplefb were in /drivers/firmware, they
weren't there. They took the setting from the last 5.16 kernel config
that I used as a template.
Then, when I tried to compile the 5.17 kernel from
kernel-5.17.0-0.rc2.20220204gitdcb85f85fa6f.86.fc36.src.rpm
it failed because I had warnings as errors, and the kernel warned about
ssh version being deprecated for openssl 3. e.g.
scripts/sign-file.c: In function 'read_private_key':
scripts/sign-file.c:142:17: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
142 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
There were also warnings about an infinite recursion error on the
header files because of memcmp, memcpy and memset. This is puzzling to
me since the kernel compiled just fine in koji. Did it use different
header files? And aren't all header files protected from being read
more than once? Or are Fedora kernels compiled with warnings as errors
turned off? e.g.
./include/linux/fortify-string.h:269:16: note: in expansion of macro '__underlying_memcmp'
269 | return __underlying_memcmp(p, q, size);
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/string.h:253,
from ./include/linux/bitmap.h:11,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:22,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:65,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from init/do_mounts.c:2:
./include/linux/fortify-string.h: In function 'strncpy':
./include/linux/fortify-string.h:51:24: warning: infinite recursion detected [-Winfinite-recursion]
51 | __FORTIFY_INLINE char *strncpy(char *p, const char *q, __kernel_size_t size)
| ^~~~~~~
When I turned off warnings as errors, the kernel compiled successfully.
This is not a problem in the 5.16 series, they compile cleanly with
warnings as errors turned on.
Anyway, I am attaching the error output from the attempt with warnings
as errors.
2 years, 2 months
[OS-BUILD PATCH] Change CONFIG_TEST_BPF to a module
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Change CONFIG_TEST_BPF to a module
Due to dependencies, CONFIG_TEST_BPF fails the config check when set to
inline as it gets forced to be a module. Changing it to a module passed
the config check, and I believe meets the original intent of MR 1604 as
an entry for it was already added to mod-internal.list
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/configs/common/generic/CONFIG_TEST_BPF b/redhat/configs/common/generic/CONFIG_TEST_BPF
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_TEST_BPF
+++ b/redhat/configs/common/generic/CONFIG_TEST_BPF
@@ -1 +1 @@
-CONFIG_TEST_BPF=y
+CONFIG_TEST_BPF=m
diff --git a/redhat/configs/pending-common/generic/CONFIG_TEST_BPF b/redhat/configs/pending-common/generic/CONFIG_TEST_BPF
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-common/generic/CONFIG_TEST_BPF
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_TEST_BPF=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1609
2 years, 2 months
[OS-BUILD PATCH] redhat: move CONFIG_ARM64_MTE to aarch64 config
directory
by Herton R. Krzesinski (via Email Bridge)
From: Herton R. Krzesinski <herton(a)redhat.com>
redhat: move CONFIG_ARM64_MTE to aarch64 config directory
Upstream Status: RHEL only
This was reported at:
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merg...
However, it was not a blocking thread and probably lost in the comment
noise. Fix it now.
I checked the configs generated before/after and there is no functional
change.
Reported-by: Mark Salter <msalter(a)redhat.com>
Signed-off-by: Herton R. Krzesinski <herton(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_ARM64_MTE b/redhat/configs/common/generic/arm/aarch64/CONFIG_ARM64_MTE
rename from redhat/configs/common/generic/CONFIG_ARM64_MTE
rename to redhat/configs/common/generic/arm/aarch64/CONFIG_ARM64_MTE
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_ARM64_MTE
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_ARM64_MTE
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1608
2 years, 2 months
[OS-BUILD PATCH] Workaround for gcc12 compile issues in ubcmd-util.h
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Workaround for gcc12 compile issues in ubcmd-util.h
While upstream has made no move around this and I am not positive that
this is the "proper" fix for upstream, it does get us building again for
several arches. This is being added as "include in release" until
upstream weighs in so that at least ark-latest builds for many
architectures. There are still issues with gcc12 and armv7.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/tools/lib/subcmd/subcmd-util.h b/tools/lib/subcmd/subcmd-util.h
index blahblah..blahblah 100644
--- a/tools/lib/subcmd/subcmd-util.h
+++ b/tools/lib/subcmd/subcmd-util.h
@@ -49,13 +49,12 @@ static NORETURN inline void die(const char *err, ...)
static inline void *xrealloc(void *ptr, size_t size)
{
- void *ret = realloc(ptr, size);
- if (!ret && !size)
- ret = realloc(ptr, 1);
+ void *ret;
+ if (!size)
+ size = 1;
+ ret = realloc(ptr, size);
if (!ret) {
ret = realloc(ptr, size);
- if (!ret && !size)
- ret = realloc(ptr, 1);
if (!ret)
die("Out of memory, realloc failed");
}
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1594
2 years, 2 months