Date
1 - 4 of 4
[PATCH] linux-yocto/5.19: fix gcc-11 warning
Bruce Ashfield
From: Bruce Ashfield <bruce.ashfield@...>
Integrating the following commit(s) to linux-yocto/5.19: 65a9a22786a6 libbpf: Initialize err in probe_map_create Signed-off-by: Bruce Ashfield <bruce.ashfield@...> --- Ross identified this change as worth backporting to fix some gcc-11 warnings. I've been soaking it for a bit, and haven't seen any issues. Bruce .../linux/linux-yocto-rt_5.19.bb | 2 +- .../linux/linux-yocto-tiny_5.19.bb | 2 +- meta/recipes-kernel/linux/linux-yocto_5.19.bb | 20 +++++++++---------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.19.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.19.bb index 17ae94066c..b3e9fbae62 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.19.bb @@ -11,7 +11,7 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "3596666292dcf3fc078090666dc327d233695310" +SRCREV_machine ?= "bc8af638c00f28a46e77e34056079087638f6e65" SRCREV_meta ?= "350b544d077955b599b54ab364f6227d96a90455" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.19.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.19.bb index c18278ad79..466b7063b4 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.19.bb @@ -14,7 +14,7 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" +SRCREV_machine ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" SRCREV_meta ?= "350b544d077955b599b54ab364f6227d96a90455" PV = "${LINUX_VERSION}+git${SRCPV}" diff --git a/meta/recipes-kernel/linux/linux-yocto_5.19.bb b/meta/recipes-kernel/linux/linux-yocto_5.19.bb index 4fc1ae9245..f882972e35 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.19.bb @@ -13,16 +13,16 @@ KBRANCH:qemux86 ?= "v5.19/standard/base" KBRANCH:qemux86-64 ?= "v5.19/standard/base" KBRANCH:qemumips64 ?= "v5.19/standard/mti-malta64" -SRCREV_machine:qemuarm ?= "9111e441d26961e67bef7866919c51b27e794bac" -SRCREV_machine:qemuarm64 ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" -SRCREV_machine:qemumips ?= "5f89b6548b6665f3ebec11266f2c7db2793129da" -SRCREV_machine:qemuppc ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" -SRCREV_machine:qemuriscv64 ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" -SRCREV_machine:qemuriscv32 ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" -SRCREV_machine:qemux86 ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" -SRCREV_machine:qemux86-64 ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" -SRCREV_machine:qemumips64 ?= "99613988297ac45653cc81319e63b2821645a3ba" -SRCREV_machine ?= "44a446e91acea4f2f0d35896763224c3b52a3ed5" +SRCREV_machine:qemuarm ?= "446661f6a3b07535304497c1a51d9cab95f48f0b" +SRCREV_machine:qemuarm64 ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" +SRCREV_machine:qemumips ?= "98da147618fca3da29cf1c6ab9c53f24de2c587c" +SRCREV_machine:qemuppc ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" +SRCREV_machine:qemuriscv64 ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" +SRCREV_machine:qemuriscv32 ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" +SRCREV_machine:qemux86 ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" +SRCREV_machine:qemux86-64 ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" +SRCREV_machine:qemumips64 ?= "53842054198d851b5deb5810afaf126156efbb54" +SRCREV_machine ?= "65a9a22786a6710fc7b4edb7cfae80dd83f591f1" SRCREV_meta ?= "350b544d077955b599b54ab364f6227d96a90455" # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll -- 2.19.1 |
|
gcc11 or 12 ?
On Tue, Sep 27, 2022 at 12:05 PM Bruce Ashfield <bruce.ashfield@...> wrote:
|
|
Bruce Ashfield
11. The full upstream commit is:
toggle quoted message
Show quoted text
Author: Florian Fainelli <f.fainelli@...> Date: Sun Jul 31 19:51:09 2022 -0700 libbpf: Initialize err in probe_map_create GCC-11 warns about the possibly unitialized err variable in probe_map_create: libbpf_probes.c: In function 'probe_map_create': libbpf_probes.c:361:38: error: 'err' may be used uninitialized in this function [-Werror=maybe-uninitialized] 361 | return fd < 0 && err == exp_err ? 1 : 0; | ~~~~^~~~~~~~~~ Fixes: 878d8def0603 ("libbpf: Rework feature-probing APIs") Signed-off-by: Florian Fainelli <f.fainelli@...> Bruce On Tue, Sep 27, 2022 at 3:14 PM Khem Raj <raj.khem@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II |
|
Ok, thanks. On Tue, Sep 27, 2022 at 12:24 PM Bruce Ashfield <bruce.ashfield@...> wrote: 11. The full upstream commit is: |
|