* [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2021-12-29 6:30 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2021-12-29 6:30 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-pm, devel, linux-acpi
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- i386-randconfig-a001-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a002-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a003-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a004-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a005-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a006-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a011-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a013-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a014-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a015-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a016-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a001-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a002-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a003-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a004-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a005-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a006-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a011-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a013-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a014-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a015-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a016-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-r012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-r024-20211228
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 725m
configs tested: 104
configs skipped: 3
gcc tested configs:
arm allyesconfig
arm allmodconfig
arm defconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211228
arm sama7_defconfig
arc nsim_700_defconfig
arm qcom_defconfig
arm pxa3xx_defconfig
powerpc bluestone_defconfig
mips bmips_stb_defconfig
arm ezx_defconfig
sh se7343_defconfig
powerpc skiroot_defconfig
arm lpc18xx_defconfig
arm imx_v6_v7_defconfig
arm pxa910_defconfig
powerpc mpc885_ads_defconfig
powerpc pq2fads_defconfig
arm sama5_defconfig
arm shmobile_defconfig
arc vdk_hs38_smp_defconfig
csky alldefconfig
riscv nommu_k210_sdcard_defconfig
arm randconfig-c002-20211229
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
arc randconfig-r043-20211228
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a001-20211229
x86_64 randconfig-a003-20211229
x86_64 randconfig-a004-20211229
x86_64 randconfig-a002-20211229
x86_64 randconfig-a005-20211229
x86_64 randconfig-a006-20211229
i386 randconfig-a002-20211229
i386 randconfig-a003-20211229
i386 randconfig-a001-20211229
i386 randconfig-a005-20211229
i386 randconfig-a006-20211229
i386 randconfig-a004-20211229
x86_64 randconfig-a013-20211228
x86_64 randconfig-a012-20211228
x86_64 randconfig-a011-20211228
x86_64 randconfig-a016-20211228
x86_64 randconfig-a015-20211228
x86_64 randconfig-a014-20211228
i386 randconfig-a012-20211228
i386 randconfig-a011-20211228
i386 randconfig-a013-20211228
i386 randconfig-a016-20211228
i386 randconfig-a014-20211228
i386 randconfig-a015-20211228
hexagon randconfig-r041-20211228
riscv randconfig-r042-20211228
s390 randconfig-r044-20211228
hexagon randconfig-r045-20211228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2021-12-29 6:30 ` kernel test robot
0 siblings, 0 replies; 10+ messages in thread
From: kernel test robot @ 2021-12-29 6:30 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 9759 bytes --]
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp(a)intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- i386-randconfig-a001-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a002-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a003-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a004-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a005-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a006-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a011-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a013-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a014-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a015-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a016-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a001-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a002-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a003-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a004-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a005-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a006-20211229
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a011-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a013-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a014-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a015-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a016-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-r012-20211228
| `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-r024-20211228
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 725m
configs tested: 104
configs skipped: 3
gcc tested configs:
arm allyesconfig
arm allmodconfig
arm defconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211228
arm sama7_defconfig
arc nsim_700_defconfig
arm qcom_defconfig
arm pxa3xx_defconfig
powerpc bluestone_defconfig
mips bmips_stb_defconfig
arm ezx_defconfig
sh se7343_defconfig
powerpc skiroot_defconfig
arm lpc18xx_defconfig
arm imx_v6_v7_defconfig
arm pxa910_defconfig
powerpc mpc885_ads_defconfig
powerpc pq2fads_defconfig
arm sama5_defconfig
arm shmobile_defconfig
arc vdk_hs38_smp_defconfig
csky alldefconfig
riscv nommu_k210_sdcard_defconfig
arm randconfig-c002-20211229
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
arc randconfig-r043-20211228
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a001-20211229
x86_64 randconfig-a003-20211229
x86_64 randconfig-a004-20211229
x86_64 randconfig-a002-20211229
x86_64 randconfig-a005-20211229
x86_64 randconfig-a006-20211229
i386 randconfig-a002-20211229
i386 randconfig-a003-20211229
i386 randconfig-a001-20211229
i386 randconfig-a005-20211229
i386 randconfig-a006-20211229
i386 randconfig-a004-20211229
x86_64 randconfig-a013-20211228
x86_64 randconfig-a012-20211228
x86_64 randconfig-a011-20211228
x86_64 randconfig-a016-20211228
x86_64 randconfig-a015-20211228
x86_64 randconfig-a014-20211228
i386 randconfig-a012-20211228
i386 randconfig-a011-20211228
i386 randconfig-a013-20211228
i386 randconfig-a016-20211228
i386 randconfig-a014-20211228
i386 randconfig-a015-20211228
hexagon randconfig-r041-20211228
riscv randconfig-r042-20211228
s390 randconfig-r044-20211228
hexagon randconfig-r045-20211228
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-03 15:57 ` Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2022-01-03 15:57 UTC (permalink / raw)
To: lkp, Rafael J. Wysocki; +Cc: linux-pm, devel, linux-acpi
Are these new warnings, or legacy warnings?
-----Original Message-----
From: kernel test robot <lkp@intel.com>
Sent: Tuesday, December 28, 2021 10:30 PM
To: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: linux-pm@vger.kernel.org; devel@acpica.org; linux-acpi@vger.kernel.org
Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- i386-randconfig-a001-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a002-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a003-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a004-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a005-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a006-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a011-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a012-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a013-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a014-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a015-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a016-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a001-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a002-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a003-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a004-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a005-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a006-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a011-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a012-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a013-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a014-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a015-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a016-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-r012-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-r024-20211228
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 725m
configs tested: 104
configs skipped: 3
gcc tested configs:
arm allyesconfig
arm allmodconfig
arm defconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211228
arm sama7_defconfig
arc nsim_700_defconfig
arm qcom_defconfig
arm pxa3xx_defconfig
powerpc bluestone_defconfig
mips bmips_stb_defconfig
arm ezx_defconfig
sh se7343_defconfig
powerpc skiroot_defconfig
arm lpc18xx_defconfig
arm imx_v6_v7_defconfig
arm pxa910_defconfig
powerpc mpc885_ads_defconfig
powerpc pq2fads_defconfig
arm sama5_defconfig
arm shmobile_defconfig
arc vdk_hs38_smp_defconfig
csky alldefconfig
riscv nommu_k210_sdcard_defconfig
arm randconfig-c002-20211229
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
arc randconfig-r043-20211228
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a001-20211229
x86_64 randconfig-a003-20211229
x86_64 randconfig-a004-20211229
x86_64 randconfig-a002-20211229
x86_64 randconfig-a005-20211229
x86_64 randconfig-a006-20211229
i386 randconfig-a002-20211229
i386 randconfig-a003-20211229
i386 randconfig-a001-20211229
i386 randconfig-a005-20211229
i386 randconfig-a006-20211229
i386 randconfig-a004-20211229
x86_64 randconfig-a013-20211228
x86_64 randconfig-a012-20211228
x86_64 randconfig-a011-20211228
x86_64 randconfig-a016-20211228
x86_64 randconfig-a015-20211228
x86_64 randconfig-a014-20211228
i386 randconfig-a012-20211228
i386 randconfig-a011-20211228
i386 randconfig-a013-20211228
i386 randconfig-a016-20211228
i386 randconfig-a014-20211228
i386 randconfig-a015-20211228
hexagon randconfig-r041-20211228
riscv randconfig-r042-20211228
s390 randconfig-r044-20211228
hexagon randconfig-r045-20211228
---
0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
Devel mailing list -- devel@acpica.org
To unsubscribe send an email to devel-leave@acpica.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Devel] Re: [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-03 15:57 ` Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2022-01-03 15:57 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 10515 bytes --]
Are these new warnings, or legacy warnings?
-----Original Message-----
From: kernel test robot <lkp(a)intel.com>
Sent: Tuesday, December 28, 2021 10:30 PM
To: Rafael J. Wysocki <rjw(a)rjwysocki.net>
Cc: linux-pm(a)vger.kernel.org; devel(a)acpica.org; linux-acpi(a)vger.kernel.org
Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
Warning reports:
https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp(a)intel.com
Warning in current branch:
drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
Warning ids grouped by kconfigs:
clang_recent_errors
|-- i386-randconfig-a001-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a002-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a003-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a004-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a005-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a006-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a011-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a012-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a013-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a014-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a015-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- i386-randconfig-a016-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a001-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a002-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a003-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a004-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a005-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a006-20211229
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a011-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a012-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a013-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a014-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a015-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-a016-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
|-- x86_64-randconfig-r012-20211228
| `--
|drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
|ith-a-null-pointer-has-undefined-behavior
`-- x86_64-randconfig-r024-20211228
`-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
elapsed time: 725m
configs tested: 104
configs skipped: 3
gcc tested configs:
arm allyesconfig
arm allmodconfig
arm defconfig
arm64 defconfig
arm64 allyesconfig
i386 randconfig-c001-20211228
arm sama7_defconfig
arc nsim_700_defconfig
arm qcom_defconfig
arm pxa3xx_defconfig
powerpc bluestone_defconfig
mips bmips_stb_defconfig
arm ezx_defconfig
sh se7343_defconfig
powerpc skiroot_defconfig
arm lpc18xx_defconfig
arm imx_v6_v7_defconfig
arm pxa910_defconfig
powerpc mpc885_ads_defconfig
powerpc pq2fads_defconfig
arm sama5_defconfig
arm shmobile_defconfig
arc vdk_hs38_smp_defconfig
csky alldefconfig
riscv nommu_k210_sdcard_defconfig
arm randconfig-c002-20211229
ia64 defconfig
ia64 allmodconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nds32 allnoconfig
nios2 defconfig
arc allyesconfig
csky defconfig
alpha defconfig
nds32 defconfig
alpha allyesconfig
nios2 allyesconfig
arc defconfig
sh allmodconfig
h8300 allyesconfig
xtensa allyesconfig
parisc defconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
s390 allyesconfig
i386 allyesconfig
sparc defconfig
i386 defconfig
i386 debian-10.3-kselftests
i386 debian-10.3
sparc allyesconfig
mips allyesconfig
mips allmodconfig
powerpc allnoconfig
powerpc allmodconfig
powerpc allyesconfig
arc randconfig-r043-20211228
riscv nommu_k210_defconfig
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
um x86_64_defconfig
um i386_defconfig
x86_64 allyesconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 rhel-8.3-func
x86_64 kexec
x86_64 rhel-8.3-kselftests
clang tested configs:
x86_64 randconfig-a001-20211229
x86_64 randconfig-a003-20211229
x86_64 randconfig-a004-20211229
x86_64 randconfig-a002-20211229
x86_64 randconfig-a005-20211229
x86_64 randconfig-a006-20211229
i386 randconfig-a002-20211229
i386 randconfig-a003-20211229
i386 randconfig-a001-20211229
i386 randconfig-a005-20211229
i386 randconfig-a006-20211229
i386 randconfig-a004-20211229
x86_64 randconfig-a013-20211228
x86_64 randconfig-a012-20211228
x86_64 randconfig-a011-20211228
x86_64 randconfig-a016-20211228
x86_64 randconfig-a015-20211228
x86_64 randconfig-a014-20211228
i386 randconfig-a012-20211228
i386 randconfig-a011-20211228
i386 randconfig-a013-20211228
i386 randconfig-a016-20211228
i386 randconfig-a014-20211228
i386 randconfig-a015-20211228
hexagon randconfig-r041-20211228
riscv randconfig-r042-20211228
s390 randconfig-r044-20211228
hexagon randconfig-r045-20211228
---
0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
_______________________________________________
Devel mailing list -- devel(a)acpica.org
To unsubscribe send an email to devel-leave(a)acpica.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-03 16:49 ` Rafael J. Wysocki
0 siblings, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2022-01-03 16:49 UTC (permalink / raw)
To: Moore, Robert
Cc: lkp, Rafael J. Wysocki, linux-pm, devel, linux-acpi, Arnd Bergmann
[-- Attachment #1: Type: text/plain, Size: 11257 bytes --]
On Mon, Jan 3, 2022 at 4:57 PM Moore, Robert <robert.moore@intel.com> wrote:
>
> Are these new warnings, or legacy warnings?
They are new, but AFAICS they appear because an old macro,
ACPI_PTR_DIFF(), has been used for defining a new one,
ACPI_PTR_TO_PHYSADDR(), which is now triggering the old warning in a
new way.
I guess this could be addressed by applying the Arnd's patch at
https://patchwork.kernel.org/project/linux-acpi/patch/20210927121338.938994-1-arnd@kernel.org/
, but that's problematic for the upstream.
However, I'm wondering if we can do something like the attached patch instead.
> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Tuesday, December 28, 2021 10:30 PM
> To: Rafael J. Wysocki <rjw@rjwysocki.net>
> Cc: linux-pm@vger.kernel.org; devel@acpica.org; linux-acpi@vger.kernel.org
> Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
>
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
>
> Warning reports:
>
> https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
>
> Warning in current branch:
>
> drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- i386-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-r012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> `-- x86_64-randconfig-r024-20211228
> `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
>
> elapsed time: 725m
>
> configs tested: 104
> configs skipped: 3
>
> gcc tested configs:
> arm allyesconfig
> arm allmodconfig
> arm defconfig
> arm64 defconfig
> arm64 allyesconfig
> i386 randconfig-c001-20211228
> arm sama7_defconfig
> arc nsim_700_defconfig
> arm qcom_defconfig
> arm pxa3xx_defconfig
> powerpc bluestone_defconfig
> mips bmips_stb_defconfig
> arm ezx_defconfig
> sh se7343_defconfig
> powerpc skiroot_defconfig
> arm lpc18xx_defconfig
> arm imx_v6_v7_defconfig
> arm pxa910_defconfig
> powerpc mpc885_ads_defconfig
> powerpc pq2fads_defconfig
> arm sama5_defconfig
> arm shmobile_defconfig
> arc vdk_hs38_smp_defconfig
> csky alldefconfig
> riscv nommu_k210_sdcard_defconfig
> arm randconfig-c002-20211229
> ia64 defconfig
> ia64 allmodconfig
> ia64 allyesconfig
> m68k allmodconfig
> m68k defconfig
> m68k allyesconfig
> nds32 allnoconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> alpha defconfig
> nds32 defconfig
> alpha allyesconfig
> nios2 allyesconfig
> arc defconfig
> sh allmodconfig
> h8300 allyesconfig
> xtensa allyesconfig
> parisc defconfig
> s390 allmodconfig
> parisc allyesconfig
> s390 defconfig
> s390 allyesconfig
> i386 allyesconfig
> sparc defconfig
> i386 defconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> sparc allyesconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allnoconfig
> powerpc allmodconfig
> powerpc allyesconfig
> arc randconfig-r043-20211228
> riscv nommu_k210_defconfig
> riscv allyesconfig
> riscv nommu_virt_defconfig
> riscv allnoconfig
> riscv defconfig
> riscv rv32_defconfig
> riscv allmodconfig
> um x86_64_defconfig
> um i386_defconfig
> x86_64 allyesconfig
> x86_64 defconfig
> x86_64 rhel-8.3
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 rhel-8.3-kselftests
>
> clang tested configs:
> x86_64 randconfig-a001-20211229
> x86_64 randconfig-a003-20211229
> x86_64 randconfig-a004-20211229
> x86_64 randconfig-a002-20211229
> x86_64 randconfig-a005-20211229
> x86_64 randconfig-a006-20211229
> i386 randconfig-a002-20211229
> i386 randconfig-a003-20211229
> i386 randconfig-a001-20211229
> i386 randconfig-a005-20211229
> i386 randconfig-a006-20211229
> i386 randconfig-a004-20211229
> x86_64 randconfig-a013-20211228
> x86_64 randconfig-a012-20211228
> x86_64 randconfig-a011-20211228
> x86_64 randconfig-a016-20211228
> x86_64 randconfig-a015-20211228
> x86_64 randconfig-a014-20211228
> i386 randconfig-a012-20211228
> i386 randconfig-a011-20211228
> i386 randconfig-a013-20211228
> i386 randconfig-a016-20211228
> i386 randconfig-a014-20211228
> i386 randconfig-a015-20211228
> hexagon randconfig-r041-20211228
> riscv randconfig-r042-20211228
> s390 randconfig-r044-20211228
> hexagon randconfig-r045-20211228
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> _______________________________________________
> Devel mailing list -- devel@acpica.org
> To unsubscribe send an email to devel-leave@acpica.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
[-- Attachment #2: acpica-build.patch --]
[-- Type: text/x-patch, Size: 1251 bytes --]
---
include/acpi/actypes.h | 4 ++++
include/acpi/platform/aclinux.h | 5 +++++
2 files changed, 9 insertions(+)
Index: linux-pm/include/acpi/platform/aclinux.h
===================================================================
--- linux-pm.orig/include/acpi/platform/aclinux.h
+++ linux-pm/include/acpi/platform/aclinux.h
@@ -213,4 +213,9 @@
#endif /* __KERNEL__ */
+#define acpi_uintptr_t uintptr_t
+
+#define ACPI_TO_INTEGER(p) ((uintptr_t)(p))
+#define ACPI_OFFSET(d, f) offsetof(d, f)
+
#endif /* __ACLINUX_H__ */
Index: linux-pm/include/acpi/actypes.h
===================================================================
--- linux-pm.orig/include/acpi/actypes.h
+++ linux-pm/include/acpi/actypes.h
@@ -507,8 +507,12 @@ typedef u64 acpi_integer;
/* Pointer/Integer type conversions */
#define ACPI_TO_POINTER(i) ACPI_CAST_PTR (void, (acpi_size) (i))
+#ifndef ACPI_TO_INTEGER
#define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p, (void *) 0)
+#endif
+#ifndef ACPI_OFFSET
#define ACPI_OFFSET(d, f) ACPI_PTR_DIFF (&(((d *) 0)->f), (void *) 0)
+#endif
#define ACPI_PTR_TO_PHYSADDR(i) ACPI_TO_INTEGER(i)
/* Optimizations for 4-character (32-bit) acpi_name manipulation */
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Devel] Re: [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-03 16:49 ` Rafael J. Wysocki
0 siblings, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2022-01-03 16:49 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 11537 bytes --]
On Mon, Jan 3, 2022 at 4:57 PM Moore, Robert <robert.moore(a)intel.com> wrote:
>
> Are these new warnings, or legacy warnings?
They are new, but AFAICS they appear because an old macro,
ACPI_PTR_DIFF(), has been used for defining a new one,
ACPI_PTR_TO_PHYSADDR(), which is now triggering the old warning in a
new way.
I guess this could be addressed by applying the Arnd's patch at
https://patchwork.kernel.org/project/linux-acpi/patch/20210927121338.938994-1-arnd(a)kernel.org/
, but that's problematic for the upstream.
However, I'm wondering if we can do something like the attached patch instead.
> -----Original Message-----
> From: kernel test robot <lkp(a)intel.com>
> Sent: Tuesday, December 28, 2021 10:30 PM
> To: Rafael J. Wysocki <rjw(a)rjwysocki.net>
> Cc: linux-pm(a)vger.kernel.org; devel(a)acpica.org; linux-acpi(a)vger.kernel.org
> Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
>
> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b Merge branch 'acpi-sysfs' into bleeding-edge
>
> Warning reports:
>
> https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp(a)intel.com
>
> Warning in current branch:
>
> drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- i386-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-r012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-w
> |ith-a-null-pointer-has-undefined-behavior
> `-- x86_64-randconfig-r024-20211228
> `-- drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-with-a-null-pointer-has-undefined-behavior
>
> elapsed time: 725m
>
> configs tested: 104
> configs skipped: 3
>
> gcc tested configs:
> arm allyesconfig
> arm allmodconfig
> arm defconfig
> arm64 defconfig
> arm64 allyesconfig
> i386 randconfig-c001-20211228
> arm sama7_defconfig
> arc nsim_700_defconfig
> arm qcom_defconfig
> arm pxa3xx_defconfig
> powerpc bluestone_defconfig
> mips bmips_stb_defconfig
> arm ezx_defconfig
> sh se7343_defconfig
> powerpc skiroot_defconfig
> arm lpc18xx_defconfig
> arm imx_v6_v7_defconfig
> arm pxa910_defconfig
> powerpc mpc885_ads_defconfig
> powerpc pq2fads_defconfig
> arm sama5_defconfig
> arm shmobile_defconfig
> arc vdk_hs38_smp_defconfig
> csky alldefconfig
> riscv nommu_k210_sdcard_defconfig
> arm randconfig-c002-20211229
> ia64 defconfig
> ia64 allmodconfig
> ia64 allyesconfig
> m68k allmodconfig
> m68k defconfig
> m68k allyesconfig
> nds32 allnoconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> alpha defconfig
> nds32 defconfig
> alpha allyesconfig
> nios2 allyesconfig
> arc defconfig
> sh allmodconfig
> h8300 allyesconfig
> xtensa allyesconfig
> parisc defconfig
> s390 allmodconfig
> parisc allyesconfig
> s390 defconfig
> s390 allyesconfig
> i386 allyesconfig
> sparc defconfig
> i386 defconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> sparc allyesconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allnoconfig
> powerpc allmodconfig
> powerpc allyesconfig
> arc randconfig-r043-20211228
> riscv nommu_k210_defconfig
> riscv allyesconfig
> riscv nommu_virt_defconfig
> riscv allnoconfig
> riscv defconfig
> riscv rv32_defconfig
> riscv allmodconfig
> um x86_64_defconfig
> um i386_defconfig
> x86_64 allyesconfig
> x86_64 defconfig
> x86_64 rhel-8.3
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 rhel-8.3-kselftests
>
> clang tested configs:
> x86_64 randconfig-a001-20211229
> x86_64 randconfig-a003-20211229
> x86_64 randconfig-a004-20211229
> x86_64 randconfig-a002-20211229
> x86_64 randconfig-a005-20211229
> x86_64 randconfig-a006-20211229
> i386 randconfig-a002-20211229
> i386 randconfig-a003-20211229
> i386 randconfig-a001-20211229
> i386 randconfig-a005-20211229
> i386 randconfig-a006-20211229
> i386 randconfig-a004-20211229
> x86_64 randconfig-a013-20211228
> x86_64 randconfig-a012-20211228
> x86_64 randconfig-a011-20211228
> x86_64 randconfig-a016-20211228
> x86_64 randconfig-a015-20211228
> x86_64 randconfig-a014-20211228
> i386 randconfig-a012-20211228
> i386 randconfig-a011-20211228
> i386 randconfig-a013-20211228
> i386 randconfig-a016-20211228
> i386 randconfig-a014-20211228
> i386 randconfig-a015-20211228
> hexagon randconfig-r041-20211228
> riscv randconfig-r042-20211228
> s390 randconfig-r044-20211228
> hexagon randconfig-r045-20211228
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> _______________________________________________
> Devel mailing list -- devel(a)acpica.org
> To unsubscribe send an email to devel-leave(a)acpica.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: acpica-build.patch --]
[-- Type: text/x-patch, Size: 1251 bytes --]
---
include/acpi/actypes.h | 4 ++++
include/acpi/platform/aclinux.h | 5 +++++
2 files changed, 9 insertions(+)
Index: linux-pm/include/acpi/platform/aclinux.h
===================================================================
--- linux-pm.orig/include/acpi/platform/aclinux.h
+++ linux-pm/include/acpi/platform/aclinux.h
@@ -213,4 +213,9 @@
#endif /* __KERNEL__ */
+#define acpi_uintptr_t uintptr_t
+
+#define ACPI_TO_INTEGER(p) ((uintptr_t)(p))
+#define ACPI_OFFSET(d, f) offsetof(d, f)
+
#endif /* __ACLINUX_H__ */
Index: linux-pm/include/acpi/actypes.h
===================================================================
--- linux-pm.orig/include/acpi/actypes.h
+++ linux-pm/include/acpi/actypes.h
@@ -507,8 +507,12 @@ typedef u64 acpi_integer;
/* Pointer/Integer type conversions */
#define ACPI_TO_POINTER(i) ACPI_CAST_PTR (void, (acpi_size) (i))
+#ifndef ACPI_TO_INTEGER
#define ACPI_TO_INTEGER(p) ACPI_PTR_DIFF (p, (void *) 0)
+#endif
+#ifndef ACPI_OFFSET
#define ACPI_OFFSET(d, f) ACPI_PTR_DIFF (&(((d *) 0)->f), (void *) 0)
+#endif
#define ACPI_PTR_TO_PHYSADDR(i) ACPI_TO_INTEGER(i)
/* Optimizations for 4-character (32-bit) acpi_name manipulation */
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-04 17:22 ` Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2022-01-04 17:22 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: lkp, Rafael J. Wysocki, linux-pm, devel, linux-acpi, Arnd Bergmann
Rafael,
Yes, it looks like this patch may work OK.
-----Original Message-----
From: Rafael J. Wysocki <rafael@kernel.org>
Sent: Monday, January 03, 2022 8:49 AM
To: Moore, Robert <robert.moore@intel.com>
Cc: lkp <lkp@intel.com>; Rafael J. Wysocki <rjw@rjwysocki.net>; linux-pm@vger.kernel.org; devel@acpica.org; linux-acpi@vger.kernel.org; Arnd Bergmann <arnd@kernel.org>
Subject: Re: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
On Mon, Jan 3, 2022 at 4:57 PM Moore, Robert <robert.moore@intel.com> wrote:
>
> Are these new warnings, or legacy warnings?
They are new, but AFAICS they appear because an old macro, ACPI_PTR_DIFF(), has been used for defining a new one, ACPI_PTR_TO_PHYSADDR(), which is now triggering the old warning in a new way.
I guess this could be addressed by applying the Arnd's patch at https://patchwork.kernel.org/project/linux-acpi/patch/20210927121338.938994-1-arnd@kernel.org/
, but that's problematic for the upstream.
However, I'm wondering if we can do something like the attached patch instead.
> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Tuesday, December 28, 2021 10:30 PM
> To: Rafael J. Wysocki <rjw@rjwysocki.net>
> Cc: linux-pm@vger.kernel.org; devel@acpica.org;
> linux-acpi@vger.kernel.org
> Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING
> 8d681a5245f0a5cfb20326b4f6578af1adb8676b
>
> tree/branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b
> Merge branch 'acpi-sysfs' into bleeding-edge
>
> Warning reports:
>
> https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
>
> Warning in current branch:
>
> drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer
> subtraction with a null pointer has undefined behavior
> [-Wnull-pointer-subtraction]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- i386-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-r012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> `-- x86_64-randconfig-r024-20211228
> `--
> drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-
> with-a-null-pointer-has-undefined-behavior
>
> elapsed time: 725m
>
> configs tested: 104
> configs skipped: 3
>
> gcc tested configs:
> arm allyesconfig
> arm allmodconfig
> arm defconfig
> arm64 defconfig
> arm64 allyesconfig
> i386 randconfig-c001-20211228
> arm sama7_defconfig
> arc nsim_700_defconfig
> arm qcom_defconfig
> arm pxa3xx_defconfig
> powerpc bluestone_defconfig
> mips bmips_stb_defconfig
> arm ezx_defconfig
> sh se7343_defconfig
> powerpc skiroot_defconfig
> arm lpc18xx_defconfig
> arm imx_v6_v7_defconfig
> arm pxa910_defconfig
> powerpc mpc885_ads_defconfig
> powerpc pq2fads_defconfig
> arm sama5_defconfig
> arm shmobile_defconfig
> arc vdk_hs38_smp_defconfig
> csky alldefconfig
> riscv nommu_k210_sdcard_defconfig
> arm randconfig-c002-20211229
> ia64 defconfig
> ia64 allmodconfig
> ia64 allyesconfig
> m68k allmodconfig
> m68k defconfig
> m68k allyesconfig
> nds32 allnoconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> alpha defconfig
> nds32 defconfig
> alpha allyesconfig
> nios2 allyesconfig
> arc defconfig
> sh allmodconfig
> h8300 allyesconfig
> xtensa allyesconfig
> parisc defconfig
> s390 allmodconfig
> parisc allyesconfig
> s390 defconfig
> s390 allyesconfig
> i386 allyesconfig
> sparc defconfig
> i386 defconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> sparc allyesconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allnoconfig
> powerpc allmodconfig
> powerpc allyesconfig
> arc randconfig-r043-20211228
> riscv nommu_k210_defconfig
> riscv allyesconfig
> riscv nommu_virt_defconfig
> riscv allnoconfig
> riscv defconfig
> riscv rv32_defconfig
> riscv allmodconfig
> um x86_64_defconfig
> um i386_defconfig
> x86_64 allyesconfig
> x86_64 defconfig
> x86_64 rhel-8.3
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 rhel-8.3-kselftests
>
> clang tested configs:
> x86_64 randconfig-a001-20211229
> x86_64 randconfig-a003-20211229
> x86_64 randconfig-a004-20211229
> x86_64 randconfig-a002-20211229
> x86_64 randconfig-a005-20211229
> x86_64 randconfig-a006-20211229
> i386 randconfig-a002-20211229
> i386 randconfig-a003-20211229
> i386 randconfig-a001-20211229
> i386 randconfig-a005-20211229
> i386 randconfig-a006-20211229
> i386 randconfig-a004-20211229
> x86_64 randconfig-a013-20211228
> x86_64 randconfig-a012-20211228
> x86_64 randconfig-a011-20211228
> x86_64 randconfig-a016-20211228
> x86_64 randconfig-a015-20211228
> x86_64 randconfig-a014-20211228
> i386 randconfig-a012-20211228
> i386 randconfig-a011-20211228
> i386 randconfig-a013-20211228
> i386 randconfig-a016-20211228
> i386 randconfig-a014-20211228
> i386 randconfig-a015-20211228
> hexagon randconfig-r041-20211228
> riscv randconfig-r042-20211228
> s390 randconfig-r044-20211228
> hexagon randconfig-r045-20211228
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> _______________________________________________
> Devel mailing list -- devel@acpica.org To unsubscribe send an email to
> devel-leave@acpica.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Devel] Re: [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-04 17:22 ` Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2022-01-04 17:22 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 12121 bytes --]
Rafael,
Yes, it looks like this patch may work OK.
-----Original Message-----
From: Rafael J. Wysocki <rafael(a)kernel.org>
Sent: Monday, January 03, 2022 8:49 AM
To: Moore, Robert <robert.moore(a)intel.com>
Cc: lkp <lkp(a)intel.com>; Rafael J. Wysocki <rjw(a)rjwysocki.net>; linux-pm(a)vger.kernel.org; devel(a)acpica.org; linux-acpi(a)vger.kernel.org; Arnd Bergmann <arnd(a)kernel.org>
Subject: Re: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
On Mon, Jan 3, 2022 at 4:57 PM Moore, Robert <robert.moore(a)intel.com> wrote:
>
> Are these new warnings, or legacy warnings?
They are new, but AFAICS they appear because an old macro, ACPI_PTR_DIFF(), has been used for defining a new one, ACPI_PTR_TO_PHYSADDR(), which is now triggering the old warning in a new way.
I guess this could be addressed by applying the Arnd's patch at https://patchwork.kernel.org/project/linux-acpi/patch/20210927121338.938994-1-arnd(a)kernel.org/
, but that's problematic for the upstream.
However, I'm wondering if we can do something like the attached patch instead.
> -----Original Message-----
> From: kernel test robot <lkp(a)intel.com>
> Sent: Tuesday, December 28, 2021 10:30 PM
> To: Rafael J. Wysocki <rjw(a)rjwysocki.net>
> Cc: linux-pm(a)vger.kernel.org; devel(a)acpica.org;
> linux-acpi(a)vger.kernel.org
> Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING
> 8d681a5245f0a5cfb20326b4f6578af1adb8676b
>
> tree/branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b
> Merge branch 'acpi-sysfs' into bleeding-edge
>
> Warning reports:
>
> https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp(a)intel.com
>
> Warning in current branch:
>
> drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer
> subtraction with a null pointer has undefined behavior
> [-Wnull-pointer-subtraction]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- i386-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-r012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> `-- x86_64-randconfig-r024-20211228
> `--
> drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-
> with-a-null-pointer-has-undefined-behavior
>
> elapsed time: 725m
>
> configs tested: 104
> configs skipped: 3
>
> gcc tested configs:
> arm allyesconfig
> arm allmodconfig
> arm defconfig
> arm64 defconfig
> arm64 allyesconfig
> i386 randconfig-c001-20211228
> arm sama7_defconfig
> arc nsim_700_defconfig
> arm qcom_defconfig
> arm pxa3xx_defconfig
> powerpc bluestone_defconfig
> mips bmips_stb_defconfig
> arm ezx_defconfig
> sh se7343_defconfig
> powerpc skiroot_defconfig
> arm lpc18xx_defconfig
> arm imx_v6_v7_defconfig
> arm pxa910_defconfig
> powerpc mpc885_ads_defconfig
> powerpc pq2fads_defconfig
> arm sama5_defconfig
> arm shmobile_defconfig
> arc vdk_hs38_smp_defconfig
> csky alldefconfig
> riscv nommu_k210_sdcard_defconfig
> arm randconfig-c002-20211229
> ia64 defconfig
> ia64 allmodconfig
> ia64 allyesconfig
> m68k allmodconfig
> m68k defconfig
> m68k allyesconfig
> nds32 allnoconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> alpha defconfig
> nds32 defconfig
> alpha allyesconfig
> nios2 allyesconfig
> arc defconfig
> sh allmodconfig
> h8300 allyesconfig
> xtensa allyesconfig
> parisc defconfig
> s390 allmodconfig
> parisc allyesconfig
> s390 defconfig
> s390 allyesconfig
> i386 allyesconfig
> sparc defconfig
> i386 defconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> sparc allyesconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allnoconfig
> powerpc allmodconfig
> powerpc allyesconfig
> arc randconfig-r043-20211228
> riscv nommu_k210_defconfig
> riscv allyesconfig
> riscv nommu_virt_defconfig
> riscv allnoconfig
> riscv defconfig
> riscv rv32_defconfig
> riscv allmodconfig
> um x86_64_defconfig
> um i386_defconfig
> x86_64 allyesconfig
> x86_64 defconfig
> x86_64 rhel-8.3
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 rhel-8.3-kselftests
>
> clang tested configs:
> x86_64 randconfig-a001-20211229
> x86_64 randconfig-a003-20211229
> x86_64 randconfig-a004-20211229
> x86_64 randconfig-a002-20211229
> x86_64 randconfig-a005-20211229
> x86_64 randconfig-a006-20211229
> i386 randconfig-a002-20211229
> i386 randconfig-a003-20211229
> i386 randconfig-a001-20211229
> i386 randconfig-a005-20211229
> i386 randconfig-a006-20211229
> i386 randconfig-a004-20211229
> x86_64 randconfig-a013-20211228
> x86_64 randconfig-a012-20211228
> x86_64 randconfig-a011-20211228
> x86_64 randconfig-a016-20211228
> x86_64 randconfig-a015-20211228
> x86_64 randconfig-a014-20211228
> i386 randconfig-a012-20211228
> i386 randconfig-a011-20211228
> i386 randconfig-a013-20211228
> i386 randconfig-a016-20211228
> i386 randconfig-a014-20211228
> i386 randconfig-a015-20211228
> hexagon randconfig-r041-20211228
> riscv randconfig-r042-20211228
> s390 randconfig-r044-20211228
> hexagon randconfig-r045-20211228
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> _______________________________________________
> Devel mailing list -- devel(a)acpica.org To unsubscribe send an email to
> devel-leave(a)acpica.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-04 22:22 ` Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2022-01-04 22:22 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: lkp, Rafael J. Wysocki, linux-pm, devel, linux-acpi, Arnd Bergmann
However, we came up with a slight abstraction for compilers that don't support uintptr_t:
/* Use C99 uintptr_t for pointer casting if available, "void *" otherwise */
C:\acpica\source\include\actypes.h(414):#ifndef ACPI_UINTPTR_T
C:\acpica\source\include\actypes.h(415):#define ACPI_UINTPTR_T void *
-----Original Message-----
From: Moore, Robert
Sent: Tuesday, January 04, 2022 9:23 AM
To: Rafael J. Wysocki <rafael@kernel.org>
Cc: lkp <lkp@intel.com>; Rafael J. Wysocki <rjw@rjwysocki.net>; linux-pm@vger.kernel.org; devel@acpica.org; linux-acpi@vger.kernel.org; Arnd Bergmann <arnd@kernel.org>
Subject: RE: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
Rafael,
Yes, it looks like this patch may work OK.
-----Original Message-----
From: Rafael J. Wysocki <rafael@kernel.org>
Sent: Monday, January 03, 2022 8:49 AM
To: Moore, Robert <robert.moore@intel.com>
Cc: lkp <lkp@intel.com>; Rafael J. Wysocki <rjw@rjwysocki.net>; linux-pm@vger.kernel.org; devel@acpica.org; linux-acpi@vger.kernel.org; Arnd Bergmann <arnd@kernel.org>
Subject: Re: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
On Mon, Jan 3, 2022 at 4:57 PM Moore, Robert <robert.moore@intel.com> wrote:
>
> Are these new warnings, or legacy warnings?
They are new, but AFAICS they appear because an old macro, ACPI_PTR_DIFF(), has been used for defining a new one, ACPI_PTR_TO_PHYSADDR(), which is now triggering the old warning in a new way.
I guess this could be addressed by applying the Arnd's patch at https://patchwork.kernel.org/project/linux-acpi/patch/20210927121338.938994-1-arnd@kernel.org/
, but that's problematic for the upstream.
However, I'm wondering if we can do something like the attached patch instead.
> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Tuesday, December 28, 2021 10:30 PM
> To: Rafael J. Wysocki <rjw@rjwysocki.net>
> Cc: linux-pm@vger.kernel.org; devel@acpica.org;
> linux-acpi@vger.kernel.org
> Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING
> 8d681a5245f0a5cfb20326b4f6578af1adb8676b
>
> tree/branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b
> Merge branch 'acpi-sysfs' into bleeding-edge
>
> Warning reports:
>
> https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp@intel.com
>
> Warning in current branch:
>
> drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer
> subtraction with a null pointer has undefined behavior
> [-Wnull-pointer-subtraction]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- i386-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-r012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> `-- x86_64-randconfig-r024-20211228
> `--
> drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-
> with-a-null-pointer-has-undefined-behavior
>
> elapsed time: 725m
>
> configs tested: 104
> configs skipped: 3
>
> gcc tested configs:
> arm allyesconfig
> arm allmodconfig
> arm defconfig
> arm64 defconfig
> arm64 allyesconfig
> i386 randconfig-c001-20211228
> arm sama7_defconfig
> arc nsim_700_defconfig
> arm qcom_defconfig
> arm pxa3xx_defconfig
> powerpc bluestone_defconfig
> mips bmips_stb_defconfig
> arm ezx_defconfig
> sh se7343_defconfig
> powerpc skiroot_defconfig
> arm lpc18xx_defconfig
> arm imx_v6_v7_defconfig
> arm pxa910_defconfig
> powerpc mpc885_ads_defconfig
> powerpc pq2fads_defconfig
> arm sama5_defconfig
> arm shmobile_defconfig
> arc vdk_hs38_smp_defconfig
> csky alldefconfig
> riscv nommu_k210_sdcard_defconfig
> arm randconfig-c002-20211229
> ia64 defconfig
> ia64 allmodconfig
> ia64 allyesconfig
> m68k allmodconfig
> m68k defconfig
> m68k allyesconfig
> nds32 allnoconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> alpha defconfig
> nds32 defconfig
> alpha allyesconfig
> nios2 allyesconfig
> arc defconfig
> sh allmodconfig
> h8300 allyesconfig
> xtensa allyesconfig
> parisc defconfig
> s390 allmodconfig
> parisc allyesconfig
> s390 defconfig
> s390 allyesconfig
> i386 allyesconfig
> sparc defconfig
> i386 defconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> sparc allyesconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allnoconfig
> powerpc allmodconfig
> powerpc allyesconfig
> arc randconfig-r043-20211228
> riscv nommu_k210_defconfig
> riscv allyesconfig
> riscv nommu_virt_defconfig
> riscv allnoconfig
> riscv defconfig
> riscv rv32_defconfig
> riscv allmodconfig
> um x86_64_defconfig
> um i386_defconfig
> x86_64 allyesconfig
> x86_64 defconfig
> x86_64 rhel-8.3
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 rhel-8.3-kselftests
>
> clang tested configs:
> x86_64 randconfig-a001-20211229
> x86_64 randconfig-a003-20211229
> x86_64 randconfig-a004-20211229
> x86_64 randconfig-a002-20211229
> x86_64 randconfig-a005-20211229
> x86_64 randconfig-a006-20211229
> i386 randconfig-a002-20211229
> i386 randconfig-a003-20211229
> i386 randconfig-a001-20211229
> i386 randconfig-a005-20211229
> i386 randconfig-a006-20211229
> i386 randconfig-a004-20211229
> x86_64 randconfig-a013-20211228
> x86_64 randconfig-a012-20211228
> x86_64 randconfig-a011-20211228
> x86_64 randconfig-a016-20211228
> x86_64 randconfig-a015-20211228
> x86_64 randconfig-a014-20211228
> i386 randconfig-a012-20211228
> i386 randconfig-a011-20211228
> i386 randconfig-a013-20211228
> i386 randconfig-a016-20211228
> i386 randconfig-a014-20211228
> i386 randconfig-a015-20211228
> hexagon randconfig-r041-20211228
> riscv randconfig-r042-20211228
> s390 randconfig-r044-20211228
> hexagon randconfig-r045-20211228
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> _______________________________________________
> Devel mailing list -- devel@acpica.org To unsubscribe send an email to
> devel-leave@acpica.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Devel] Re: [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
@ 2022-01-04 22:22 ` Moore, Robert
0 siblings, 0 replies; 10+ messages in thread
From: Moore, Robert @ 2022-01-04 22:22 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 12880 bytes --]
However, we came up with a slight abstraction for compilers that don't support uintptr_t:
/* Use C99 uintptr_t for pointer casting if available, "void *" otherwise */
C:\acpica\source\include\actypes.h(414):#ifndef ACPI_UINTPTR_T
C:\acpica\source\include\actypes.h(415):#define ACPI_UINTPTR_T void *
-----Original Message-----
From: Moore, Robert
Sent: Tuesday, January 04, 2022 9:23 AM
To: Rafael J. Wysocki <rafael(a)kernel.org>
Cc: lkp <lkp(a)intel.com>; Rafael J. Wysocki <rjw(a)rjwysocki.net>; linux-pm(a)vger.kernel.org; devel(a)acpica.org; linux-acpi(a)vger.kernel.org; Arnd Bergmann <arnd(a)kernel.org>
Subject: RE: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
Rafael,
Yes, it looks like this patch may work OK.
-----Original Message-----
From: Rafael J. Wysocki <rafael(a)kernel.org>
Sent: Monday, January 03, 2022 8:49 AM
To: Moore, Robert <robert.moore(a)intel.com>
Cc: lkp <lkp(a)intel.com>; Rafael J. Wysocki <rjw(a)rjwysocki.net>; linux-pm(a)vger.kernel.org; devel(a)acpica.org; linux-acpi(a)vger.kernel.org; Arnd Bergmann <arnd(a)kernel.org>
Subject: Re: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b
On Mon, Jan 3, 2022 at 4:57 PM Moore, Robert <robert.moore(a)intel.com> wrote:
>
> Are these new warnings, or legacy warnings?
They are new, but AFAICS they appear because an old macro, ACPI_PTR_DIFF(), has been used for defining a new one, ACPI_PTR_TO_PHYSADDR(), which is now triggering the old warning in a new way.
I guess this could be addressed by applying the Arnd's patch at https://patchwork.kernel.org/project/linux-acpi/patch/20210927121338.938994-1-arnd(a)kernel.org/
, but that's problematic for the upstream.
However, I'm wondering if we can do something like the attached patch instead.
> -----Original Message-----
> From: kernel test robot <lkp(a)intel.com>
> Sent: Tuesday, December 28, 2021 10:30 PM
> To: Rafael J. Wysocki <rjw(a)rjwysocki.net>
> Cc: linux-pm(a)vger.kernel.org; devel(a)acpica.org;
> linux-acpi(a)vger.kernel.org
> Subject: [Devel] [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING
> 8d681a5245f0a5cfb20326b4f6578af1adb8676b
>
> tree/branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> bleeding-edge branch HEAD: 8d681a5245f0a5cfb20326b4f6578af1adb8676b
> Merge branch 'acpi-sysfs' into bleeding-edge
>
> Warning reports:
>
> https://lore.kernel.org/llvm/202112280907.gTYYYuB4-lkp(a)intel.com
>
> Warning in current branch:
>
> drivers/acpi/acpica/exregion.c:519:17: warning: performing pointer
> subtraction with a null pointer has undefined behavior
> [-Wnull-pointer-subtraction]
>
> Warning ids grouped by kconfigs:
>
> clang_recent_errors
> |-- i386-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- i386-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a001-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a002-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a003-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a004-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a005-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a006-20211229
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a011-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a013-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a014-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a015-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-a016-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> |-- x86_64-randconfig-r012-20211228
> | `--
> |drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction
> |-w ith-a-null-pointer-has-undefined-behavior
> `-- x86_64-randconfig-r024-20211228
> `--
> drivers-acpi-acpica-exregion.c:warning:performing-pointer-subtraction-
> with-a-null-pointer-has-undefined-behavior
>
> elapsed time: 725m
>
> configs tested: 104
> configs skipped: 3
>
> gcc tested configs:
> arm allyesconfig
> arm allmodconfig
> arm defconfig
> arm64 defconfig
> arm64 allyesconfig
> i386 randconfig-c001-20211228
> arm sama7_defconfig
> arc nsim_700_defconfig
> arm qcom_defconfig
> arm pxa3xx_defconfig
> powerpc bluestone_defconfig
> mips bmips_stb_defconfig
> arm ezx_defconfig
> sh se7343_defconfig
> powerpc skiroot_defconfig
> arm lpc18xx_defconfig
> arm imx_v6_v7_defconfig
> arm pxa910_defconfig
> powerpc mpc885_ads_defconfig
> powerpc pq2fads_defconfig
> arm sama5_defconfig
> arm shmobile_defconfig
> arc vdk_hs38_smp_defconfig
> csky alldefconfig
> riscv nommu_k210_sdcard_defconfig
> arm randconfig-c002-20211229
> ia64 defconfig
> ia64 allmodconfig
> ia64 allyesconfig
> m68k allmodconfig
> m68k defconfig
> m68k allyesconfig
> nds32 allnoconfig
> nios2 defconfig
> arc allyesconfig
> csky defconfig
> alpha defconfig
> nds32 defconfig
> alpha allyesconfig
> nios2 allyesconfig
> arc defconfig
> sh allmodconfig
> h8300 allyesconfig
> xtensa allyesconfig
> parisc defconfig
> s390 allmodconfig
> parisc allyesconfig
> s390 defconfig
> s390 allyesconfig
> i386 allyesconfig
> sparc defconfig
> i386 defconfig
> i386 debian-10.3-kselftests
> i386 debian-10.3
> sparc allyesconfig
> mips allyesconfig
> mips allmodconfig
> powerpc allnoconfig
> powerpc allmodconfig
> powerpc allyesconfig
> arc randconfig-r043-20211228
> riscv nommu_k210_defconfig
> riscv allyesconfig
> riscv nommu_virt_defconfig
> riscv allnoconfig
> riscv defconfig
> riscv rv32_defconfig
> riscv allmodconfig
> um x86_64_defconfig
> um i386_defconfig
> x86_64 allyesconfig
> x86_64 defconfig
> x86_64 rhel-8.3
> x86_64 rhel-8.3-func
> x86_64 kexec
> x86_64 rhel-8.3-kselftests
>
> clang tested configs:
> x86_64 randconfig-a001-20211229
> x86_64 randconfig-a003-20211229
> x86_64 randconfig-a004-20211229
> x86_64 randconfig-a002-20211229
> x86_64 randconfig-a005-20211229
> x86_64 randconfig-a006-20211229
> i386 randconfig-a002-20211229
> i386 randconfig-a003-20211229
> i386 randconfig-a001-20211229
> i386 randconfig-a005-20211229
> i386 randconfig-a006-20211229
> i386 randconfig-a004-20211229
> x86_64 randconfig-a013-20211228
> x86_64 randconfig-a012-20211228
> x86_64 randconfig-a011-20211228
> x86_64 randconfig-a016-20211228
> x86_64 randconfig-a015-20211228
> x86_64 randconfig-a014-20211228
> i386 randconfig-a012-20211228
> i386 randconfig-a011-20211228
> i386 randconfig-a013-20211228
> i386 randconfig-a016-20211228
> i386 randconfig-a014-20211228
> i386 randconfig-a015-20211228
> hexagon randconfig-r041-20211228
> riscv randconfig-r042-20211228
> s390 randconfig-r044-20211228
> hexagon randconfig-r045-20211228
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
> _______________________________________________
> Devel mailing list -- devel(a)acpica.org To unsubscribe send an email to
> devel-leave(a)acpica.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-01-04 22:22 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29 6:30 [rafael-pm:bleeding-edge] BUILD SUCCESS WITH WARNING 8d681a5245f0a5cfb20326b4f6578af1adb8676b kernel test robot
2021-12-29 6:30 ` [Devel] " kernel test robot
2022-01-03 15:57 ` Moore, Robert
2022-01-03 15:57 ` [Devel] " Moore, Robert
2022-01-03 16:49 ` [Devel] " Rafael J. Wysocki
2022-01-03 16:49 ` [Devel] " Rafael J. Wysocki
2022-01-04 17:22 ` [Devel] " Moore, Robert
2022-01-04 17:22 ` [Devel] " Moore, Robert
2022-01-04 22:22 ` [Devel] " Moore, Robert
2022-01-04 22:22 ` [Devel] " Moore, Robert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.