Kernel
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- 55 participants
- 16916 discussions

18 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8UN5
CVE: CVE-2022-48975
--------------------------------
Commit aa1e2bfdc899 attempt to fix a CVE problem, but the patch
conflicted with current version. When the patch is adapted,
an error is introduced in the function of gpiochip_add_data_with_key.
After the gdev is released, the gdev is still accessed, resulting in
use-after-free.
The value of gdev->ngpio is assigned from gc->ngpio and is not changed
during the processing of function. Therefore, this patch changes
gdev->ngpio to gc->ngpio to solve the above use-after-free problem.
Fixes: aa1e2bfdc899 ("gpiolib: fix memory leak in gpiochip_setup_dev()")
Signed-off-by: He Yujie <coka.heyujie(a)huawei.com>
---
drivers/gpio/gpiolib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index ae000b513bc1..9e717cf180d4 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -795,7 +795,7 @@ int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
err_print_message:
/* failures here can mean systems won't boot... */
pr_err("%s: GPIOs %d..%d (%s) failed to register, %d\n", __func__,
- base, base + gdev->ngpio - 1,
+ base, base + (int)gc->ngpio - 1,
gc->label ? : "generic", ret);
return ret;
}
--
2.34.1
2
1

[openeuler:OLK-5.10] BUILD REGRESSION aec1334d9eba905976465adf9b4011e1663aabae
by kernel test robot 18 Dec '24
by kernel test robot 18 Dec '24
18 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: aec1334d9eba905976465adf9b4011e1663aabae !14146 Intel: backport intel uncore frequency driver update and bugfix from 6.11
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-allnoconfig
| `-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
|-- arm64-randconfig-001-20241217
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-002-20241217
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-x16-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-051-20241218
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241218
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241218
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241218
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241218
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-allnoconfig
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_rd32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_wr32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_send_clp_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_copy_to_user
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_id
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_type
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_hw_driver_stats
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read_ack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write_nack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm_init.c:warning:no-previous-prototype-for-function-sss_destroy_adm_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_export.c:warning:no-previous-prototype-for-function-sss_get_func_id
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_unic.c:warning:Function-parameter-or-member-skb-not-described-in-hns3_unic_set_l3_type
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_unic.c:warning:Function-parameter-or-member-type_cs_vlan_tso-not-described-in-hns3_unic_set_l3_type
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_unic_guid.c:warning:no-previous-prototype-for-function-hclge_unic_del_mc_guid_common
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-has_mac-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-has_trans-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-headroom-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-tailroom-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_debugfs.c:warning:Excess-function-parameter-pf-description-in-rnp_dbg_adapter_exit
| |-- drivers-net-ethernet-mucse-rnp-rnp_debugfs.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_dbg_adapter_exit
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-cmd-description-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-cmd-description-in-rnp_set_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-ec-description-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_module_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_ts_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_set_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_set_rxnfc
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-coal-not-described-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-data-not-described-in-rnp_reg_test
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_module_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_ts_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_set_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_set_rxnfc
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_get_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_set_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_set_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-ker-not-described-in-rnp_get_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-ker-not-described-in-rnp_set_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-kernel_coal-not-described-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-kernel_coal-not-described-in-rnp_set_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-inner_vlan_tag-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-l4_hdr_len-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-mss_seg_len-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-rxr_count-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-rxr_idx-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-tunnel_hdr_len-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-txr_count-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-txr_idx-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-type_tucmd-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-v_count-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-crc_pad-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-eth_queue_idx-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-ignore_vlan-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-inner_vlan_tunnel_len-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-mss_len_vf_num-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-r_count-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-r_idx-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-step-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:no-previous-prototype-for-function-rnp_acquire_msix_vectors
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:no-previous-prototype-for-function-rnp_print_ring_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-data-description-in-rnp_service_timer
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-ent-description-in-rnp_probe
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-hw-description-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-link_speed-description-in-rnp_watchdog_update_link
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-maxrate-description-in-rnp_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-msix_vector-description-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-netdev-description-in-rnp_setup_tc
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-netdev-description-in-rnp_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-queue-description-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-skb-description-in-rnp_is_non_eop
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-subdev_id-description-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_rx_ring_reinit
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_setup_rx_resources
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_setup_tx_resources
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_setup_tc
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-id-not-described-in-rnp_probe
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-napi_budget-not-described-in-rnp_clean_tx_irq
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-rnp_msix_vector-not-described-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-rnp_queue-not-described-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-subdevice_id-not-described-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-t-not-described-in-rnp_service_timer
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-txqueue-not-described-in-rnp_tx_timeout
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_assign_netdev_ops
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_can_rpu_start
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_clear_udp_tunnel_port
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_config_knode
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_delete_knode
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_do_reset
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_rx_ring_reinit
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_service_task
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_service_timer
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_setup_tc_cls_u32
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_unmap_and_free_tx_resource
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_vlan_stags_flag
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_write_eitr_rx
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_xmit_nop_frame_ring
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:variable-rxctrl-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:variable-xdp_xmit-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnp_check_for_ack_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnp_check_for_msg_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnp_read_mbx_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnp_check_for_ack_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnp_check_for_msg_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnp_read_mbx_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Excess-function-parameter-rnp_info-description-in-rnp_mbx_get_capability
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-adv-not-described-in-rnp_mbx_phy_link_set
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-info-not-described-in-rnp_mbx_get_capability
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-pfvfnum-not-described-in-rnp_fw_get_macaddr
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value-not-described-in-rnp_mbx_reg_writev
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value0-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value1-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value2-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value3-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:no-previous-prototype-for-function-rnp_fw_reg_read
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:variable-err-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:variable-value-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Excess-function-parameter-hw-description-in-rnp_mac_fc_mode_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-hw-not-described-in-rnp_write_uc_addr_list_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-mac-not-described-in-rnp_mac_fc_mode_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-sriov_flag-not-described-in-rnp_eth_update_rss_key_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-sriov_flag-not-described-in-rnp_write_uc_addr_list_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:equality-comparison-with-extraneous-parentheses
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp10_get_link_ksettings
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp10_set_link_ksettings
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_addr_list_itr
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_check_mac_link_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_clean_link_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_device_supports_autoneg_fc
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clear_rar_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clear_vmdq_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_all_layer2_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_all_tuple5_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_layer2_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_mc_addr_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_tuple5_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_vfta_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_layer2_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_rar_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_tcp_sync_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_tuple5_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_vfta_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_vmdq_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_update_mc_addr_list_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_update_rss_key_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_update_rss_table_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_get_permtion_mac_addr_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_get_thermal_sensor_data_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_init_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_init_thermal_sensor_thresh_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_layer2_pritologic_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_mac_fc_mode_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_mac_set_mac_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_nway_reset
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_phy_read_reg_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_phy_write_reg_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_reset_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_set_ethtool_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_set_vf_vlan_mode_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_setup_mac_link_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_start_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_tuple5_pritologic_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_tuple5_pritologic_tcam_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-autoneg_changed-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-dma_ch-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-duplex_changed-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-idx-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_ptp.c:warning:no-previous-prototype-for-function-rnp_ptp_setup_ptp
| |-- drivers-net-ethernet-mucse-rnp-rnp_ptp.c:warning:variable-ts_event_en-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_sriov.c:warning:no-previous-prototype-for-function-check_ari_mode
| |-- drivers-net-ethernet-mucse-rnp-rnp_sriov.c:warning:no-previous-prototype-for-function-rnp_msg_post_status_signle_link
| |-- drivers-net-ethernet-mucse-rnp-rnp_sysfs.c:warning:no-previous-prototype-for-function-rnp_mbx_get_pn_sn
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-001-20241217
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| `-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
|-- x86_64-buildonly-randconfig-003-20241217
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-004-20241217
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-buildonly-randconfig-005-20241217
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
`-- x86_64-defconfig
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
`-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
elapsed time: 729m
configs tested: 15
configs skipped: 119
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241217 clang-20
arm64 randconfig-002-20241217 clang-16
arm64 randconfig-003-20241217 clang-18
arm64 randconfig-004-20241217 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241217 clang-19
x86_64 buildonly-randconfig-002-20241217 gcc-12
x86_64 buildonly-randconfig-003-20241217 gcc-12
x86_64 buildonly-randconfig-004-20241217 clang-19
x86_64 buildonly-randconfig-005-20241217 gcc-12
x86_64 buildonly-randconfig-006-20241217 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS] BUILD REGRESSION e04cbbbd0efe0fdfa887f1b6da3fdedb33778daf
by kernel test robot 18 Dec '24
by kernel test robot 18 Dec '24
18 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
branch HEAD: e04cbbbd0efe0fdfa887f1b6da3fdedb33778daf !14186 nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allnoconfig
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains
| |-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
|-- arm64-defconfig
| `-- net-ipv4-route.c:warning:array-subscript-is-outside-array-bounds-of-struct-fib_nh
|-- arm64-randconfig-001-20241217
| |-- drivers-nvme-host-core.c:error:compat_uptr_t-undeclared-(first-use-in-this-function)
| `-- drivers-nvme-host-core.c:error:expected-before-ptrval
|-- arm64-randconfig-002-20241217
| |-- drivers-clocksource-arm_arch_timer.c:error:hisi_161010101_read_cntvct_el0-undeclared-(first-use-in-this-function)
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
|-- arm64-randconfig-003-20241217
| |-- drivers-misc-uacce-uacce.c:error:implicit-declaration-of-function-module_refcount
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity
| `-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains
|-- arm64-randconfig-004-20241217
| |-- drivers-clocksource-arm_arch_timer.c:error:hisi_161010101_read_cntvct_el0-undeclared-(first-use-in-this-function)
| |-- drivers-iommu-arm-smmu-v3.c:error:CONFIG_CMA_ALIGNMENT-undeclared-(first-use-in-this-function)
| |-- drivers-misc-uacce-uacce.c:error:implicit-declaration-of-function-module_refcount
| |-- drivers-nvme-host-core.c:error:compat_uptr_t-undeclared-(first-use-in-this-function)
| |-- drivers-nvme-host-core.c:error:expected-before-ptrval
| |-- include-linux-kernel.h:error:first-argument-to-__builtin_choose_expr-not-a-constant
| `-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa
|-- x86_64-allnoconfig
| |-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa-Werror-Wimplicit-function-declaration
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled-Werror-Wimplicit-function-declaration
|-- x86_64-allyesconfig
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_extension-hns3_enet_it.c:warning:no-previous-prototype-for-function-hns3_nic_select_queue_it
| `-- samples-vfio-mdev-.tmp_mdpy-fb.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-001-20241217
| |-- arch-x86-xen-setup.o:warning:objtool:missing-symbol-for-section-.ref.text
| |-- drivers-fpga-dfl-afu-main.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-fpga-dfl-fme-main.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-fpga-dfl.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-hwmon-mlxreg-fan.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-hwmon-npcm750-pwm-fan.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-hwmon-raspberrypi-hwmon.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-media-dvb-frontends-dvb-pll.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-media-dvb-frontends-lgdt33.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-media-tuners-qm1d1b0004.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-net-phy-mdio-moxart.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-power-supply-ds2760_battery.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-video-backlight-rave-sp-backlight.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity-Werror-Wimplicit-function-declaration
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains-Werror-Wimplicit-function-declaration
| |-- net-ipv4-metrics.o:warning:objtool:missing-symbol-for-section-.text
| |-- net-tls-tls_device.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-drivers-opl3-opl3_seq.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-drivers-opl4-opl4_seq.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-isa-cs423x-cs4236.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-isa-es18xx.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-isa-gus-gus_dram.o:warning:objtool:missing-symbol-for-section-.text
| |-- sound-isa-gus-gusextreme.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-isa-gus-gusmax.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-soc-codecs-mt6351.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-soc-codecs-rt1305.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-soc-codecs-rt5668.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-soc-codecs-ssm2305.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- sound-soc-codecs-tscs454.o:warning:objtool:missing-symbol-for-section-.init.text
| `-- sound-xen-xen_snd_front_shbuf.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-buildonly-randconfig-002-20241217
| |-- arch-x86-include-asm-msr.h:warning:mcu_ctrl-may-be-used-uninitialized
| |-- drivers-mailbox-qcom-apcs-ipc-mailbox.c:warning:apcs_clk_match_table-defined-but-not-used
| |-- drivers-regulator-qcom-rpmh-regulator.c:warning:rpmh_regulator_match_table-defined-but-not-used
| |-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
|-- x86_64-buildonly-randconfig-003-20241217
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
|-- x86_64-buildonly-randconfig-004-20241217
| |-- arch-x86-kernel-unwind_orc.o:warning:objtool:missing-symbol-for-section-.text
| |-- block-bfq-wf2q.o:warning:objtool:missing-symbol-for-section-.text
| |-- block-blk-mq-debugfs-zoned.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-char-tpm-eventlog-efi.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-firmware-efi-cper-x86.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-hwtracing-intel_th-debug.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-input-rmi4-rmi_2d_sensor.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-md-dm-verity-verify-sig.o:warning:objtool:missing-symbol-for-section-.text
| |-- fs-f2fs-recovery.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- fs-udf-unicode.o:warning:objtool:missing-symbol-for-section-.text
| `-- kernel-gcov-base.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-buildonly-randconfig-005-20241217
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
|-- x86_64-buildonly-randconfig-006-20241217
| |-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa-Werror-Wimplicit-function-declaration
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled-Werror-Wimplicit-function-declaration
|-- x86_64-defconfig
| |-- kernel-sched-pelt.o:warning:objtool:missing-symbol-for-section-.text
| |-- net-ipv4-metrics.o:warning:objtool:missing-symbol-for-section-.text
| `-- net-ipv4-netlink.o:warning:objtool:missing-symbol-for-section-.text
`-- x86_64-randconfig-161-20241218
|-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa
`-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
elapsed time: 722m
configs tested: 16
configs skipped: 129
tested configs:
arm64 allmodconfig gcc-14.2.0
arm64 allnoconfig gcc-14.2.0
arm64 defconfig gcc-14.2.0
arm64 randconfig-001-20241217 gcc-14.2.0
arm64 randconfig-002-20241217 gcc-14.2.0
arm64 randconfig-003-20241217 gcc-14.2.0
arm64 randconfig-004-20241217 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241217 clang-19
x86_64 buildonly-randconfig-002-20241217 gcc-12
x86_64 buildonly-randconfig-003-20241217 gcc-12
x86_64 buildonly-randconfig-004-20241217 clang-19
x86_64 buildonly-randconfig-005-20241217 gcc-12
x86_64 buildonly-randconfig-006-20241217 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] kernel/sched/topology.c:2368:32: sparse: sparse: incorrect type in initializer (different base types)
by kernel test robot 18 Dec '24
by kernel test robot 18 Dec '24
18 Dec '24
Hi Xianglai,
First bad commit (maybe != root cause):
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 46064348cc445799cf9e8fd030323a0426fbb5e4
commit: 351aa968603500987e891b20cc97a677602ae7c2 [1613/1613] loongarch/kernel: Fix loongarch compilation error
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241218/202412180753.EAU66qxV-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241218/202412180753.EAU66qxV-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412180753.EAU66qxV-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
kernel/sched/build_utility.c: note: in included file:
kernel/sched/debug.c:468:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/debug.c:468:17: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/debug.c:468:17: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/debug.c:792:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *tsk @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/debug.c:792:9: sparse: expected struct task_struct *tsk
kernel/sched/debug.c:792:9: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/debug.c:792:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *tsk @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/debug.c:792:9: sparse: expected struct task_struct *tsk
kernel/sched/debug.c:792:9: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/build_utility.c: note: in included file:
kernel/sched/stop_task.c:73:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/stop_task.c:73:38: sparse: expected struct task_struct *curr
kernel/sched/stop_task.c:73:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/build_utility.c: note: in included file:
>> kernel/sched/topology.c:2368:32: sparse: sparse: incorrect type in initializer (different base types) @@ expected int flags @@ got restricted gfp_t @@
kernel/sched/topology.c:2368:32: sparse: expected int flags
kernel/sched/topology.c:2368:32: sparse: got restricted gfp_t
>> kernel/sched/topology.c:2376:61: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected restricted gfp_t [usertype] flags @@ got int flags @@
kernel/sched/topology.c:2376:61: sparse: expected restricted gfp_t [usertype] flags
kernel/sched/topology.c:2376:61: sparse: got int flags
kernel/sched/topology.c:2404:58: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:2404:58: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/topology.c:2404:58: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/topology.c:123:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:123:56: sparse: expected struct sched_domain *sd
kernel/sched/topology.c:123:56: sparse: got struct sched_domain [noderef] __rcu *child
kernel/sched/topology.c:142:60: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:142:60: sparse: expected struct sched_domain *sd
kernel/sched/topology.c:142:60: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/topology.c:165:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:165:20: sparse: expected struct sched_domain *sd
kernel/sched/topology.c:165:20: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/topology.c:499:19: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct perf_domain *pd @@ got struct perf_domain [noderef] __rcu *pd @@
kernel/sched/topology.c:499:19: sparse: expected struct perf_domain *pd
kernel/sched/topology.c:499:19: sparse: got struct perf_domain [noderef] __rcu *pd
kernel/sched/topology.c:663:49: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *parent @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:663:49: sparse: expected struct sched_domain *parent
kernel/sched/topology.c:663:49: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/topology.c:718:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/topology.c:718:9: sparse: struct sparsemask [noderef] __rcu *
kernel/sched/topology.c:718:9: sparse: struct sparsemask *
kernel/sched/topology.c:758:50: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *parent @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:766:55: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain [noderef] __rcu *[noderef] __rcu child @@ got struct sched_domain *[assigned] tmp @@
kernel/sched/topology.c:779:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] tmp @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:784:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:805:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] tmp @@ got struct sched_domain [noderef] __rcu *sd @@
kernel/sched/topology.c:967:70: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:996:59: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1042:57: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1044:25: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *sibling @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1052:55: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1054:25: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *sibling @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1124:62: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_domain *sd @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1228:40: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *child @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:1649:43: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain [noderef] __rcu *child @@ got struct sched_domain *child @@
kernel/sched/topology.c:2445:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain [noderef] __rcu *parent @@ got struct sched_domain *sd @@
kernel/sched/topology.c:2549:57: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:2570:56: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *child @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/topology.c:2569:57: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/topology.c:2624:57: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/build_utility.c: note: in included file:
kernel/sched/membarrier.c:206:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:206:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:206:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:206:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:230:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:230:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:230:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:230:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:433:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:433:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:433:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/membarrier.c:433:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got int [noderef] __percpu * @@
kernel/sched/build_utility.c: note: in included file:
kernel/sched/build_utility.c: note: in included file (through include/linux/mmzone.h, arch/loongarch/include/asm/pgtable.h, arch/loongarch/include/asm/uaccess.h, ...):
include/linux/page-flags.h:245:46: sparse: sparse: self-comparison always evaluates to false
kernel/sched/build_utility.c: note: in included file:
kernel/sched/sched.h:2288:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2288:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2288:25: sparse: struct task_struct *
vim +2368 kernel/sched/topology.c
f2cb13609d5397 Ingo Molnar 2017-02-01 2361
e858b9ce14397a Cheng Jian 2024-01-02 2362 #ifdef CONFIG_SCHED_STEAL
476141f6c8e689 Steve Sistare 2024-01-02 2363 static int sd_llc_alloc(struct sched_domain *sd)
476141f6c8e689 Steve Sistare 2024-01-02 2364 {
0ccb3f810722de Steve Sistare 2024-01-02 2365 struct sched_domain_shared *sds = sd->shared;
0ccb3f810722de Steve Sistare 2024-01-02 2366 struct cpumask *span = sched_domain_span(sd);
0ccb3f810722de Steve Sistare 2024-01-02 2367 int nid = cpu_to_node(cpumask_first(span));
0ccb3f810722de Steve Sistare 2024-01-02 @2368 int flags = __GFP_ZERO | GFP_KERNEL;
0ccb3f810722de Steve Sistare 2024-01-02 2369 struct sparsemask *mask;
0ccb3f810722de Steve Sistare 2024-01-02 2370
0ccb3f810722de Steve Sistare 2024-01-02 2371 /*
0ccb3f810722de Steve Sistare 2024-01-02 2372 * Allocate the bitmap if not already allocated. This is called for
0ccb3f810722de Steve Sistare 2024-01-02 2373 * every CPU in the LLC but only allocates once per sd_llc_shared.
0ccb3f810722de Steve Sistare 2024-01-02 2374 */
0ccb3f810722de Steve Sistare 2024-01-02 2375 if (!sds->cfs_overload_cpus) {
0ccb3f810722de Steve Sistare 2024-01-02 @2376 mask = sparsemask_alloc_node(nr_cpu_ids, 3, flags, nid);
0ccb3f810722de Steve Sistare 2024-01-02 2377 if (!mask)
0ccb3f810722de Steve Sistare 2024-01-02 2378 return 1;
0ccb3f810722de Steve Sistare 2024-01-02 2379 sds->cfs_overload_cpus = mask;
0ccb3f810722de Steve Sistare 2024-01-02 2380 }
476141f6c8e689 Steve Sistare 2024-01-02 2381
476141f6c8e689 Steve Sistare 2024-01-02 2382 return 0;
476141f6c8e689 Steve Sistare 2024-01-02 2383 }
476141f6c8e689 Steve Sistare 2024-01-02 2384
:::::: The code at line 2368 was first introduced by commit
:::::: 0ccb3f810722de634beed0dc6fe5c59d963b4c50 sched/topology: Provide cfs_overload_cpus bitmap
:::::: TO: Steve Sistare <steve.sistare(a)oracle.com>
:::::: CC: Cheng Yu <serein.chengyu(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] drivers/acpi/pptt.c:309:5: sparse: sparse: symbol 'acpi_pptt_for_each_container' was not declared. Should it be static?
by kernel test robot 18 Dec '24
by kernel test robot 18 Dec '24
18 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 46064348cc445799cf9e8fd030323a0426fbb5e4
commit: 1ab6383ee94e788fe424d7eac10dc8ec3bfa6828 [1613/1613] ACPI / PPTT: Provide a helper to walk processor containers
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241218/202412180435.xFKN88By-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241218/202412180435.xFKN88By-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412180435.xFKN88By-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/acpi/pptt.c:309:5: sparse: sparse: symbol 'acpi_pptt_for_each_container' was not declared. Should it be static?
drivers/acpi/pptt.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h, ...):
include/linux/page-flags.h:245:46: sparse: sparse: self-comparison always evaluates to false
vim +/acpi_pptt_for_each_container +309 drivers/acpi/pptt.c
297
298 /**
299 * acpi_pptt_for_each_container() - Iterate over all processor containers
300 *
301 * Not all 'Processor' entries in the PPTT are either a CPU or a Processor
302 * Container, they may exist purely to describe a Private resource. CPUs
303 * have to be leaves, so a Processor Container is a non-leaf that has the
304 * 'ACPI Processor ID valid' flag set.
305 *
306 * Return: 0 for a complete walk, or the first non-zero value from the callback
307 * that stopped the walk.
308 */
> 309 int acpi_pptt_for_each_container(acpi_pptt_cpu_callback_t callback, void *arg)
310 {
311 struct acpi_pptt_processor *cpu_node;
312 struct acpi_table_header *table_hdr;
313 struct acpi_subtable_header *entry;
314 bool leaf_flag, has_leaf_flag = false;
315 unsigned long table_end;
316 acpi_status status;
317 u32 proc_sz;
318 int ret = 0;
319
320 status = acpi_get_table(ACPI_SIG_PPTT, 0, &table_hdr);
321 if (ACPI_FAILURE(status))
322 return 0;
323
324 if (table_hdr->revision > 1)
325 has_leaf_flag = true;
326
327 table_end = (unsigned long)table_hdr + table_hdr->length;
328 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr,
329 sizeof(struct acpi_table_pptt));
330 proc_sz = sizeof(struct acpi_pptt_processor);
331 while ((unsigned long)entry + proc_sz < table_end) {
332 cpu_node = (struct acpi_pptt_processor *)entry;
333 if (entry->type == ACPI_PPTT_TYPE_PROCESSOR &&
334 cpu_node->flags & ACPI_PPTT_ACPI_PROCESSOR_ID_VALID)
335 {
336 leaf_flag = cpu_node->flags & ACPI_PPTT_ACPI_LEAF_NODE;
337 if ((has_leaf_flag && !leaf_flag) ||
338 (!has_leaf_flag && !acpi_pptt_leaf_node(table_hdr, cpu_node)))
339 {
340 ret = callback(cpu_node, arg);
341 if (ret)
342 break;
343 }
344 }
345 entry = ACPI_ADD_PTR(struct acpi_subtable_header, entry,
346 entry->length);
347 }
348
349 acpi_put_table(table_hdr);
350
351 return ret;
352 }
353
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] drivers/char/ipmi/ipmi_si_ls2k500.c:92:5: sparse: sparse: symbol 'ipmi_si_sim_setup' was not declared. Should it be static?
by kernel test robot 18 Dec '24
by kernel test robot 18 Dec '24
18 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 46064348cc445799cf9e8fd030323a0426fbb5e4
commit: 4fbeaa84ef36adce930088074f8c088e5dd780c0 [1613/1613] ipmi: add ls2k500 bmc ipmi support.
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241218/202412180056.213DG4nb-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241218/202412180056.213DG4nb-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412180056.213DG4nb-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/char/ipmi/ipmi_si_ls2k500.c:92:5: sparse: sparse: symbol 'ipmi_si_sim_setup' was not declared. Should it be static?
>> drivers/char/ipmi/ipmi_si_ls2k500.c:116:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[addressable] [assigned] addr_source_data @@ got void [noderef] __iomem * @@
drivers/char/ipmi/ipmi_si_ls2k500.c:116:29: sparse: expected void *[addressable] [assigned] addr_source_data
drivers/char/ipmi/ipmi_si_ls2k500.c:116:29: sparse: got void [noderef] __iomem *
>> drivers/char/ipmi/ipmi_si_ls2k500.c:148:24: sparse: sparse: symbol 'ipmi_ls2k500_platform_driver' was not declared. Should it be static?
drivers/char/ipmi/ipmi_si_ls2k500.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
vim +/ipmi_si_sim_setup +92 drivers/char/ipmi/ipmi_si_ls2k500.c
91
> 92 int ipmi_si_sim_setup(struct si_sm_io *io)
93 {
94 io->inputb = intf_sim_inb;
95 io->outputb = intf_sim_outb;
96 io->io_cleanup = ipmi_ls2k500_cleanup;
97 return 0;
98 }
99
100 #define platform_resource_start(dev, bar) ((dev)->resource[(bar)].start)
101 #define platform_resource_end(dev, bar) ((dev)->resource[(bar)].end)
102 static int of_ipmi_ls2k500_probe(struct platform_device *pdev)
103 {
104 int rv;
105 struct si_sm_io io;
106 void **kcs_data;
107
108 memset(&io, 0, sizeof(io));
109 io.addr_source = SI_PLATFORM;
110 dev_info(&pdev->dev, "probing via ls2k500 platform");
111 io.si_type = SI_KCS;
112
113 io.addr_space = IPMI_MEM_ADDR_SPACE;
114 io.io_setup = ipmi_si_sim_setup;
115 io.addr_data = pdev->resource[0].start;
> 116 io.addr_source_data = ioremap(pdev->resource[0].start,
117 pdev->resource[0].end -
118 pdev->resource[0].start + 1);
119 kcs_data = dev_get_platdata(&pdev->dev);
120 event_jiffies = kcs_data[0];
121 mscycles = kcs_data[1];
122 io.dev = &pdev->dev;
123 io.regspacing = 4;
124 io.regsize = DEFAULT_REGSIZE;
125 io.regshift = 0;
126 io.irq = 0;
127 if (io.irq)
128 io.irq_setup = ipmi_std_irq_setup;
129
130 dev_info(&pdev->dev, "%pR regsize %d spacing %d irq %d\n",
131 &pdev->resource[0], io.regsize, io.regspacing, io.irq);
132
133 rv = ipmi_si_add_smi(&io);
134 if (rv)
135 ipmi_si_remove_by_dev(&pdev->dev);
136
137 return rv;
138 }
139
140 static int ipmi_ls2k500_remove(struct platform_device *pdev)
141 {
142 ipmi_si_remove_by_dev(&pdev->dev);
143
144 return 0;
145 }
146
147 #define LS2K500_SI_DEVICE_NAME "ipmi_ls2k500_si"
> 148 struct platform_driver ipmi_ls2k500_platform_driver = {
149 .driver = {
150 .name = LS2K500_SI_DEVICE_NAME,
151 },
152 .probe = of_ipmi_ls2k500_probe,
153 .remove = ipmi_ls2k500_remove,
154 };
155
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1640/1640] drivers/crypto/ccp/hygon/hct.c:362 hct_dev_cmd_queue_init() warn: always true condition '(dev_ctx->q_count >= 0) => (0-u32max >= 0)'
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 46064348cc445799cf9e8fd030323a0426fbb5e4
commit: c74ae2c5da57becf3f41c596d79b3dd30fa1baa6 [1640/1640] hct: add mediated ccp driver support for hygon crypto technology.
config: x86_64-randconfig-161-20241217 (https://download.01.org/0day-ci/archive/20241217/202412172322.TKo92WwH-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412172322.TKo92WwH-lkp@intel.com/
smatch warnings:
drivers/crypto/ccp/hygon/hct.c:362 hct_dev_cmd_queue_init() warn: always true condition '(dev_ctx->q_count >= 0) => (0-u32max >= 0)'
drivers/crypto/ccp/hygon/hct.c:668 hct_write() warn: potential spectre issue 'dev_ctx->cmd_q' [r]
drivers/crypto/ccp/hygon/hct.c:672 hct_write() warn: potential spectre issue 'mdev_state->trigger' [r]
drivers/crypto/ccp/hygon/hct.c:1384 is_dma_share() warn: always true condition '(dma_iova >= 0) => (0-u64max >= 0)'
vim +362 drivers/crypto/ccp/hygon/hct.c
295
296 static int hct_dev_cmd_queue_init(struct pci_dev *pdev, struct hct_dev_ctx *dev_ctx, int idx)
297 {
298 struct hct_cmd_queue *cmd_q;
299 unsigned long addr, len;
300 unsigned int retval, qmr;
301 int i, ret;
302
303 if (!pdev || !dev_ctx)
304 return -EINVAL;
305
306 memset(dev_ctx, 0, sizeof(*dev_ctx));
307
308 ret = pci_enable_device(pdev);
309 if (ret)
310 return -EINVAL;
311
312 addr = pci_resource_start(pdev, PCI_RESOURCE_BAR2);
313 len = pci_resource_len(pdev, PCI_RESOURCE_BAR2);
314 dev_ctx->io_regs = ioremap(addr, len);
315 if (!dev_ctx->io_regs)
316 return -ENOMEM;
317
318 pci_set_master(pdev);
319 retval = pci_alloc_irq_vectors(pdev, 1, MCCP_MSIX_ENTRY_SIZE, PCI_IRQ_MSIX);
320 if (retval != MCCP_NTB_VECTOR_NUM && retval != MCCP_PSP_VECTOR_NUM)
321 return -ENOMEM;
322
323 snprintf(dev_ctx->devname, MCCP_STRING_LEN, "hct-ccp-%d", idx);
324 dev_ctx->irq = pci_irq_vector(pdev, retval - 1);
325 /* To request_irq, the fourth parameter dev_name must be global
326 * variable or static variable.
327 */
328 ret = request_irq(dev_ctx->irq, hct_cmd_queue_intr_handler, 0, dev_ctx->devname, dev_ctx);
329 if (ret) {
330 pci_free_irq_vectors(pdev);
331 dev_ctx->irq = 0;
332 return ret;
333 }
334
335 tasklet_init(&dev_ctx->irq_tasklet, hct_cmd_queue_intr_task, (unsigned long)dev_ctx);
336
337 qmr = ioread32(dev_ctx->io_regs + Q_MASK_REG);
338 if (qmr == 0) {
339 iowrite32(0x1f, dev_ctx->io_regs + Q_MASK_REG);
340 qmr = ioread32(dev_ctx->io_regs + Q_MASK_REG);
341 }
342 for (i = 0; i < MCCP_DEV_QUEUE_MAX; i++) {
343 if (!(qmr & (1 << i)))
344 continue;
345
346 cmd_q = &dev_ctx->cmd_q[dev_ctx->q_count++];
347
348 mutex_init(&cmd_q->q_lock);
349 ret = kfifo_alloc(&cmd_q->ectx_fifo, MCCP_INSTANCE_MAX, GFP_KERNEL);
350 if (ret)
351 return -ENOMEM;
352
353 cmd_q->reg_control = dev_ctx->io_regs + MCMD_Q_STATUS_INCR * (i + 1);
354 cmd_q->reg_tail_lo = cmd_q->reg_control + MCMD_Q_TAIL_LO_BASE;
355 cmd_q->reg_head_lo = cmd_q->reg_control + MCMD_Q_HEAD_LO_BASE;
356 cmd_q->reg_int_enable = cmd_q->reg_control + MCMD_Q_INT_ENABLE_BASE;
357 cmd_q->reg_interrupt_status = cmd_q->reg_control + MCMD_Q_INTERRUPT_STATUS_BASE;
358 cmd_q->reg_status = cmd_q->reg_control + MCMD_Q_STATUS_BASE;
359 cmd_q->reg_int_status = cmd_q->reg_control + MCMD_Q_INT_STATUS_BASE;
360 }
361
> 362 return (dev_ctx->q_count >= 0) ? 0 : -1;
363 }
364
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6] BUILD REGRESSION 46064348cc445799cf9e8fd030323a0426fbb5e4
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 46064348cc445799cf9e8fd030323a0426fbb5e4 !14161 drm/rockchip: vop: Fix a dereferenced before check warning
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-001-20241217
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-002-20241217
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-003-20241217
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- instantiation:error:expected-absolute-expression
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-004-20241217
| |-- WARNING:modpost:vmlinux:section-mismatch-in-reference:virtio_fs_init-(section:.init.text)-virtio_fs_sysfs_exit-(section:.exit.text)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-051-20241217
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-052-20241217
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- loongarch-allmodconfig
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:mp_ops-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-paravt_steal_clock
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-parse_no_stealacc
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_cpu_reboot
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_disable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_enable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_nb
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_notify
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_down_prepare
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_online
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_init
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-steal_acc
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:Function-parameter-or-member-ivrs-not-described-in-get_highest_supported_ivhd_type
| |-- drivers-iommu-loongarch_iommu.c:warning:la_iommu_setup-defined-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-check_device_compat
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-create_rlookup_entry
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_attach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_deattach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-find_iommu_by_dev
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-get_iommu_info_from_dom
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-iommu_init_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-la_iommu_probe_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-lookup_rlooptable
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-loongarch_get_iommu_by_devid
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:u-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- include-linux-init.h:error:redefinition-of-parse_no_stealacc
| |-- include-linux-init.h:error:redefinition-of-str_parse_no_stealacc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-001-20241217
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:mp_ops-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-paravt_steal_clock
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-parse_no_stealacc
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_cpu_reboot
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_disable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_enable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_nb
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_notify
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_down_prepare
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_online
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_init
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-steal_acc
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-init.h:error:redefinition-of-parse_no_stealacc
| |-- include-linux-init.h:error:redefinition-of-str_parse_no_stealacc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kismet:WARNING:unmet-direct-dependencies-detected-for-ACPI_HOTPLUG_IGNORE_OSC-when-selected-by-X86
| |-- kismet:WARNING:unmet-direct-dependencies-detected-for-VFIO_MDEV-when-selected-by-CRYPTO_DEV_HCT
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allyesconfig
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-sm3_generic_block_fn
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_finup
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_update
| |-- arch-x86-crypto-sm4-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-gmi_sm4_set_key
| |-- arch-x86-kernel-cpu-hygon.c:warning:no-previous-prototype-for-function-get_nt_block_copy_mini_len
| |-- arch-x86-kernel-cpu-hygon.c:warning:no-previous-prototype-for-function-set_c86_features_para_invalid
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- arch-x86-kernel-fpu-core.c:warning:no-previous-prototype-for-function-get_fpustate_free_space
| |-- arch-x86-kvm-svm-csv.c:warning:no-previous-prototype-for-function-csv_vm_attestation
| |-- arch-x86-kvm-svm-sev.c:warning:no-previous-prototype-for-function-sev_install_hooks
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-crypto-montage-tsse-tsse_ipc_api.c:warning:variable-device_handle-is-uninitialized-when-used-here
| |-- drivers-gpu-drm-amd-amdgpu-..-amdkfd-kfd_topology.c:warning:stack-frame-size-()-exceeds-limit-()-in-kfd_topology_add_device
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-calcs-dcn_calc_auto.c:warning:stack-frame-size-()-exceeds-limit-()-in-mode_support_and_system_configuration
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-dcn30-display_mode_vba_30.c:warning:stack-frame-size-()-exceeds-limit-()-in-dml30_ModeSupportAndSystemConfigurationFull
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
|-- x86_64-buildonly-randconfig-001-20241217
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241217
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-003-20241217
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-004-20241217
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:use-of-undeclared-identifier-setup_max_cpus
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-005-20241217
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-006-20241217
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-defconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
`-- x86_64-randconfig-122-20241217
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-add_sgpio_zhaoxin-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-ahci_wait_em_reset-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-ahci_zhaoxin_set_em_sgpio-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-ahci_zhaoxin_set_em_sgpio_gpmode-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-remove_sgpio_zhaoxin-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-set_em_messages-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-sgpio_attrs-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-sgpio_groups-was-not-declared.-Should-it-be-static
|-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-sgpio_zhaoxin_ktype-was-not-declared.-Should-it-be-static
`-- drivers-ata-ahci_zhaoxin_sgpio.c:sparse:sparse:symbol-sgpio_zhaoxin_sysfs_ops-was-not-declared.-Should-it-be-static
elapsed time: 725m
configs tested: 19
configs skipped: 106
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241217 clang-20
arm64 randconfig-002-20241217 clang-16
arm64 randconfig-003-20241217 clang-18
arm64 randconfig-004-20241217 gcc-14.2.0
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
loongarch randconfig-001-20241217 gcc-14.2.0
loongarch randconfig-002-20241217 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241217 clang-19
x86_64 buildonly-randconfig-002-20241217 gcc-12
x86_64 buildonly-randconfig-003-20241217 gcc-12
x86_64 buildonly-randconfig-004-20241217 clang-19
x86_64 buildonly-randconfig-005-20241217 gcc-12
x86_64 buildonly-randconfig-006-20241217 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

17 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBBRHP
---------------------------------------------------------------
The list_head entry in iopf_group has been moved to iopf_group_extend
for KABI compatibility and the lack of KABI reserve entry. Reserve extra
kabi entry for future usage.
Signed-off-by: Zhang Zekun <zhangzekun11(a)huawei.com>
---
include/linux/iommu.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index bb463cb96a44..83ec4bf9809e 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -155,6 +155,10 @@ struct iopf_group {
KABI_USE(2, u32 cookie)
KABI_RESERVE(3)
KABI_RESERVE(4)
+ KABI_RESERVE(5)
+ KABI_RESERVE(6)
+ KABI_RESERVE(7)
+ KABI_RESERVE(8)
};
struct iopf_group_extend {
--
2.22.0
2
1

[PATCH OLK-6.6 V4 00/15] erofs/fscache/cachefiles: Add ondemand loading support
by Zizhi Wo 17 Dec '24
by Zizhi Wo 17 Dec '24
17 Dec '24
Changes since V1:
- Modify the bugzilla link to synchronize with 5.10.
- Fix comment syntax errors in patch 9.
Changes since V2:
- Merge the introduced problem patch with the subsequent bugfix patches.
Changes since V3:
- Fix a missing merge patch.
Baokun Li (1):
cachefiles: add support for buffer I/O in ondemand mode
Yang Erkun (1):
erofs: remove EXPERIMENTAL feature warning for fscache-based
Zizhi Wo (13):
fscache: add a memory barrier for FSCACHE_VOLUME_CREATING
cachefiles: modify inappropriate error return value in
cachefiles_daemon_secctx
fscache: modify the waiting mechanism with duplicate volumes
erofs: add erofs switch to better control it
erofs: add erofs_ondemand switch
cachefiles: Add restrictions to cachefiles_daemon_cull()
cachefiles: Introduce "dir_has_put" in cachefiles_volume
fscache: Add the synchronous waiting mechanism for the volume unhash
in erofs ondemand mode
fscache: clean up for fscache_clear_volume_priv
cachefiles: Fix NULL pointer dereference in object->file
cachefiles: Clean up in cachefiles_commit_tmpfile()
cachefiles: Fix incorrect length return value in
cachefiles_ondemand_fd_write_iter()
cachefiles: Fix missing pos updates in
cachefiles_ondemand_fd_write_iter()
fs/Makefile | 1 +
fs/cachefiles/cache.c | 2 +
fs/cachefiles/daemon.c | 12 +++++-
fs/cachefiles/interface.c | 26 ++++++++++---
fs/cachefiles/internal.h | 5 +++
fs/cachefiles/io.c | 12 ++++++
fs/cachefiles/namei.c | 5 ---
fs/cachefiles/ondemand.c | 39 ++++++++++++++-----
fs/cachefiles/volume.c | 51 ++++++++++++++++++++++---
fs/erofs/fscache.c | 4 ++
fs/erofs/internal.h | 1 +
fs/erofs/super.c | 20 ++++++++--
fs/fs_ctl.c | 43 +++++++++++++++++++++
fs/fscache/cache.c | 1 -
fs/fscache/cookie.c | 28 ++++++++++++++
fs/fscache/volume.c | 70 +++++++++++++++++++++++++----------
include/linux/fs.h | 17 +++++++++
include/linux/fscache-cache.h | 28 +++++++++++++-
include/linux/fscache.h | 2 +-
19 files changed, 315 insertions(+), 52 deletions(-)
create mode 100644 fs/fs_ctl.c
--
2.46.1
2
16

[PATCH OLK-5.10] crypto: arm64/sm4 - simplify sm4_ce_expand_key() of CE implementation
by Gu Bowen 17 Dec '24
by Gu Bowen 17 Dec '24
17 Dec '24
From: Tianjia Zhang <tianjia.zhang(a)linux.alibaba.com>
mainline inclusion
from mainline-v6.2-rc1
commit cb9ba02b07d18172c6a6dcc69410c56482903230
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7GBB7
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Use a 128-bit swap mask and tbl instruction to simplify the implementation
for generating SM4 rkey_dec.
Also fixed the issue of not being wrapped by kernel_neon_begin/end() when
using the sm4_ce_expand_key() function.
Signed-off-by: Tianjia Zhang <tianjia.zhang(a)linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert(a)gondor.apana.org.au>
Conflicts:
arch/arm64/crypto/sm4-ce-core.S
[Context conflicts]
Signed-off-by: Gu Bowen <gubowen5(a)huawei.com>
---
arch/arm64/crypto/sm4-ce-core.S | 46 ++++++++++++++++-----------------
arch/arm64/crypto/sm4-ce-glue.c | 2 ++
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/arch/arm64/crypto/sm4-ce-core.S b/arch/arm64/crypto/sm4-ce-core.S
index 934e0f093279..5d2be14d48e7 100644
--- a/arch/arm64/crypto/sm4-ce-core.S
+++ b/arch/arm64/crypto/sm4-ce-core.S
@@ -231,32 +231,23 @@ SYM_FUNC_START(sm4_ce_expand_key)
sm4ekey v6.4s, v5.4s, v30.4s;
sm4ekey v7.4s, v6.4s, v31.4s;
+ adr_l x5, .Lbswap128_mask
+ ld1 {v24.16b}, [x5]
+
st1 {v0.16b-v3.16b}, [x1], #64;
st1 {v4.16b-v7.16b}, [x1];
- rev64 v7.4s, v7.4s;
- rev64 v6.4s, v6.4s;
- rev64 v5.4s, v5.4s;
- rev64 v4.4s, v4.4s;
- rev64 v3.4s, v3.4s;
- rev64 v2.4s, v2.4s;
- rev64 v1.4s, v1.4s;
- rev64 v0.4s, v0.4s;
- ext v7.16b, v7.16b, v7.16b, #8;
- ext v6.16b, v6.16b, v6.16b, #8;
- ext v5.16b, v5.16b, v5.16b, #8;
- ext v4.16b, v4.16b, v4.16b, #8;
- ext v3.16b, v3.16b, v3.16b, #8;
- ext v2.16b, v2.16b, v2.16b, #8;
- ext v1.16b, v1.16b, v1.16b, #8;
- ext v0.16b, v0.16b, v0.16b, #8;
- st1 {v7.16b}, [x2], #16;
- st1 {v6.16b}, [x2], #16;
- st1 {v5.16b}, [x2], #16;
- st1 {v4.16b}, [x2], #16;
- st1 {v3.16b}, [x2], #16;
- st1 {v2.16b}, [x2], #16;
- st1 {v1.16b}, [x2], #16;
- st1 {v0.16b}, [x2];
+
+ tbl v16.16b, {v7.16b}, v24.16b
+ tbl v17.16b, {v6.16b}, v24.16b
+ tbl v18.16b, {v5.16b}, v24.16b
+ tbl v19.16b, {v4.16b}, v24.16b
+ tbl v20.16b, {v3.16b}, v24.16b
+ tbl v21.16b, {v2.16b}, v24.16b
+ tbl v22.16b, {v1.16b}, v24.16b
+ tbl v23.16b, {v0.16b}, v24.16b
+
+ st1 {v16.16b-v19.16b}, [x2], #64
+ st1 {v20.16b-v23.16b}, [x2]
ret;
SYM_FUNC_END(sm4_ce_expand_key)
@@ -658,3 +649,10 @@ SYM_FUNC_START(sm4_ce_ctr_enc)
ret;
SYM_FUNC_END(sm4_ce_ctr_enc)
+
+
+ .section ".rodata", "a"
+ .align 4
+.Lbswap128_mask:
+ .byte 0x0c, 0x0d, 0x0e, 0x0f, 0x08, 0x09, 0x0a, 0x0b
+ .byte 0x04, 0x05, 0x06, 0x07, 0x00, 0x01, 0x02, 0x03
diff --git a/arch/arm64/crypto/sm4-ce-glue.c b/arch/arm64/crypto/sm4-ce-glue.c
index 496d55c0d01a..6183d83e5d16 100644
--- a/arch/arm64/crypto/sm4-ce-glue.c
+++ b/arch/arm64/crypto/sm4-ce-glue.c
@@ -44,8 +44,10 @@ static int sm4_setkey(struct crypto_skcipher *tfm, const u8 *key,
if (key_len != SM4_KEY_SIZE)
return -EINVAL;
+ kernel_neon_begin();
sm4_ce_expand_key(key, ctx->rkey_enc, ctx->rkey_dec,
crypto_sm4_fk, crypto_sm4_ck);
+ kernel_neon_end();
return 0;
}
--
2.25.1
2
1

17 Dec '24
From: Kuniyuki Iwashima <kuniyu(a)amazon.com>
stable inclusion
from stable-v6.6.64
commit 65ed89cad1f57034c256b016e89e8c0a4ec7c65b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBA6RL
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
-------------------------------------------------
[ Upstream commit c31e72d021db2714df03df6c42855a1db592716c ]
The cited commit replaced inet_csk_reqsk_queue_drop_and_put() with
__inet_csk_reqsk_queue_drop() and reqsk_put() in reqsk_timer_handler().
Then, oreq should be passed to reqsk_put() instead of req; otherwise
use-after-free of nreq could happen when reqsk is migrated but the
retry attempt failed (e.g. due to timeout).
Let's pass oreq to reqsk_put().
Fixes: e8c526f2bdf1 ("tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().")
Reported-by: Liu Jian <liujian56(a)huawei.com>
Closes: https://lore.kernel.org/netdev/1284490f-9525-42ee-b7b8-ccadf6606f6d@huawei.…
Signed-off-by: Kuniyuki Iwashima <kuniyu(a)amazon.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko(a)linux.dev>
Reviewed-by: Liu Jian <liujian56(a)huawei.com>
Reviewed-by: Eric Dumazet <edumazet(a)google.com>
Reviewed-by: Martin KaFai Lau <martin.lau(a)kernel.org>
Link: https://patch.msgid.link/20241123174236.62438-1-kuniyu@amazon.com
Signed-off-by: Paolo Abeni <pabeni(a)redhat.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Liu Jian <liujian56(a)huawei.com>
---
net/ipv4/inet_connection_sock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c
index ca8cc0988b618..bd032ac2376ed 100644
--- a/net/ipv4/inet_connection_sock.c
+++ b/net/ipv4/inet_connection_sock.c
@@ -1124,7 +1124,7 @@ static void reqsk_timer_handler(struct timer_list *t)
drop:
__inet_csk_reqsk_queue_drop(sk_listener, oreq, true);
- reqsk_put(req);
+ reqsk_put(oreq);
}
static bool reqsk_queue_hash_req(struct request_sock *req,
--
2.34.1
2
1

[openeuler:OLK-6.6 1640/1640] drivers/ata/ahci_zhaoxin_sgpio.c:31:5: sparse: sparse: symbol 'ahci_wait_em_reset' was not declared. Should it be static?
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 46064348cc445799cf9e8fd030323a0426fbb5e4
commit: fb43492008c11fe89e510dd63383a2d37ea3cf8e [1640/1640] ata: ahci: Add support for AHCI SGPIO Enclosure Management
config: x86_64-randconfig-122-20241217 (https://download.01.org/0day-ci/archive/20241217/202412171410.nclKCZrX-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241217/202412171410.nclKCZrX-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412171410.nclKCZrX-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/ata/ahci_zhaoxin_sgpio.c:31:5: sparse: sparse: symbol 'ahci_wait_em_reset' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:55:6: sparse: sparse: symbol 'ahci_zhaoxin_set_em_sgpio' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:99:6: sparse: sparse: symbol 'ahci_zhaoxin_set_em_sgpio_gpmode' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:552:18: sparse: sparse: symbol 'sgpio_attrs' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:563:30: sparse: sparse: symbol 'sgpio_groups' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:591:24: sparse: sparse: symbol 'sgpio_zhaoxin_sysfs_ops' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:596:24: sparse: sparse: symbol 'sgpio_zhaoxin_ktype' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:601:6: sparse: sparse: symbol 'set_em_messages' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:621:5: sparse: sparse: symbol 'add_sgpio_zhaoxin' was not declared. Should it be static?
>> drivers/ata/ahci_zhaoxin_sgpio.c:673:6: sparse: sparse: symbol 'remove_sgpio_zhaoxin' was not declared. Should it be static?
drivers/ata/ahci_zhaoxin_sgpio.c:272:16: sparse: sparse: context imbalance in 'ahci_transmit_sgpio_indicator_gp' - different lock contexts for basic block
vim +/ahci_wait_em_reset +31 drivers/ata/ahci_zhaoxin_sgpio.c
25
26 static unsigned int zhaoxin_em_type __read_mostly = AHCI_EM_MSG_LED_MODE; /*LED protocol*/
27 module_param(zhaoxin_em_type, int, 0644);
28 MODULE_PARM_DESC(zhaoxin_em_type,
29 "AHCI Enclosure Management Message type control (1 = led on, 2 = sgpio on,3 = sgpio gp on)");
30
> 31 int ahci_wait_em_reset(struct sgpio_zhaoxin *sgpio_zhaoxin, u32 retry)
32 {
33 void __iomem *mmio = sgpio_zhaoxin->mmio;
34 u32 em_ctl;
35
36 if (!sgpio_zhaoxin || retry == 0) {
37 pr_err("In ahci wait em reset, invalid param\n");
38 return -EINVAL;
39 }
40
41 while (retry--) { /*EM_CTL needs reset at least 64ms*/
42 em_ctl = readl(mmio + HOST_EM_CTL);
43 if (em_ctl & EM_CTL_RST)
44 usleep_range(10000, 20000); /*EM_CTL still in reset, usleep 10ms*/
45 else
46 break;
47
48 if (!retry)
49 pr_err("Wait for EM_CTL reset, time out\n");
50 }
51
52 return 0;
53 }
54
> 55 void ahci_zhaoxin_set_em_sgpio(struct sgpio_zhaoxin *sgpio_zhaoxin)
56 {
57 void __iomem *mmio = sgpio_zhaoxin->mmio;
58 void __iomem *em_mmio = mmio + SGPIO_OFFSET;
59
60 u32 read;
61
62 sgpio_zhaoxin->sgpio_reg.cfg_0.enable = 1;
63
64 sgpio_zhaoxin->sgpio_reg.cfg_1.blink_gen_a = 0x7;
65 sgpio_zhaoxin->sgpio_reg.cfg_1.blink_gen_b = 0x3;
66 sgpio_zhaoxin->sgpio_reg.cfg_1.blink_gen_c = 0x0;
67 sgpio_zhaoxin->sgpio_reg.cfg_1.stretch_act_on = 0;
68 sgpio_zhaoxin->sgpio_reg.cfg_1.stretch_act_off = 0;
69 sgpio_zhaoxin->sgpio_reg.cfg_1.max_act_on = 2;
70 sgpio_zhaoxin->sgpio_reg.cfg_1.force_act_off = 1;
71
72 sgpio_zhaoxin->sgpio_reg.gp_transmit_cfg.sload = 0xf;
73 sgpio_zhaoxin->sgpio_reg.gp_transmit_cfg.count = 0x0;
74
75 sgpio_zhaoxin->sgpio_reg.transmit_0.sgpio_tx_0 = 0;
76 sgpio_zhaoxin->sgpio_reg.transmit_1.sgpio_tx_1 = 0;
77 sgpio_zhaoxin->sgpio_reg.gp_transmit_reg.sgpio_tx_gp = 0;
78
79 sgpio_zhaoxin->sgpio_reg.receive_reg.sgpio_rx = 0x07070707;
80 sgpio_zhaoxin->sgpio_reg.gp_receive_reg.sgpio_rx_gp = 0;
81
82 /*Setup SGPIO type*/
83 read = readl(mmio + sgpio_zhaoxin->em_loc);
84 read = read | SGPIO_MESSAGE_HEAD; /*LED register MSG_HEAD, select SGPIO*/
85 writel(read, mmio + sgpio_zhaoxin->em_loc);
86
87 /*Setup gp mode*/
88 writel(sgpio_zhaoxin->sgpio_reg.gp_transmit_cfg.sgpio_tx_gp_cfg, em_mmio + 0x38);
89
90 /*Initial SGPIO CFG1*/
91 writel(sgpio_zhaoxin->sgpio_reg.cfg_1.sgpio_cfg_1, em_mmio + 0x4);
92
93 /*Initial SGPIO CFG0*/
94 read = readl(em_mmio);
95 read |= sgpio_zhaoxin->sgpio_reg.cfg_0.sgpio_cfg_0;
96 writel(read, em_mmio);
97 }
98
> 99 void ahci_zhaoxin_set_em_sgpio_gpmode(struct sgpio_zhaoxin *sgpio_zhaoxin)
100 {
101 void __iomem *mmio = sgpio_zhaoxin->mmio;
102 void __iomem *em_mmio = mmio + SGPIO_OFFSET;
103 u32 read;
104
105 sgpio_zhaoxin->sgpio_reg.cfg_0.enable = 1;
106
107 sgpio_zhaoxin->sgpio_reg.gp_transmit_cfg.sload = 0xf;
108 sgpio_zhaoxin->sgpio_reg.gp_transmit_cfg.count = 0xff;
109
110 sgpio_zhaoxin->sgpio_reg.transmit_0.sgpio_tx_0 = 0;
111 sgpio_zhaoxin->sgpio_reg.transmit_1.sgpio_tx_1 = 0;
112 sgpio_zhaoxin->sgpio_reg.gp_transmit_reg.sgpio_tx_gp = 0;
113
114 sgpio_zhaoxin->sgpio_reg.receive_reg.sgpio_rx = 0;
115 sgpio_zhaoxin->sgpio_reg.gp_receive_reg.sgpio_rx_gp = 0xff0f0000;
116
117 /*Setup SGPIO type*/
118 read = readl(mmio + sgpio_zhaoxin->em_loc);
119 read |= SGPIO_MESSAGE_HEAD;
120 writel(read, mmio + sgpio_zhaoxin->em_loc);
121
122 /*Setup gp mode*/
123 writel(sgpio_zhaoxin->sgpio_reg.gp_transmit_cfg.sgpio_tx_gp_cfg, em_mmio + 0x38);
124
125 /*Enable SGPIO*/
126 writel(sgpio_zhaoxin->sgpio_reg.cfg_0.sgpio_cfg_0, em_mmio);
127 }
128
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1328/1328] drivers/clocksource/arm_arch_timer.c:554:44: error: 'hisi_161010101_read_cntvct_el0' undeclared
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
Hi Yang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 400eaf3b33d125cc5fae6b621d5a6ff6be0b8892
commit: e63b4759933f6a5c5ce6cdc1d11c7bf2201d0612 [1328/1328] arm64: arch_timer: only do cntvct workaround on VDSO path on D05
config: arm64-randconfig-004-20241217 (https://download.01.org/0day-ci/archive/20241217/202412171325.Cz4KRdST-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241217/202412171325.Cz4KRdST-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412171325.Cz4KRdST-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/clocksource/arm_arch_timer.c: In function 'arch_timer_enable_workaround':
>> drivers/clocksource/arm_arch_timer.c:554:44: error: 'hisi_161010101_read_cntvct_el0' undeclared (first use in this function)
554 | if (wa->read_cntvct_el0 == hisi_161010101_read_cntvct_el0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/clocksource/arm_arch_timer.c:554:44: note: each undeclared identifier is reported only once for each function it appears in
vim +/hisi_161010101_read_cntvct_el0 +554 drivers/clocksource/arm_arch_timer.c
527
528 static
529 void arch_timer_enable_workaround(const struct arch_timer_erratum_workaround *wa,
530 bool local)
531 {
532 int i;
533
534 if (local) {
535 __this_cpu_write(timer_unstable_counter_workaround, wa);
536 } else {
537 for_each_possible_cpu(i)
538 per_cpu(timer_unstable_counter_workaround, i) = wa;
539 }
540
541 /*
542 * Use the locked version, as we're called from the CPU
543 * hotplug framework. Otherwise, we end-up in deadlock-land.
544 */
545 static_branch_enable_cpuslocked(&arch_timer_read_ool_enabled);
546
547 /*
548 * Don't use the vdso fastpath if errata require using the
549 * out-of-line counter accessor. We may change our mind pretty
550 * late in the game (with a per-CPU erratum, for example), so
551 * change both the default value and the vdso itself.
552 */
553 if (wa->read_cntvct_el0) {
> 554 if (wa->read_cntvct_el0 == hisi_161010101_read_cntvct_el0) {
555 clocksource_counter.archdata.vdso_direct = true;
556 vdso_default = true;
557 vdso_fix = true;
558 } else {
559 clocksource_counter.archdata.vdso_direct = false;
560 vdso_default = false;
561 }
562 }
563 }
564
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1640/1640] kismet: WARNING: unmet direct dependencies detected for CRYPTO_DRBG_CTR when selected by CRYPTO_DEV_HISI_TRNG
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 6a6a6975db65b9cd2f1ac3466f652ea1c8ee2d61
commit: e623afb45e58ded6b45cc4f0ac6c19b3736c96f9 [1640/1640] crypto: hisilicon/trng - support to obtain random numbers from soft algorithm
config: arm64-kismet-CONFIG_CRYPTO_DRBG_CTR-CONFIG_CRYPTO_DEV_HISI_TRNG-0-0 (https://download.01.org/0day-ci/archive/20241217/202412171218.lNxqN817-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20241217/202412171218.lNxqN817-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412171218.lNxqN817-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for CRYPTO_DRBG_CTR when selected by CRYPTO_DEV_HISI_TRNG
WARNING: unmet direct dependencies detected for CRYPTO_DRBG_CTR
Depends on [n]: CRYPTO [=y] && CRYPTO_DRBG_MENU [=n]
Selected by [y]:
- CRYPTO_DEV_HISI_TRNG [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && ARM64 [=y] && ACPI [=y]
WARNING: unmet direct dependencies detected for PGP_PRELOAD
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n]
Selected by [y]:
- PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y]
WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE
Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y]
Selected by [y]:
- ARM64 [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 415/415] arch/arm64/kernel/cpufeature.c:1287:9: error: 'a32_elf_hwcap2' undeclared; did you mean 'elf_hwcap'?
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
Hi James,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: c61b557e10db1fc3739c4004839a13ab61992e3e
commit: 6dfc76f160cb5e8bf25cb85d4763cdc3144bfda8 [415/415] arm64: errata: Remove AES hwcap for COMPAT tasks
config: arm64-randconfig-r112-20240401 (https://download.01.org/0day-ci/archive/20241217/202412171157.Byg5cMtg-lkp@…)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241217/202412171157.Byg5cMtg-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412171157.Byg5cMtg-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/cpufeature.c:1287:9: sparse: sparse: undefined identifier 'a32_elf_hwcap2'
arch/arm64/kernel/cpufeature.c: In function 'elf_hwcap_fixup':
>> arch/arm64/kernel/cpufeature.c:1287:9: error: 'a32_elf_hwcap2' undeclared (first use in this function); did you mean 'elf_hwcap'?
1287 | a32_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
| ^~~~~~~~~~~~~~
| elf_hwcap
arch/arm64/kernel/cpufeature.c:1287:9: note: each undeclared identifier is reported only once for each function it appears in
vim +1287 arch/arm64/kernel/cpufeature.c
1282
1283 static void elf_hwcap_fixup(void)
1284 {
1285 #ifdef CONFIG_ARM64_ERRATUM_1742098
1286 if (cpus_have_const_cap(ARM64_WORKAROUND_1742098))
> 1287 a32_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
1288 #endif /* ARM64_ERRATUM_1742098 */
1289 }
1290
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
David Hildenbrand (1):
mm/filemap: don't call folio_test_locked() without a reference in
next_uptodate_folio()
Hugh Dickins (1):
mm: shmem: fix ShmemHugePages at swapout
Kalesh Singh (1):
mm: respect mmap hint address when aligning for THP
Matthew Wilcox (Oracle) (2):
mm: open-code page_folio() in dump_page()
mm: open-code PageTail in folio_flags() and const_folio_flags()
include/linux/page-flags.h | 2 +-
mm/debug.c | 7 +++++--
mm/filemap.c | 4 ++--
mm/mmap.c | 3 ++-
mm/shmem.c | 22 ++++++++++++----------
5 files changed, 22 insertions(+), 16 deletions(-)
--
2.34.1
2
6

[PATCH OLK-5.10] watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
by Luo Gengkun 17 Dec '24
by Luo Gengkun 17 Dec '24
17 Dec '24
From: Thomas Gleixner <tglx(a)linutronix.de>
stable inclusion
from stable-v5.10.224
commit 19f108b3d1cafab159078a26ac93a64cab47258b
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBBONJ
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit f944ffcbc2e1c759764850261670586ddf3bdabb upstream.
For systems on which the performance counter can expire early due to turbo
modes the watchdog handler has a safety net in place which validates that
since the last watchdog event there has at least 4/5th of the watchdog
period elapsed.
This works reliably only after the first watchdog event because the per
CPU variable which holds the timestamp of the last event is never
initialized.
So a first spurious event will validate against a timestamp of 0 which
results in a delta which is likely to be way over the 4/5 threshold of the
period. As this might happen before the first watchdog hrtimer event
increments the watchdog counter, this can lead to false positives.
Fix this by initializing the timestamp before enabling the hardware event.
Reset the rearm counter as well, as that might be non zero after the
watchdog was disabled and reenabled.
Link: https://lkml.kernel.org/r/87frsfu15a.ffs@tglx
Fixes: 7edaeb6841df ("kernel/watchdog: Prevent false positives with turbo modes")
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Arjan van de Ven <arjan(a)linux.intel.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Conflicts:
kernel/watchdog_hld.c
[Fix context conflicts]
Signed-off-by: Luo Gengkun <luogengkun2(a)huawei.com>
---
kernel/watchdog_hld.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/kernel/watchdog_hld.c b/kernel/watchdog_hld.c
index cb7053a6ba49..e4f158f56eda 100644
--- a/kernel/watchdog_hld.c
+++ b/kernel/watchdog_hld.c
@@ -290,11 +290,15 @@ void refresh_hld_last_timestamp(void)
__this_cpu_write(last_timestamp, now);
}
-#else
-static inline bool watchdog_check_timestamp(void)
+
+static void watchdog_init_timestamp(void)
{
- return true;
+ __this_cpu_write(nmi_rearmed, 0);
+ __this_cpu_write(last_timestamp, ktime_get_mono_fast_ns());
}
+#else
+static inline bool watchdog_check_timestamp(void) { return true; }
+static inline void watchdog_init_timestamp(void) { }
#endif
void watchdog_hardlockup_check(struct pt_regs *regs)
@@ -416,6 +420,7 @@ void hardlockup_detector_perf_enable(void)
if (!atomic_fetch_inc(&watchdog_cpus))
pr_info("Enabled. Permanently consumes one hw-PMU counter.\n");
+ watchdog_init_timestamp();
perf_event_enable(this_cpu_read(watchdog_ev));
}
--
2.34.1
2
1

[openeuler:OLK-6.6] BUILD REGRESSION 6a6a6975db65b9cd2f1ac3466f652ea1c8ee2d61
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 6a6a6975db65b9cd2f1ac3466f652ea1c8ee2d61 !14143 KVM:arm64:Add a kvm parameter to control guest wfi trapping
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-defconfig
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- arm64-randconfig-001-20241216
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- arm64-randconfig-002-20241216
| |-- instantiation:error:expected-absolute-expression
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-003-20241216
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-004-20241216
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-051-20241216
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-052-20241216
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-053-20241216
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-054-20241216
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-055-20241216
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- loongarch-alldefconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allmodconfig
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:mp_ops-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-paravt_steal_clock
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-parse_no_stealacc
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_cpu_reboot
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_disable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_enable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_nb
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_notify
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_down_prepare
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_online
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_init
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-steal_acc
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:Function-parameter-or-member-ivrs-not-described-in-get_highest_supported_ivhd_type
| |-- drivers-iommu-loongarch_iommu.c:warning:la_iommu_setup-defined-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-check_device_compat
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-create_rlookup_entry
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_attach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_deattach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-find_iommu_by_dev
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-get_iommu_info_from_dom
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-iommu_init_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-la_iommu_probe_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-lookup_rlooptable
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-loongarch_get_iommu_by_devid
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:u-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- include-linux-init.h:error:redefinition-of-parse_no_stealacc
| |-- include-linux-init.h:error:redefinition-of-str_parse_no_stealacc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allyesconfig
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:mp_ops-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-paravt_steal_clock
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-parse_no_stealacc
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_cpu_reboot
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_disable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_enable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_nb
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_notify
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_down_prepare
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_online
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_init
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-steal_acc
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:Function-parameter-or-member-ivrs-not-described-in-get_highest_supported_ivhd_type
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-check_device_compat
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-create_rlookup_entry
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_attach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_deattach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-find_iommu_by_dev
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-get_iommu_info_from_dom
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-iommu_init_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-la_iommu_probe_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-lookup_rlooptable
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-loongarch_get_iommu_by_devid
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:u-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- include-linux-init.h:error:redefinition-of-parse_no_stealacc
| |-- include-linux-init.h:error:redefinition-of-str_parse_no_stealacc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_stream_read
|-- loongarch-defconfig
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:Function-parameter-or-member-ivrs-not-described-in-get_highest_supported_ivhd_type
| |-- drivers-iommu-loongarch_iommu.c:warning:la_iommu_setup-defined-but-not-used
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-check_device_compat
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-create_rlookup_entry
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_attach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-domain_deattach_iommu
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-find_iommu_by_dev
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-get_iommu_info_from_dom
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-iommu_init_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-la_iommu_probe_device
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-lookup_rlooptable
| |-- drivers-iommu-loongarch_iommu.c:warning:no-previous-prototype-for-loongarch_get_iommu_by_devid
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- loongarch-randconfig-001-20241216
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:mp_ops-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-paravt_steal_clock
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-parse_no_stealacc
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_cpu_reboot
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_disable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_enable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_nb
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_notify
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_down_prepare
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_online
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_init
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-steal_acc
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-init.h:error:redefinition-of-parse_no_stealacc
| |-- include-linux-init.h:error:redefinition-of-str_parse_no_stealacc
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-r111-20241210
| |-- drivers-pci-controller-pci-loongson.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-void-volatile
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-__iomem-addr-got-char-preg
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-__iomem-addr-got-void
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-__iomem-addr-got-void-static-p
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-char-preg
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-void
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-void-static-p
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-char-penv-got-void-noderef-__iomem
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-char-preg-got-void-noderef-__iomem
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-static-p-got-void-noderef-__iomem
| |-- drivers-video-fbdev-ls2k500sfb.c:sparse:sparse:symbol-ls2k500sfb_interrupt-was-not-declared.-Should-it-be-static
| `-- kernel-sched-fair.c:sparse:sparse:symbol-sysctl_sched_util_low_pct-was-not-declared.-Should-it-be-static
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allyesconfig
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-sm3_generic_block_fn
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_finup
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_update
| |-- arch-x86-crypto-sm4-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-gmi_sm4_set_key
| |-- arch-x86-kernel-cpu-hygon.c:warning:no-previous-prototype-for-function-get_nt_block_copy_mini_len
| |-- arch-x86-kernel-cpu-hygon.c:warning:no-previous-prototype-for-function-set_c86_features_para_invalid
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- arch-x86-kernel-fpu-core.c:warning:no-previous-prototype-for-function-get_fpustate_free_space
| |-- arch-x86-kvm-svm-csv.c:warning:no-previous-prototype-for-function-csv_vm_attestation
| |-- arch-x86-kvm-svm-sev.c:warning:no-previous-prototype-for-function-sev_install_hooks
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-crypto-montage-tsse-tsse_ipc_api.c:warning:variable-device_handle-is-uninitialized-when-used-here
| |-- drivers-gpu-drm-amd-amdgpu-..-amdkfd-kfd_topology.c:warning:stack-frame-size-()-exceeds-limit-()-in-kfd_topology_add_device
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-calcs-dcn_calc_auto.c:warning:stack-frame-size-()-exceeds-limit-()-in-mode_support_and_system_configuration
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-dcn30-display_mode_vba_30.c:warning:stack-frame-size-()-exceeds-limit-()-in-dml30_ModeSupportAndSystemConfigurationFull
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
|-- x86_64-buildonly-randconfig-001-20241216
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241216
| |-- drivers-crypto-ccp-hygon-hct.c:error:struct-device-has-no-member-named-numa_node
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:setup_max_cpus-undeclared-(first-use-in-this-function)
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-003-20241216
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-004-20241216
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- kernel-sched-isolation.c:error:use-of-undeclared-identifier-setup_max_cpus
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-005-20241216
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-006-20241216
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:use-of-undeclared-identifier-setup_max_cpus
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-defconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
`-- x86_64-randconfig-161-20241217
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
|-- mm-kasan-kasan_test.c-rcu_uaf_reclaim()-error:dereferencing-freed-memory-fp-(line-)
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 723m
configs tested: 22
configs skipped: 123
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 defconfig gcc-14.2.0
arm64 randconfig-001-20241216 gcc-14.2.0
arm64 randconfig-002-20241216 clang-20
arm64 randconfig-003-20241216 gcc-14.2.0
arm64 randconfig-004-20241216 clang-15
loongarch alldefconfig gcc-14.2.0
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
loongarch defconfig gcc-14.2.0
loongarch randconfig-001-20241216 gcc-14.2.0
loongarch randconfig-002-20241216 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241216 gcc-12
x86_64 buildonly-randconfig-002-20241216 gcc-12
x86_64 buildonly-randconfig-003-20241216 clang-19
x86_64 buildonly-randconfig-004-20241216 clang-19
x86_64 buildonly-randconfig-005-20241216 clang-19
x86_64 buildonly-randconfig-006-20241216 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1320/1320] fs/f2fs/recovery.o: warning: objtool: missing symbol for section .init.text
by kernel test robot 17 Dec '24
by kernel test robot 17 Dec '24
17 Dec '24
Hi Chao,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 098a595b2caf96f57cda68f082b4dc0019d7814d
commit: 21d0fe9fd291eec496a4c174924ea645ed5d7b9e [1320/1320] f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
config: x86_64-buildonly-randconfig-006 (https://download.01.org/0day-ci/archive/20241217/202412170555.tG86Dqq4-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241217/202412170555.tG86Dqq4-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412170555.tG86Dqq4-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/f2fs/recovery.c:12:
In file included from include/linux/f2fs_fs.h:14:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
>> fs/f2fs/recovery.o: warning: objtool: missing symbol for section .init.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS] BUILD REGRESSION 098a595b2caf96f57cda68f082b4dc0019d7814d
by kernel test robot 16 Dec '24
by kernel test robot 16 Dec '24
16 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
branch HEAD: 098a595b2caf96f57cda68f082b4dc0019d7814d !14147 CVE-2024-53142
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412161346.WAg6a7B0-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412161417.Nk6TMs2D-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412161514.E1aRqHqY-lkp@intel.com
kernel/sched/core.c:5845:9: error: implicit declaration of function 'tg_update_affinity_domains' [-Werror=implicit-function-declaration]
kernel/sched/core.c:5976:9: error: implicit declaration of function 'init_auto_affinity'; did you mean 'irq_set_affinity'? [-Werror=implicit-function-declaration]
mm/memory.c:1546:10: error: implicit declaration of function 'hugetlb_insert_hugepage_pte_by_pa' [-Werror,-Wimplicit-function-declaration]
mm/memory.c:1546:24: error: implicit declaration of function 'hugetlb_insert_hugepage_pte_by_pa'; did you mean 'hugetlb_insert__hugepage_pte_by_pa'? [-Werror=implicit-function-declaration]
mm/vmscan.c:3257:21: error: implicit declaration of function 'kernel_swap_enabled' [-Werror,-Wimplicit-function-declaration]
mm/vmscan.c:3257:28: error: implicit declaration of function 'kernel_swap_enabled'; did you mean 'kernfs_ns_enabled'? [-Werror=implicit-function-declaration]
Unverified Error/Warning (likely false positive, kindly check if interested):
arch/x86/kernel/unwind_orc.o: warning: objtool: missing symbol for section .text
block/bfq-wf2q.o: warning: objtool: missing symbol for section .text
drivers/crypto/ccree/cc_debugfs.o: warning: objtool: missing symbol for section .text
drivers/crypto/ccree/cc_hash.o: warning: objtool: missing symbol for section .init.text
drivers/hwtracing/intel_th/debug.o: warning: objtool: missing symbol for section .text
drivers/input/rmi4/rmi_2d_sensor.o: warning: objtool: missing symbol for section .text
drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.o: warning: objtool: x_tune_dvbt2_demod_setting()+0x939: can't find switch jump table
drivers/media/usb/as102/as102_fw.o: warning: objtool: missing symbol for section .text
drivers/media/usb/as102/as10x_cmd.o: warning: objtool: missing symbol for section .text
drivers/media/usb/as102/as10x_cmd_cfg.o: warning: objtool: missing symbol for section .text
drivers/media/usb/as102/as10x_cmd_stream.o: warning: objtool: missing symbol for section .text
drivers/media/usb/uvc/uvc_entity.o: warning: objtool: missing symbol for section .text
drivers/misc/uacce/uacce.c:739:13: error: implicit declaration of function 'module_refcount' [-Werror=implicit-function-declaration]
drivers/usb/dwc2/hcd_ddma.o: warning: objtool: missing symbol for section .text
drivers/usb/dwc2/hcd_queue.c:1744:25: error: expression requires 'long double' type support, but target 'x86_64-unknown-linux' does not support it
fs/cifs/cifssmb.c:2722:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
kernel/gcov/base.o: warning: objtool: missing symbol for section .text
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| `-- drivers-scsi-ufs-ufs-qcom.c:error:Cannot-parse-struct-or-union
|-- arm64-allnoconfig
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains
| |-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled
|-- arm64-defconfig
| `-- net-ipv4-route.c:warning:array-subscript-is-outside-array-bounds-of-struct-fib_nh
|-- arm64-randconfig-001-20241216
| |-- drivers-misc-uacce-uacce.c:error:implicit-declaration-of-function-module_refcount
| |-- drivers-nvme-host-core.c:error:compat_uptr_t-undeclared-(first-use-in-this-function)
| |-- drivers-nvme-host-core.c:error:expected-before-ptrval
| |-- fs-cifs-cifssmb.c:warning:writing-byte-into-a-region-of-size
| `-- net-ipv4-route.c:warning:array-subscript-is-outside-array-bounds-of-struct-fib_nh
|-- arm64-randconfig-003-20241216
| |-- arch-arm64-include-asm-atomic_lse.h:warning:array-subscript-long-unsigned-int-is-partly-outside-array-bounds-of-struct-sk_buff_head
| |-- drivers-nvme-host-core.c:error:compat_uptr_t-undeclared-(first-use-in-this-function)
| `-- drivers-nvme-host-core.c:error:expected-before-ptrval
|-- arm64-randconfig-004-20241216
| |-- drivers-nvme-host-core.c:error:compat_uptr_t-undeclared-(first-use-in-this-function)
| `-- drivers-nvme-host-core.c:error:expected-before-ptrval
|-- arm64-randconfig-r112-20240401
| |-- drivers-bus-hisi_lpc.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-unsigned-char-mbase-got-void-noderef-asn-membase
| |-- drivers-bus-hisi_lpc.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-unsigned-char
| |-- drivers-gpu-drm-amd-amdgpu-amdgpu_debugfs.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-signed-int-noderef-asn-got-signed-int-usertype
| |-- drivers-gpu-drm-amd-amdgpu-amdgpu_debugfs.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-unsigned-int-noderef-asn-got-unsigned-int-usertype
| |-- drivers-gpu-drm-msm-adreno-a6xx_gmu.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-volatile-noderef-asn-addr-got-void
| |-- drivers-gpu-drm-msm-adreno-a6xx_gmu.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-noderef-mmio-got-void-noderef-asn
| |-- drivers-gpu-drm-msm-adreno-a6xx_gmu.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-noderef-pdc_mmio-got-void-noderef-asn
| |-- drivers-gpu-drm-msm-adreno-a6xx_gmu.h:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-asn-addr-got-void
| |-- drivers-gpu-drm-msm-adreno-a6xx_gmu.h:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-addr-got-void
| |-- drivers-gpu-drm-nouveau-nouveau_fence.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-nouveau_channel-chan-got-struct-nouveau_channel-noderef-asn-channel
| |-- drivers-md-bcache-request.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-asn-from-got-struct-set_bcache_status
| |-- drivers-md-bcache-request.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-struct-get_bcache_status
| |-- drivers-misc-aspeed-lpc-snoop.c:sparse:sparse:incorrect-type-in-initializer-(different-base-types)-expected-restricted-__poll_t-(-poll-)(-...-)-got-unsigned-int-(-)(-...-)
| |-- drivers-mtd-nand-raw-hisi504_nand.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-got-void-noderef-asn-mmio
| |-- drivers-mtd-nand-raw-jz4740_nand.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-base-got-void-noderef-asn
| |-- drivers-mtd-nand-raw-jz4740_nand.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-noderef-asn-got-void-noderef-asn
| |-- drivers-pci-controller-hisi-pcie-customer-hisi_pcie_cae.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-to-got-void
| |-- drivers-staging-gasket-gasket_page_table.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-cpu_addr-got-unsigned-char-noderef-usertype-asn-virt_base
| |-- drivers-staging-gasket-gasket_page_table.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-asn-virt_base-got-void-assigned-mem
| |-- drivers-vfio-vfio_iommu_type1.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-asn-assigned-arg-got-void
| |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_in-got-long-long-usertype-assigned-poff_in
| |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-long-long-noderef-usertype-asn-off_out-got-long-long-usertype-assigned-poff_out
| |-- fs-io_uring.c:sparse:sparse:incorrect-type-in-return-expression-(different-address-spaces)-expected-void-noderef-asn-got-struct-io_buffer-assigned-kbuf
| |-- include-linux-uaccess.h:warning:GetHealthStatus-may-be-used-uninitialized
| |-- include-linux-uaccess.h:warning:UserCommand-may-be-used-uninitialized
| `-- include-linux-uaccess.h:warning:ibuf-may-be-used-uninitialized
|-- x86_64-allyesconfig
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_extension-hns3_enet_it.c:warning:no-previous-prototype-for-function-hns3_nic_select_queue_it
| `-- samples-vfio-mdev-.tmp_mdpy-fb.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-003-20241216
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity-Werror-Wimplicit-function-declaration
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains-Werror-Wimplicit-function-declaration
| `-- mm-memory.c:error:implicit-declaration-of-function-hugetlb_insert_hugepage_pte_by_pa-Werror-Wimplicit-function-declaration
|-- x86_64-buildonly-randconfig-004-20241216
| |-- arch-x86-kernel-unwind_orc.o:warning:objtool:missing-symbol-for-section-.text
| |-- block-bfq-wf2q.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-char-tpm-eventlog-of.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-crypto-ccree-cc_debugfs.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-crypto-ccree-cc_hash.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-hwtracing-intel_th-debug.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-input-rmi4-rmi_2d_sensor.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-media-dvb-frontends-cxd2880-cxd2880_tnrdmd_dvbt2.o:warning:objtool:x_tune_dvbt2_demod_setting:can-t-find-switch-jump-table
| |-- drivers-media-usb-as102-as102_fw.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-media-usb-as102-as1_cmd.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-media-usb-as102-as1_cmd_cfg.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-media-usb-as102-as1_cmd_stream.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-media-usb-uvc-uvc_entity.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-usb-dwc2-hcd_ddma.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-usb-dwc2-hcd_queue.c:error:expression-requires-long-double-type-support-but-target-x86_64-unknown-linux-does-not-support-it
| |-- kernel-gcov-base.o:warning:objtool:missing-symbol-for-section-.text
| `-- sound-core-seq-seq_queue.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-buildonly-randconfig-005-20241216
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity-Werror-Wimplicit-function-declaration
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains-Werror-Wimplicit-function-declaration
| `-- mm-vmscan.c:error:implicit-declaration-of-function-kernel_swap_enabled-Werror-Wimplicit-function-declaration
`-- x86_64-defconfig
|-- kernel-sched-pelt.o:warning:objtool:missing-symbol-for-section-.text
|-- net-ipv4-metrics.o:warning:objtool:missing-symbol-for-section-.text
`-- net-ipv4-netlink.o:warning:objtool:missing-symbol-for-section-.text
elapsed time: 723m
configs tested: 16
configs skipped: 119
tested configs:
arm64 allmodconfig gcc-14.2.0
arm64 allnoconfig gcc-14.2.0
arm64 defconfig gcc-14.2.0
arm64 randconfig-001-20241216 gcc-14.2.0
arm64 randconfig-002-20241216 gcc-14.2.0
arm64 randconfig-003-20241216 gcc-14.2.0
arm64 randconfig-004-20241216 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241216 gcc-12
x86_64 buildonly-randconfig-002-20241216 gcc-12
x86_64 buildonly-randconfig-003-20241216 clang-19
x86_64 buildonly-randconfig-004-20241216 clang-19
x86_64 buildonly-randconfig-005-20241216 clang-19
x86_64 buildonly-randconfig-006-20241216 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION dd14d8eb16732508135cd386c09cc747615571f7
by kernel test robot 16 Dec '24
by kernel test robot 16 Dec '24
16 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: dd14d8eb16732508135cd386c09cc747615571f7 !14180 xfs: allow inode inactivation during a ro mount log recovery
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412161357.rpwPDaPz-lkp@intel.com
drivers/misc/virt_plat_dev.c:37:43: warning: initialization of 'struct irq_domain *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-allnoconfig
| `-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
|-- arm64-randconfig-001-20241216
| |-- arch-arm64-kvm-hyp-nvhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| `-- arch-arm64-kvm-hyp-vhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
|-- arm64-randconfig-002-20241216
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-003-20241216
| |-- arch-arm64-kvm-hyp-nvhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- arch-arm64-kvm-hyp-vhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| `-- drivers-misc-virt_plat_dev.c:warning:initialization-of-struct-irq_domain-from-int-makes-pointer-from-integer-without-a-cast
|-- arm64-randconfig-004-20241216
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-051-20241216
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241216
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241216
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241216
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241216
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-allnoconfig
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_unic.c:warning:Function-parameter-or-member-skb-not-described-in-hns3_unic_set_l3_type
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_unic.c:warning:Function-parameter-or-member-type_cs_vlan_tso-not-described-in-hns3_unic_set_l3_type
| |-- drivers-net-ethernet-hisilicon-hns3-hns3pf-hclge_unic_guid.c:warning:no-previous-prototype-for-function-hclge_unic_del_mc_guid_common
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-has_mac-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-has_trans-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-headroom-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_common.h:warning:variable-tailroom-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_debugfs.c:warning:Excess-function-parameter-pf-description-in-rnp_dbg_adapter_exit
| |-- drivers-net-ethernet-mucse-rnp-rnp_debugfs.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_dbg_adapter_exit
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-cmd-description-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-cmd-description-in-rnp_set_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-ec-description-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_module_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_get_ts_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_set_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Excess-function-parameter-netdev-description-in-rnp_set_rxnfc
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-coal-not-described-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-data-not-described-in-rnp_reg_test
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_module_eeprom
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_module_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_get_ts_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_set_channels
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_set_rxnfc
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_get_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_set_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-extack-not-described-in-rnp_set_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-ker-not-described-in-rnp_get_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-ker-not-described-in-rnp_set_ringparam
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-kernel_coal-not-described-in-rnp_get_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_ethtool.c:warning:Function-parameter-or-member-kernel_coal-not-described-in-rnp_set_coalesce
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-inner_vlan_tag-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-l4_hdr_len-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-mss_seg_len-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-rxr_count-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-rxr_idx-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-tunnel_hdr_len-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-txr_count-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-txr_idx-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-type_tucmd-description-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Excess-function-parameter-v_count-description-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-crc_pad-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-eth_queue_idx-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-ignore_vlan-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-inner_vlan_tunnel_len-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-mss_len_vf_num-not-described-in-rnp_tx_ctxtdesc
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-r_count-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-r_idx-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:Function-parameter-or-member-step-not-described-in-rnp_alloc_q_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:no-previous-prototype-for-function-rnp_acquire_msix_vectors
| |-- drivers-net-ethernet-mucse-rnp-rnp_lib.c:warning:no-previous-prototype-for-function-rnp_print_ring_info
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-data-description-in-rnp_service_timer
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-ent-description-in-rnp_probe
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-hw-description-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-link_speed-description-in-rnp_watchdog_update_link
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-maxrate-description-in-rnp_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-msix_vector-description-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-netdev-description-in-rnp_setup_tc
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-netdev-description-in-rnp_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-queue-description-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-skb-description-in-rnp_is_non_eop
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Excess-function-parameter-subdev_id-description-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_rx_ring_reinit
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_setup_rx_resources
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_setup_tx_resources
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_tx_maxrate_own
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-adapter-not-described-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-dev-not-described-in-rnp_setup_tc
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-id-not-described-in-rnp_probe
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-napi_budget-not-described-in-rnp_clean_tx_irq
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-rnp_msix_vector-not-described-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-rnp_queue-not-described-in-rnp_set_ring_vector
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-subdevice_id-not-described-in-rnp_wol_supported
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-t-not-described-in-rnp_service_timer
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:Function-parameter-or-member-txqueue-not-described-in-rnp_tx_timeout
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_assign_netdev_ops
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_can_rpu_start
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_clear_udp_tunnel_port
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_config_knode
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_delete_knode
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_do_reset
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_rx_ring_reinit
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_service_task
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_service_timer
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_setup_tc_cls_u32
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_unmap_and_free_tx_resource
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_vlan_stags_flag
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_write_eitr_rx
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:no-previous-prototype-for-function-rnp_xmit_nop_frame_ring
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:variable-rxctrl-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_main.c:warning:variable-xdp_xmit-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnp_check_for_ack_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnp_check_for_msg_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Excess-function-parameter-vf_number-description-in-rnp_read_mbx_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnp_check_for_ack_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnp_check_for_msg_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx.c:warning:Function-parameter-or-member-mbx_id-not-described-in-rnp_read_mbx_pf
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Excess-function-parameter-rnp_info-description-in-rnp_mbx_get_capability
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-adv-not-described-in-rnp_mbx_phy_link_set
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-info-not-described-in-rnp_mbx_get_capability
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-pfvfnum-not-described-in-rnp_fw_get_macaddr
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value-not-described-in-rnp_mbx_reg_writev
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value0-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value1-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value2-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:Function-parameter-or-member-value3-not-described-in-rnp_set_lane_fun
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:no-previous-prototype-for-function-rnp_fw_reg_read
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:variable-err-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_mbx_fw.c:warning:variable-value-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Excess-function-parameter-hw-description-in-rnp_mac_fc_mode_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-hw-not-described-in-rnp_write_uc_addr_list_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-mac-not-described-in-rnp_mac_fc_mode_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-sriov_flag-not-described-in-rnp_eth_update_rss_key_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:Function-parameter-or-member-sriov_flag-not-described-in-rnp_write_uc_addr_list_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:equality-comparison-with-extraneous-parentheses
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp10_get_link_ksettings
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp10_set_link_ksettings
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_addr_list_itr
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_check_mac_link_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_clean_link_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_device_supports_autoneg_fc
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clear_rar_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clear_vmdq_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_all_layer2_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_all_tuple5_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_layer2_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_mc_addr_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_tuple5_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_clr_vfta_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_layer2_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_rar_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_tcp_sync_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_tuple5_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_vfta_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_set_vmdq_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_update_mc_addr_list_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_update_rss_key_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_eth_update_rss_table_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_get_permtion_mac_addr_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_get_thermal_sensor_data_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_init_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_init_thermal_sensor_thresh_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_layer2_pritologic_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_mac_fc_mode_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_mac_set_mac_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_nway_reset
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_phy_read_reg_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_phy_write_reg_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_reset_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_set_ethtool_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_set_vf_vlan_mode_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_setup_mac_link_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_start_hw_ops_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_tuple5_pritologic_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:no-previous-prototype-for-function-rnp_tuple5_pritologic_tcam_n10
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-autoneg_changed-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-dma_ch-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-duplex_changed-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_n10.c:warning:variable-idx-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_ptp.c:warning:no-previous-prototype-for-function-rnp_ptp_setup_ptp
| |-- drivers-net-ethernet-mucse-rnp-rnp_ptp.c:warning:variable-ts_event_en-set-but-not-used
| |-- drivers-net-ethernet-mucse-rnp-rnp_sriov.c:warning:no-previous-prototype-for-function-check_ari_mode
| |-- drivers-net-ethernet-mucse-rnp-rnp_sriov.c:warning:no-previous-prototype-for-function-rnp_msg_post_status_signle_link
| |-- drivers-net-ethernet-mucse-rnp-rnp_sysfs.c:warning:no-previous-prototype-for-function-rnp_mbx_get_pn_sn
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-003-20241216
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-buildonly-randconfig-004-20241216
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-buildonly-randconfig-005-20241216
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-buildonly-randconfig-006-20241216
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| |-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-defconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| `-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
`-- x86_64-randconfig-161-20241216
|-- drivers-ata-libata-eh.c-ata_eh_set_lpm()-warn:variable-dereferenced-before-check-ap-(see-line-)
|-- drivers-gpio-gpiolib.c-gpiochip_add_data_with_key()-error:dereferencing-freed-memory-gdev-(line-)
|-- drivers-media-i2c-s5c73m3-s5c73m3-core.c-__s5c73m3_power_off()-warn:state-clock-from-clk_prepare_enable()-not-released-on-lines:.
|-- drivers-media-i2c-s5c73m3-s5c73m3-core.c-__s5c73m3_s_stream()-warn:missing-error-code-ret
|-- drivers-scsi-sd.c-sd_spinup_disk()-warn:unsigned-the_result-is-never-less-than-zero.
|-- fs-zonefs-super.c-zonefs_file_dio_append()-error:uninitialized-symbol-size-.
|-- lib-test_kasan.c-kmalloc_uaf_16()-error:dereferencing-freed-memory-ptr2-(line-)
|-- lib-test_kasan.c-kmalloc_uaf_memset()-warn:passing-freed-memory-ptr-(line-)
`-- lib-test_kasan.c-kmem_cache_double_free()-error:double-free-of-p-(line-)
elapsed time: 722m
configs tested: 15
configs skipped: 117
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241216 gcc-14.2.0
arm64 randconfig-002-20241216 clang-20
arm64 randconfig-003-20241216 gcc-14.2.0
arm64 randconfig-004-20241216 clang-15
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241216 gcc-12
x86_64 buildonly-randconfig-002-20241216 gcc-12
x86_64 buildonly-randconfig-003-20241216 clang-19
x86_64 buildonly-randconfig-004-20241216 clang-19
x86_64 buildonly-randconfig-005-20241216 clang-19
x86_64 buildonly-randconfig-006-20241216 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

16 Dec '24
Merge LTS patches for openEuler-1.0-LTS
Greg Kroah-Hartman (1):
Revert "driver core: Fix uevent_show() vs driver detach race"
Hans Verkuil (1):
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
drivers/base/core.c | 13 +++++--------
drivers/base/module.c | 4 ----
include/uapi/linux/cec.h | 6 +++++-
3 files changed, 10 insertions(+), 13 deletions(-)
--
2.22.0
2
3

16 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB42W1
--------------------------------
Commit 7c254db98304 ("nfs: pass flags to second superblock") directly
assigns fc->sb_flags to dentry->d_sb->s_flags, which will cause the los
of the initialized flags in dentry->d_sb->s_flags.
Fix it by just passing SB_RDONLY from fc->sb_flags to
dentry->d_sb->s_flags.
Fixes: 7c254db98304 ("nfs: pass flags to second superblock")
Signed-off-by: Li Lingfeng <lilingfeng3(a)huawei.com>
---
fs/nfs/nfs4super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c
index bb13894ad152..e87f878178f3 100644
--- a/fs/nfs/nfs4super.c
+++ b/fs/nfs/nfs4super.c
@@ -209,7 +209,7 @@ static int do_nfs4_mount(struct nfs_server *server,
if (IS_ERR(dentry))
return PTR_ERR(dentry);
- dentry->d_sb->s_flags = fc->sb_flags;
+ dentry->d_sb->s_flags |= (fc->sb_flags & SB_RDONLY);
fc->root = dentry;
return 0;
}
--
2.31.1
2
1

[PATCH openEuler-1.0-LTS] nfs: fix the loss of superblock's initialized flags
by Li Lingfeng 16 Dec '24
by Li Lingfeng 16 Dec '24
16 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB42W1
--------------------------------
Commit 81102eb59247 ("nfs: pass flags to second superblock") directly
assigns fc->sb_flags to dentry->d_sb->s_flags, which will cause the loss
of the initialized flags in dentry->d_sb->s_flags.
Fix it by just passing SB_RDONLY from fc->sb_flags to
dentry->d_sb->s_flags.
Fixes: 81102eb59247 ("nfs: pass flags to second superblock")
Signed-off-by: Li Lingfeng <lilingfeng3(a)huawei.com>
---
fs/nfs/nfs4super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c
index 886be9cc0016..41cd3597e482 100644
--- a/fs/nfs/nfs4super.c
+++ b/fs/nfs/nfs4super.c
@@ -254,7 +254,7 @@ struct dentry *nfs4_try_mount(int flags, const char *dev_name,
res = nfs_follow_remote_path(root_mnt, export_path);
if (!IS_ERR(res))
- res->d_sb->s_flags = flags;
+ res->d_sb->s_flags |= (flags & SB_RDONLY);
dfprintk(MOUNT, "<-- nfs4_try_mount() = %d%s\n",
PTR_ERR_OR_ZERO(res),
IS_ERR(res) ? " [error]" : "");
--
2.31.1
2
1

16 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB42W1
--------------------------------
Commit 573573887e0b ("nfs: pass flags to second superblock") directly
assigns fc->sb_flags to dentry->d_sb->s_flags, which will cause the loss
of the initialized flags in dentry->d_sb->s_flags.
Fix it by just passing SB_RDONLY from fc->sb_flags to
dentry->d_sb->s_flags.
Fixes: 573573887e0b ("nfs: pass flags to second superblock")
Signed-off-by: Li Lingfeng <lilingfeng3(a)huawei.com>
---
fs/nfs/nfs4super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c
index bb13894ad152..e87f878178f3 100644
--- a/fs/nfs/nfs4super.c
+++ b/fs/nfs/nfs4super.c
@@ -209,7 +209,7 @@ static int do_nfs4_mount(struct nfs_server *server,
if (IS_ERR(dentry))
return PTR_ERR(dentry);
- dentry->d_sb->s_flags = fc->sb_flags;
+ dentry->d_sb->s_flags |= (fc->sb_flags & SB_RDONLY);
fc->root = dentry;
return 0;
}
--
2.31.1
2
1

[PATCH OLK-6.6] Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
by Yi Yang 16 Dec '24
by Yi Yang 16 Dec '24
16 Dec '24
From: Aurelien Jarno <aurelien(a)aurel32.net>
stable inclusion
from stable-v6.6.63
commit 56de724c58c07a7ca3aac027cfd2ccb184ed9e4e
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB9574
CVE: CVE-2024-53127
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit 1635e407a4a64d08a8517ac59ca14ad4fc785e75 upstream.
The commit 8396c793ffdf ("mmc: dw_mmc: Fix IDMAC operation with pages
bigger than 4K") increased the max_req_size, even for 4K pages, causing
various issues:
- Panic booting the kernel/rootfs from an SD card on Rockchip RK3566
- Panic booting the kernel/rootfs from an SD card on StarFive JH7100
- "swiotlb buffer is full" and data corruption on StarFive JH7110
At this stage no fix have been found, so it's probably better to just
revert the change.
This reverts commit 8396c793ffdf28bb8aee7cfe0891080f8cab7890.
Cc: stable(a)vger.kernel.org
Cc: Sam Protsenko <semen.protsenko(a)linaro.org>
Fixes: 8396c793ffdf ("mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K")
Closes: https://lore.kernel.org/linux-mmc/614692b4-1dbe-31b8-a34d-cb6db1909bb7@w6rz…
Closes: https://lore.kernel.org/linux-mmc/CAC8uq=Ppnmv98mpa1CrWLawWoPnu5abtU69v-=G-…
Signed-off-by: Aurelien Jarno <aurelien(a)aurel32.net>
Message-ID: <20241110114700.622372-1-aurelien(a)aurel32.net>
Signed-off-by: Ulf Hansson <ulf.hansson(a)linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Yi Yang <yiyang13(a)huawei.com>
---
drivers/mmc/host/dw_mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 2f0bc79ef856..02bee7afab37 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -2952,8 +2952,8 @@ static int dw_mci_init_slot(struct dw_mci *host)
if (host->use_dma == TRANS_MODE_IDMAC) {
mmc->max_segs = host->ring_size;
mmc->max_blk_size = 65535;
- mmc->max_req_size = DW_MCI_DESC_DATA_LENGTH * host->ring_size;
- mmc->max_seg_size = mmc->max_req_size;
+ mmc->max_seg_size = 0x1000;
+ mmc->max_req_size = mmc->max_seg_size * host->ring_size;
mmc->max_blk_count = mmc->max_req_size / 512;
} else if (host->use_dma == TRANS_MODE_EDMAC) {
mmc->max_segs = 64;
--
2.25.1
2
1

[openeuler:openEuler-1.0-LTS 1327/1327] mm/vmscan.c:3257:28: error: implicit declaration of function 'kernel_swap_enabled'; did you mean 'kernfs_ns_enabled'?
by kernel test robot 16 Dec '24
by kernel test robot 16 Dec '24
16 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 098a595b2caf96f57cda68f082b4dc0019d7814d
commit: 44983705e56ab22fda801d66e2a6bd0d1be7ca0b [1327/1327] etmem: add original kernel swap enabled options
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20241216/202412161514.E1aRqHqY-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161514.E1aRqHqY-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412161514.E1aRqHqY-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/vmscan.c: In function 'kernel_swap_check':
>> mm/vmscan.c:3257:28: error: implicit declaration of function 'kernel_swap_enabled'; did you mean 'kernfs_ns_enabled'? [-Werror=implicit-function-declaration]
3257 | if (sc != NULL && !kernel_swap_enabled())
| ^~~~~~~~~~~~~~~~~~~
| kernfs_ns_enabled
cc1: some warnings being treated as errors
vim +3257 mm/vmscan.c
3250
3251 /*
3252 * Check if original kernel swap is enabled
3253 * turn off kernel swap,but leave page cache reclaim on
3254 */
3255 static inline void kernel_swap_check(struct scan_control *sc)
3256 {
> 3257 if (sc != NULL && !kernel_swap_enabled())
3258 sc->may_swap = 0;
3259 }
3260
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1327/1327] mm/vmscan.c:3257:21: error: implicit declaration of function 'kernel_swap_enabled'
by kernel test robot 16 Dec '24
by kernel test robot 16 Dec '24
16 Dec '24
Hi liubo,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 098a595b2caf96f57cda68f082b4dc0019d7814d
commit: 44983705e56ab22fda801d66e2a6bd0d1be7ca0b [1327/1327] etmem: add original kernel swap enabled options
config: x86_64-buildonly-randconfig-005-20241216 (https://download.01.org/0day-ci/archive/20241216/202412161417.Nk6TMs2D-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161417.Nk6TMs2D-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412161417.Nk6TMs2D-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from mm/vmscan.c:23:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from mm/vmscan.c:33:
include/linux/mm_inline.h:32:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
32 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages);
| ~~~~~~~~~~~ ^ ~~~
include/linux/mm_inline.h:34:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
34 | NR_ZONE_LRU_BASE + lru, nr_pages);
| ~~~~~~~~~~~~~~~~ ^ ~~~
mm/vmscan.c:350:64: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
350 | lru_size = node_page_state(lruvec_pgdat(lruvec), NR_LRU_BASE + lru);
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:240:60: note: expanded from macro 'node_page_state'
240 | #define node_page_state(node, item) global_node_page_state(item)
| ^~~~
mm/vmscan.c:363:29: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
363 | NR_ZONE_LRU_BASE + lru);
| ~~~~~~~~~~~~~~~~ ^ ~~~
mm/vmscan.c:1776:4: warning: arithmetic between different enumeration types ('enum vm_event_item' and 'enum zone_type') [-Wenum-enum-conversion]
1776 | __count_zid_vm_events(PGSCAN_SKIP, zid, nr_skipped[zid]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:127:34: note: expanded from macro '__count_zid_vm_events'
127 | __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta)
| ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
mm/vmscan.c:2734:17: warning: variable 'node_lru_pages' set but not used [-Wunused-but-set-variable]
2734 | unsigned long node_lru_pages = 0;
| ^
mm/vmscan.c:3066:3: warning: arithmetic between different enumeration types ('enum vm_event_item' and 'enum zone_type') [-Wenum-enum-conversion]
3066 | __count_zid_vm_events(ALLOCSTALL, sc->reclaim_idx, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:127:34: note: expanded from macro '__count_zid_vm_events'
127 | __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta)
| ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
>> mm/vmscan.c:3257:21: error: implicit declaration of function 'kernel_swap_enabled' [-Werror,-Wimplicit-function-declaration]
3257 | if (sc != NULL && !kernel_swap_enabled())
| ^
mm/vmscan.c:3257:21: note: did you mean 'kernfs_ns_enabled'?
include/linux/kernfs.h:309:20: note: 'kernfs_ns_enabled' declared here
309 | static inline bool kernfs_ns_enabled(struct kernfs_node *kn)
| ^
8 warnings and 1 error generated.
vim +/kernel_swap_enabled +3257 mm/vmscan.c
3250
3251 /*
3252 * Check if original kernel swap is enabled
3253 * turn off kernel swap,but leave page cache reclaim on
3254 */
3255 static inline void kernel_swap_check(struct scan_control *sc)
3256 {
> 3257 if (sc != NULL && !kernel_swap_enabled())
3258 sc->may_swap = 0;
3259 }
3260
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-5.10] watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
by Luo Gengkun 16 Dec '24
by Luo Gengkun 16 Dec '24
16 Dec '24
From: Thomas Gleixner <tglx(a)linutronix.de>
stable inclusion
from stable-v5.10.224
commit 19f108b3d1cafab159078a26ac93a64cab47258b
category: bugfix
bugzilla: 189268
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit f944ffcbc2e1c759764850261670586ddf3bdabb upstream.
For systems on which the performance counter can expire early due to turbo
modes the watchdog handler has a safety net in place which validates that
since the last watchdog event there has at least 4/5th of the watchdog
period elapsed.
This works reliably only after the first watchdog event because the per
CPU variable which holds the timestamp of the last event is never
initialized.
So a first spurious event will validate against a timestamp of 0 which
results in a delta which is likely to be way over the 4/5 threshold of the
period. As this might happen before the first watchdog hrtimer event
increments the watchdog counter, this can lead to false positives.
Fix this by initializing the timestamp before enabling the hardware event.
Reset the rearm counter as well, as that might be non zero after the
watchdog was disabled and reenabled.
Link: https://lkml.kernel.org/r/87frsfu15a.ffs@tglx
Fixes: 7edaeb6841df ("kernel/watchdog: Prevent false positives with turbo modes")
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Arjan van de Ven <arjan(a)linux.intel.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Conflicts:
kernel/watchdog_hld.c
[Fix context conflicts]
Signed-off-by: Luo Gengkun <luogengkun2(a)huawei.com>
---
kernel/watchdog_hld.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/kernel/watchdog_hld.c b/kernel/watchdog_hld.c
index cb7053a6ba49..e4f158f56eda 100644
--- a/kernel/watchdog_hld.c
+++ b/kernel/watchdog_hld.c
@@ -290,11 +290,15 @@ void refresh_hld_last_timestamp(void)
__this_cpu_write(last_timestamp, now);
}
-#else
-static inline bool watchdog_check_timestamp(void)
+
+static void watchdog_init_timestamp(void)
{
- return true;
+ __this_cpu_write(nmi_rearmed, 0);
+ __this_cpu_write(last_timestamp, ktime_get_mono_fast_ns());
}
+#else
+static inline bool watchdog_check_timestamp(void) { return true; }
+static inline void watchdog_init_timestamp(void) { }
#endif
void watchdog_hardlockup_check(struct pt_regs *regs)
@@ -416,6 +420,7 @@ void hardlockup_detector_perf_enable(void)
if (!atomic_fetch_inc(&watchdog_cpus))
pr_info("Enabled. Permanently consumes one hw-PMU counter.\n");
+ watchdog_init_timestamp();
perf_event_enable(this_cpu_read(watchdog_ev));
}
--
2.34.1
2
1

[openeuler:openEuler-1.0-LTS 1327/1327] mm/memory.c:1546:24: error: implicit declaration of function 'hugetlb_insert_hugepage_pte_by_pa'; did you mean 'hugetlb_insert__hugepage_pte_by_pa'?
by kernel test robot 16 Dec '24
by kernel test robot 16 Dec '24
16 Dec '24
Hi Weilong,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 098a595b2caf96f57cda68f082b4dc0019d7814d
commit: 18f49509eef01d1ee6ed81899298994f2f88dd2a [1327/1327] ascend: share_pool: Use remap_pfn_range to share kva to uva
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20241216/202412161346.WAg6a7B0-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161346.WAg6a7B0-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412161346.WAg6a7B0-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/memory.c: In function 'vm_insert_page':
>> mm/memory.c:1546:24: error: implicit declaration of function 'hugetlb_insert_hugepage_pte_by_pa'; did you mean 'hugetlb_insert__hugepage_pte_by_pa'? [-Werror=implicit-function-declaration]
1546 | return hugetlb_insert_hugepage_pte_by_pa(vma->vm_mm, addr,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| hugetlb_insert__hugepage_pte_by_pa
In file included from arch/arm64/include/asm/atomic.h:36,
from include/linux/atomic.h:7,
from include/asm-generic/bitops/atomic.h:5,
from arch/arm64/include/asm/bitops.h:37,
from include/linux/bitops.h:19,
from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/smp.h:12,
from include/linux/kernel_stat.h:5,
from mm/memory.c:41:
In function '__cmpxchg_case_acq_4',
inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
inlined from 'copy_one_pte' at mm/memory.c:731:5,
inlined from 'copy_pte_range' at mm/memory.c:869:15:
arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
259 | asm volatile( \
| ^~~
arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
283 | __CMPXCHG_CASE(w, , acq_4, , a, , "memory")
| ^~~~~~~~~~~~~~
In file included from mm/memory.c:46:
include/linux/sched/task.h: In function 'copy_pte_range':
include/linux/sched/task.h:23:19: note: object 'mmlist_lock' of size 4
23 | extern spinlock_t mmlist_lock;
| ^~~~~~~~~~~
In function '__cmpxchg_case_acq_4',
inlined from '__cmpxchg_acq' at arch/arm64/include/asm/cmpxchg.h:141:1,
inlined from 'queued_spin_lock' at include/asm-generic/qspinlock.h:85:8,
inlined from 'do_raw_spin_lock' at include/linux/spinlock.h:180:2,
inlined from '__raw_spin_lock' at include/linux/spinlock_api_smp.h:143:2,
inlined from 'spin_lock' at include/linux/spinlock.h:329:2,
inlined from 'copy_one_pte' at mm/memory.c:731:5,
inlined from 'copy_pte_range' at mm/memory.c:869:15:
arch/arm64/include/asm/atomic_ll_sc.h:259:9: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'spinlock_t[1]' {aka 'struct spinlock[1]'} [-Warray-bounds=]
259 | asm volatile( \
| ^~~
arch/arm64/include/asm/atomic_ll_sc.h:283:1: note: in expansion of macro '__CMPXCHG_CASE'
283 | __CMPXCHG_CASE(w, , acq_4, , a, , "memory")
| ^~~~~~~~~~~~~~
include/linux/sched/task.h: In function 'copy_pte_range':
include/linux/sched/task.h:23:19: note: object 'mmlist_lock' of size 4
23 | extern spinlock_t mmlist_lock;
| ^~~~~~~~~~~
cc1: some warnings being treated as errors
vim +1546 mm/memory.c
1504
1505 /**
1506 * vm_insert_page - insert single page into user vma
1507 * @vma: user vma to map to
1508 * @addr: target user address of this page
1509 * @page: source kernel page
1510 *
1511 * This allows drivers to insert individual pages they've allocated
1512 * into a user vma.
1513 *
1514 * The page has to be a nice clean _individual_ kernel allocation.
1515 * If you allocate a compound page, you need to have marked it as
1516 * such (__GFP_COMP), or manually just split the page up yourself
1517 * (see split_page()).
1518 *
1519 * NOTE! Traditionally this was done with "remap_pfn_range()" which
1520 * took an arbitrary page protection parameter. This doesn't allow
1521 * that. Your vma protection will have to be set up correctly, which
1522 * means that if you want a shared writable mapping, you'd better
1523 * ask for a shared writable mapping!
1524 *
1525 * The page does not need to be reserved.
1526 *
1527 * Usually this function is called from f_op->mmap() handler
1528 * under mm->mmap_sem write-lock, so it can change vma->vm_flags.
1529 * Caller must set VM_MIXEDMAP on vma if it wants to call this
1530 * function from other places, for example from page-fault handler.
1531 */
1532 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr,
1533 struct page *page)
1534 {
1535 if (addr < vma->vm_start || addr >= vma->vm_end)
1536 return -EFAULT;
1537 if (!page_count(page))
1538 return -EINVAL;
1539 if (!(vma->vm_flags & VM_MIXEDMAP)) {
1540 BUG_ON(down_read_trylock(&vma->vm_mm->mmap_sem));
1541 BUG_ON(vma->vm_flags & VM_PFNMAP);
1542 vma->vm_flags |= VM_MIXEDMAP;
1543 }
1544
1545 if (sp_check_hugepage(page))
> 1546 return hugetlb_insert_hugepage_pte_by_pa(vma->vm_mm, addr,
1547 vma->vm_page_prot, page_to_phys(page));
1548 else
1549 return insert_page(vma, addr, page, vma->vm_page_prot);
1550 }
1551 EXPORT_SYMBOL(vm_insert_page);
1552
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2583/2583] drivers/misc/virt_plat_dev.c:37:43: warning: initialization of 'struct irq_domain *' from 'int' makes pointer from integer without a cast
by kernel test robot 16 Dec '24
by kernel test robot 16 Dec '24
16 Dec '24
Hi wanghaibin,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: dd14d8eb16732508135cd386c09cc747615571f7
commit: e4c0f18287a89cbdf34dffd6ac672d89e8add238 [2583/2583] virt_plat_dev: Register the virt platform device driver
config: arm64-randconfig-003-20241216 (https://download.01.org/0day-ci/archive/20241216/202412161357.rpwPDaPz-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161357.rpwPDaPz-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412161357.rpwPDaPz-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/misc/virt_plat_dev.c: In function 'virt_device_probe':
drivers/misc/virt_plat_dev.c:37:43: error: implicit declaration of function 'vp_get_irq_domain'; did you mean 'dev_get_msi_domain'? [-Werror=implicit-function-declaration]
37 | struct irq_domain *vp_irqdomain = vp_get_irq_domain();
| ^~~~~~~~~~~~~~~~~
| dev_get_msi_domain
>> drivers/misc/virt_plat_dev.c:37:43: warning: initialization of 'struct irq_domain *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
vim +37 drivers/misc/virt_plat_dev.c
31
32 static int virt_device_probe(struct platform_device *pdev)
33 {
34 struct msi_desc *desc;
35 unsigned int *drvdata = dev_get_drvdata(&pdev->dev);
36 unsigned int nvec = *drvdata;
> 37 struct irq_domain *vp_irqdomain = vp_get_irq_domain();
38 int ret;
39
40 if (!vp_irqdomain)
41 return -ENXIO;
42
43 virtdev_info("Allocate platform msi irqs nvecs: %d\n", nvec);
44 dev_set_msi_domain(&pdev->dev, vp_irqdomain);
45
46 ret = platform_msi_domain_alloc_irqs(&pdev->dev, nvec,
47 virt_write_msi_msg);
48 if (ret) {
49 pr_err("Allocate platform msi irqs failed %d\n", ret);
50 goto error;
51 }
52
53 virtdev_info("Allocate platform msi irqs succeed\n");
54 for_each_msi_entry(desc, &pdev->dev) {
55 virtdev_info("Request irq %d\n", desc->irq);
56 ret = request_irq(desc->irq, virt_irq_handle, 0,
57 "virt_dev_host", pdev);
58 if (ret) {
59 pr_err("Request irq %d failed %d\n", desc->irq, ret);
60 goto error_free_irqs;
61 }
62 }
63
64 virtdev_info("Init virtual platform device driver successfully.\n");
65 return 0;
66
67 error_free_irqs:
68 for_each_msi_entry(desc, &pdev->dev)
69 free_irq(desc->irq, pdev);
70
71 platform_msi_domain_free_irqs(&pdev->dev);
72 error:
73 return ret;
74 }
75
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

16 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8UN5
--------------------------------
Commit aa1e2bfdc899 attempt to fix a CVE problem, but the patch
conflicted with current version. When the patch is adapted,
an error is introduced in the function of gpiochip_add_data_with_key.
After the gdev is released, the gdev is still accessed, resulting in
use-after-free.
The value of gdev->ngpio is assigned from gc->ngpio and is not changed
during the processing of function. Therefore, this patch changes
gdev->ngpio to gc->ngpio to solve the above use-after-free problem.
Fixes: aa1e2bfdc899 ("gpiolib: fix memory leak in gpiochip_setup_dev()")
Signed-off-by: He Yujie <coka.heyujie(a)huawei.com>
---
drivers/gpio/gpiolib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index ae000b513bc1..9e717cf180d4 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -795,7 +795,7 @@ int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data,
err_print_message:
/* failures here can mean systems won't boot... */
pr_err("%s: GPIOs %d..%d (%s) failed to register, %d\n", __func__,
- base, base + gdev->ngpio - 1,
+ base, base + (int)gc->ngpio - 1,
gc->label ? : "generic", ret);
return ret;
}
--
2.34.1
2
1

[PATCH openEuler-1.0-LTS] nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
by He Yujie 16 Dec '24
by He Yujie 16 Dec '24
16 Dec '24
From: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
stable inclusion
from stable-v4.19.325
commit 085556bf8c70e2629e02e79268dac3016a08b8bf
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB956P
CVE: CVE-2024-53131
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit cd45e963e44b0f10d90b9e6c0e8b4f47f3c92471 upstream.
Patch series "nilfs2: fix null-ptr-deref bugs on block tracepoints".
This series fixes null pointer dereference bugs that occur when using
nilfs2 and two block-related tracepoints.
This patch (of 2):
It has been reported that when using "block:block_touch_buffer"
tracepoint, touch_buffer() called from __nilfs_get_folio_block() causes a
NULL pointer dereference, or a general protection fault when KASAN is
enabled.
This happens because since the tracepoint was added in touch_buffer(), it
references the dev_t member bh->b_bdev->bd_dev regardless of whether the
buffer head has a pointer to a block_device structure. In the current
implementation, the block_device structure is set after the function
returns to the caller.
Here, touch_buffer() is used to mark the folio/page that owns the buffer
head as accessed, but the common search helper for folio/page used by the
caller function was optimized to mark the folio/page as accessed when it
was reimplemented a long time ago, eliminating the need to call
touch_buffer() here in the first place.
So this solves the issue by eliminating the touch_buffer() call itself.
Link: https://lkml.kernel.org/r/20241106160811.3316-1-konishi.ryusuke@gmail.com
Link: https://lkml.kernel.org/r/20241106160811.3316-2-konishi.ryusuke@gmail.com
Fixes: 5305cb830834 ("block: add block_{touch|dirty}_buffer tracepoint")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
Reported-by: Ubisectech Sirius <bugreport(a)valiantsec.com>
Closes: https://lkml.kernel.org/r/86bd3013-887e-4e38-960f-ca45c657f032.bugreport@va…
Reported-by: syzbot+9982fb8d18eba905abe2(a)syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=9982fb8d18eba905abe2
Tested-by: syzbot+9982fb8d18eba905abe2(a)syzkaller.appspotmail.com
Cc: Tejun Heo <tj(a)kernel.org>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: He Yujie <coka.heyujie(a)huawei.com>
---
fs/nilfs2/page.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c
index 360808b39b6d..cc3308d1c61d 100644
--- a/fs/nilfs2/page.c
+++ b/fs/nilfs2/page.c
@@ -39,7 +39,6 @@ __nilfs_get_page_block(struct page *page, unsigned long block, pgoff_t index,
first_block = (unsigned long)index << (PAGE_SHIFT - blkbits);
bh = nilfs_page_get_nth_block(page, block - first_block);
- touch_buffer(bh);
wait_on_buffer(bh);
return bh;
}
--
2.34.1
2
1

[openeuler:OLK-5.10 2566/2566] drivers/net/ethernet/mucse/rnp/rnp_common.h:298:7: warning: variable 'has_mac' set but not used
by kernel test robot 15 Dec '24
by kernel test robot 15 Dec '24
15 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: e53494b741272933726616122ea77143d9742631 [2566/2566] drivers: initial support for rnp drivers from Mucse Technology
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241215/202412151215.kRAdh5LL-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241215/202412151215.kRAdh5LL-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412151215.kRAdh5LL-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/mucse/rnp/rnp_main.c:7:
In file included from include/linux/pci.h:1499:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:1579:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mucse/rnp/rnp_main.c:34:
In file included from drivers/net/ethernet/mucse/rnp/rnp_tc_u32_parse.h:6:
In file included from drivers/net/ethernet/mucse/rnp/rnp.h:21:
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:298:7: warning: variable 'has_mac' set but not used [-Wunused-but-set-variable]
298 | bool has_mac, has_trans;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:298:16: warning: variable 'has_trans' set but not used [-Wunused-but-set-variable]
298 | bool has_mac, has_trans;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:299:6: warning: variable 'headroom' set but not used [-Wunused-but-set-variable]
299 | int headroom, tailroom;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:299:16: warning: variable 'tailroom' set but not used [-Wunused-but-set-variable]
299 | int headroom, tailroom;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:174:6: warning: no previous prototype for function 'rnp_unmap_and_free_tx_resource' [-Wmissing-prototypes]
174 | void rnp_unmap_and_free_tx_resource(struct rnp_ring *ring,
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:174:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
174 | void rnp_unmap_and_free_tx_resource(struct rnp_ring *ring,
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:669:5: warning: no previous prototype for function 'rnp_rx_ring_reinit' [-Wmissing-prototypes]
669 | int rnp_rx_ring_reinit(struct rnp_adapter *adapter,
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:669:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
669 | int rnp_rx_ring_reinit(struct rnp_adapter *adapter,
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:1777:7: warning: variable 'xdp_xmit' set but not used [-Wunused-but-set-variable]
1777 | bool xdp_xmit = false;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:2012:6: warning: no previous prototype for function 'rnp_write_eitr_rx' [-Wmissing-prototypes]
2012 | void rnp_write_eitr_rx(struct rnp_q_vector *q_vector)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:2012:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2012 | void rnp_write_eitr_rx(struct rnp_q_vector *q_vector)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:2818:6: warning: variable 'rxctrl' set but not used [-Wunused-but-set-variable]
2818 | u32 rxctrl = 0, dma_axi_ctl;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:3152:6: warning: no previous prototype for function 'rnp_vlan_stags_flag' [-Wmissing-prototypes]
3152 | void rnp_vlan_stags_flag(struct rnp_adapter *adapter)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:3152:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3152 | void rnp_vlan_stags_flag(struct rnp_adapter *adapter)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:3558:5: warning: no previous prototype for function 'rnp_xmit_nop_frame_ring' [-Wmissing-prototypes]
3558 | int rnp_xmit_nop_frame_ring(struct rnp_adapter *adapter,
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:3558:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3558 | int rnp_xmit_nop_frame_ring(struct rnp_adapter *adapter,
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:4811:6: warning: no previous prototype for function 'rnp_service_timer' [-Wmissing-prototypes]
4811 | void rnp_service_timer(struct timer_list *t)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:4811:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
4811 | void rnp_service_timer(struct timer_list *t)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:4919:6: warning: no previous prototype for function 'rnp_service_task' [-Wmissing-prototypes]
4919 | void rnp_service_task(struct work_struct *work)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:4919:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
4919 | void rnp_service_task(struct work_struct *work)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:5941:5: warning: no previous prototype for function 'rnp_delete_knode' [-Wmissing-prototypes]
5941 | int rnp_delete_knode(struct net_device *dev,
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:5941:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
5941 | int rnp_delete_knode(struct net_device *dev,
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6030:5: warning: no previous prototype for function 'rnp_config_knode' [-Wmissing-prototypes]
6030 | int rnp_config_knode(struct net_device *dev, __be16 protocol,
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:6030:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6030 | int rnp_config_knode(struct net_device *dev, __be16 protocol,
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6089:5: warning: no previous prototype for function 'rnp_setup_tc_cls_u32' [-Wmissing-prototypes]
6089 | int rnp_setup_tc_cls_u32(struct net_device *dev,
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:6089:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6089 | int rnp_setup_tc_cls_u32(struct net_device *dev,
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6166:6: warning: no previous prototype for function 'rnp_do_reset' [-Wmissing-prototypes]
6166 | void rnp_do_reset(struct net_device *netdev)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:6166:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6166 | void rnp_do_reset(struct net_device *netdev)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6387:6: warning: no previous prototype for function 'rnp_clear_udp_tunnel_port' [-Wmissing-prototypes]
6387 | void rnp_clear_udp_tunnel_port(struct rnp_adapter *adapter)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:6387:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6387 | void rnp_clear_udp_tunnel_port(struct rnp_adapter *adapter)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6507:6: warning: no previous prototype for function 'rnp_assign_netdev_ops' [-Wmissing-prototypes]
6507 | void rnp_assign_netdev_ops(struct net_device *dev)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:6507:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6507 | void rnp_assign_netdev_ops(struct net_device *dev)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6683:5: warning: no previous prototype for function 'rnp_can_rpu_start' [-Wmissing-prototypes]
6683 | int rnp_can_rpu_start(struct rnp_adapter *adapter)
| ^
drivers/net/ethernet/mucse/rnp/rnp_main.c:6683:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
6683 | int rnp_can_rpu_start(struct rnp_adapter *adapter)
| ^
| static
drivers/net/ethernet/mucse/rnp/rnp_main.c:6536:29: warning: unused function 'rnp_tso_features' [-Wunused-function]
6536 | static inline unsigned long rnp_tso_features(struct rnp_hw *hw)
| ^~~~~~~~~~~~~~~~
26 warnings generated.
--
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:157: warning: Function parameter or member 'rnp_queue' not described in 'rnp_set_ring_vector'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:157: warning: Function parameter or member 'rnp_msix_vector' not described in 'rnp_set_ring_vector'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:157: warning: Excess function parameter 'queue' description in 'rnp_set_ring_vector'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:157: warning: Excess function parameter 'msix_vector' description in 'rnp_set_ring_vector'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:287: warning: Function parameter or member 'napi_budget' not described in 'rnp_clean_tx_irq'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:671: warning: Function parameter or member 'adapter' not described in 'rnp_rx_ring_reinit'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:1130: warning: Excess function parameter 'skb' description in 'rnp_is_non_eop'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:2563: warning: Function parameter or member 'adapter' not described in 'rnp_tx_maxrate_own'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:2563: warning: Excess function parameter 'netdev' description in 'rnp_tx_maxrate_own'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:2563: warning: Excess function parameter 'maxrate' description in 'rnp_tx_maxrate_own'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:3748: warning: Function parameter or member 'txqueue' not described in 'rnp_tx_timeout'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:3857: warning: Function parameter or member 'adapter' not described in 'rnp_setup_tx_resources'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:3950: warning: Function parameter or member 'adapter' not described in 'rnp_setup_rx_resources'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:4612: warning: Excess function parameter 'link_speed' description in 'rnp_watchdog_update_link'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:4812: warning: Function parameter or member 't' not described in 'rnp_service_timer'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:4812: warning: Excess function parameter 'data' description in 'rnp_service_timer'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:5872: warning: Function parameter or member 'dev' not described in 'rnp_setup_tc'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:5872: warning: Excess function parameter 'netdev' description in 'rnp_setup_tc'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6526: warning: Function parameter or member 'adapter' not described in 'rnp_wol_supported'
>> drivers/net/ethernet/mucse/rnp/rnp_main.c:6526: warning: Function parameter or member 'subdevice_id' not described in 'rnp_wol_supported'
drivers/net/ethernet/mucse/rnp/rnp_main.c:6526: warning: Excess function parameter 'hw' description in 'rnp_wol_supported'
drivers/net/ethernet/mucse/rnp/rnp_main.c:6526: warning: Excess function parameter 'subdev_id' description in 'rnp_wol_supported'
drivers/net/ethernet/mucse/rnp/rnp_main.c:7099: warning: Function parameter or member 'id' not described in 'rnp_probe'
drivers/net/ethernet/mucse/rnp/rnp_main.c:7099: warning: Excess function parameter 'ent' description in 'rnp_probe'
--
In file included from drivers/net/ethernet/mucse/rnp/rnp_common.c:4:
In file included from include/linux/pci.h:1499:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:1579:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mucse/rnp/rnp_common.c:10:
In file included from drivers/net/ethernet/mucse/rnp/rnp.h:21:
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:298:7: warning: variable 'has_mac' set but not used [-Wunused-but-set-variable]
298 | bool has_mac, has_trans;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:298:16: warning: variable 'has_trans' set but not used [-Wunused-but-set-variable]
298 | bool has_mac, has_trans;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:299:6: warning: variable 'headroom' set but not used [-Wunused-but-set-variable]
299 | int headroom, tailroom;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:299:16: warning: variable 'tailroom' set but not used [-Wunused-but-set-variable]
299 | int headroom, tailroom;
| ^
9 warnings generated.
--
In file included from drivers/net/ethernet/mucse/rnp/rnp_lib.c:4:
In file included from drivers/net/ethernet/mucse/rnp/rnp.h:9:
In file included from include/linux/pci.h:1499:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:1579:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/mucse/rnp/rnp_lib.c:4:
In file included from drivers/net/ethernet/mucse/rnp/rnp.h:21:
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:298:7: warning: variable 'has_mac' set but not used [-Wunused-but-set-variable]
298 | bool has_mac, has_trans;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:298:16: warning: variable 'has_trans' set but not used [-Wunused-but-set-variable]
298 | bool has_mac, has_trans;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:299:6: warning: variable 'headroom' set but not used [-Wunused-but-set-variable]
299 | int headroom, tailroom;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_common.h:299:16: warning: variable 'tailroom' set but not used [-Wunused-but-set-variable]
299 | int headroom, tailroom;
| ^
>> drivers/net/ethernet/mucse/rnp/rnp_lib.c:439:5: warning: no previous prototype for function 'rnp_acquire_msix_vectors' [-Wmissing-prototypes]
439 | int rnp_acquire_msix_vectors(struct rnp_adapter *adapter, int vectors)
| ^
drivers/net/ethernet/mucse/rnp/rnp_lib.c:439:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
439 | int rnp_acquire_msix_vectors(struct rnp_adapter *adapter, int vectors)
| ^
| static
>> drivers/net/ethernet/mucse/rnp/rnp_lib.c:985:6: warning: no previous prototype for function 'rnp_print_ring_info' [-Wmissing-prototypes]
985 | void rnp_print_ring_info(struct rnp_adapter *adapter)
| ^
drivers/net/ethernet/mucse/rnp/rnp_lib.c:985:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
985 | void rnp_print_ring_info(struct rnp_adapter *adapter)
| ^
| static
11 warnings generated.
--
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:179: warning: Function parameter or member 'data' not described in 'rnp_reg_test'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:466: warning: Function parameter or member 'dev' not described in 'rnp_get_ts_info'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:466: warning: Excess function parameter 'netdev' description in 'rnp_get_ts_info'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:527: warning: Function parameter or member 'dev' not described in 'rnp_get_channels'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:527: warning: Excess function parameter 'netdev' description in 'rnp_get_channels'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:561: warning: Function parameter or member 'dev' not described in 'rnp_set_channels'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:561: warning: Excess function parameter 'netdev' description in 'rnp_set_channels'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:600: warning: Function parameter or member 'dev' not described in 'rnp_get_module_info'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:600: warning: Excess function parameter 'netdev' description in 'rnp_get_module_info'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:653: warning: Function parameter or member 'dev' not described in 'rnp_get_module_eeprom'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:653: warning: Excess function parameter 'netdev' description in 'rnp_get_module_eeprom'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:700: warning: Function parameter or member 'ker' not described in 'rnp_get_ringparam'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:700: warning: Function parameter or member 'extack' not described in 'rnp_get_ringparam'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:725: warning: Function parameter or member 'ker' not described in 'rnp_set_ringparam'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:725: warning: Function parameter or member 'extack' not described in 'rnp_set_ringparam'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:945: warning: Function parameter or member 'coal' not described in 'rnp_get_coalesce'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:945: warning: Function parameter or member 'kernel_coal' not described in 'rnp_get_coalesce'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:945: warning: Function parameter or member 'extack' not described in 'rnp_get_coalesce'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:945: warning: Excess function parameter 'cmd' description in 'rnp_get_coalesce'
>> drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:945: warning: Excess function parameter 'ec' description in 'rnp_get_coalesce'
drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:987: warning: Function parameter or member 'kernel_coal' not described in 'rnp_set_coalesce'
drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:987: warning: Function parameter or member 'extack' not described in 'rnp_set_coalesce'
drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:987: warning: Excess function parameter 'cmd' description in 'rnp_set_coalesce'
drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:1778: warning: Function parameter or member 'dev' not described in 'rnp_set_rxnfc'
drivers/net/ethernet/mucse/rnp/rnp_ethtool.c:1778: warning: Excess function parameter 'netdev' description in 'rnp_set_rxnfc'
..
vim +/has_mac +298 drivers/net/ethernet/mucse/rnp/rnp_common.h
287
288 #ifndef NO_SKB_DUMP
289 static inline void _rnp_skb_dump(const struct sk_buff *skb, bool full_pkt)
290 {
291 static atomic_t can_dump_full = ATOMIC_INIT(5);
292 #ifdef DEBUG
293 struct skb_shared_info *sh = skb_shinfo(skb);
294 #endif
295 struct net_device *dev = skb->dev;
296 //struct sock *sk = skb->sk;
297 struct sk_buff *list_skb;
> 298 bool has_mac, has_trans;
> 299 int headroom, tailroom;
300 int i, len, seg_len;
301 const char *level = KERN_WARNING;
302
303 if (full_pkt)
304 full_pkt = atomic_dec_if_positive(&can_dump_full) >= 0;
305
306 if (full_pkt)
307 len = skb->len;
308 else
309 len = min_t(int, skb->len, MAX_HEADER + 128);
310
311 headroom = skb_headroom(skb);
312 tailroom = skb_tailroom(skb);
313
314 has_mac = skb_mac_header_was_set(skb);
315 has_trans = skb_transport_header_was_set(skb);
316
317 dbg("%sskb len=%u headroom=%u headlen=%u tailroom=%u\n"
318 "mac=(%d,%d) net=(%d,%d) trans=%d\n"
319 "shinfo(txflags=%u nr_frags=%u gso(size=%hu type=%u segs=%hu))\n"
320 "csum(0x%x ip_summed=%u complete_sw=%u valid=%u level=%u)\n"
321 "hash(0x%x sw=%u l4=%u) proto=0x%04x pkttype=%u iif=%d\n",
322 level, skb->len, headroom, skb_headlen(skb), tailroom,
323 has_mac ? skb->mac_header : -1,
324 has_mac ? (skb->network_header - skb->mac_header) : -1,
325 skb->network_header,
326 has_trans ? skb_network_header_len(skb) : -1,
327 has_trans ? skb->transport_header : -1, sh->tx_flags,
328 sh->nr_frags, sh->gso_size, sh->gso_type, sh->gso_segs,
329 skb->csum, skb->ip_summed, skb->csum_complete_sw,
330 skb->csum_valid, skb->csum_level, skb->hash, skb->sw_hash,
331 skb->l4_hash, ntohs(skb->protocol), skb->pkt_type,
332 skb->skb_iif);
333
334 if (dev)
335 dbg("%sdev name=%s feat=0x%pNF\n", level, dev->name,
336 &dev->features);
337
338 //if (full_pkt && headroom)
339 // print_hex_dump(level, "skb headroom: ",
340 // DUMP_PREFIX_OFFSET,
341 // 16, 1, skb->head, headroom, false);
342
343 seg_len = min_t(int, skb_headlen(skb), len);
344 if (seg_len)
345 print_hex_dump(level, "skb linear: ", DUMP_PREFIX_OFFSET,
346 16, 1, skb->data, seg_len, false);
347 len -= seg_len;
348
349 // if (full_pkt && tailroom)
350 // print_hex_dump(level, "skb tailroom: ",
351 // DUMP_PREFIX_OFFSET,
352 // 16, 1, skb_tail_pointer(skb), tailroom, false);
353
354 for (i = 0; len && i < skb_shinfo(skb)->nr_frags; i++) {
355 skb_frag_t *frag = &skb_shinfo(skb)->frags[i];
356 //u32 p_off, p_len, copied;
357 u32 p_len;
358 struct page *p;
359 u8 *vaddr;
360
361 p = skb_frag_address(frag);
362 p_len = skb_frag_size(frag);
363 seg_len = min_t(int, p_len, len);
364 vaddr = kmap_atomic(p);
365 print_hex_dump(level, "skb frag: ", DUMP_PREFIX_OFFSET,
366 16, 1, vaddr, seg_len, false);
367 kunmap_atomic(vaddr);
368 len -= seg_len;
369 if (!len)
370 break;
371 }
372
373 if (full_pkt && skb_has_frag_list(skb)) {
374 dbg("skb fraglist:\n");
375 skb_walk_frags(skb, list_skb)
376 _rnp_skb_dump(list_skb, true);
377 }
378 }
379 #endif
380
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2566/2566] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:279:5: warning: no previous prototype for function 'hclge_unic_del_mc_guid_common'
by kernel test robot 15 Dec '24
by kernel test robot 15 Dec '24
15 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: a1799222294b713b168b8444b973c2b9d69c64d9 [2566/2566] UNIC: Support using MC GUID and table management
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241215/202412150919.g1didEmM-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241215/202412150919.g1didEmM-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412150919.g1didEmM-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:16:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:14:
In file included from include/linux/mm.h:1573:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:21:
In file included from drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h:11:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:170:5: warning: no previous prototype for function 'hclge_unic_add_mc_guid_common' [-Wmissing-prototypes]
170 | int hclge_unic_add_mc_guid_common(struct hclge_vport *vport,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:170:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
170 | int hclge_unic_add_mc_guid_common(struct hclge_vport *vport,
| ^
| static
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:279:5: warning: no previous prototype for function 'hclge_unic_del_mc_guid_common' [-Wmissing-prototypes]
279 | int hclge_unic_del_mc_guid_common(struct hclge_vport *vport,
| ^
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c:279:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
279 | int hclge_unic_del_mc_guid_common(struct hclge_vport *vport,
| ^
| static
9 warnings generated.
vim +/hclge_unic_del_mc_guid_common +279 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_unic_guid.c
278
> 279 int hclge_unic_del_mc_guid_common(struct hclge_vport *vport,
280 const unsigned char *mguid)
281 {
282 struct hclge_unic_mc_guid_cfg_cmd req = {0};
283 struct hclge_dev *hdev = vport->back;
284 struct hclge_desc desc[3];
285 int ret;
286
287 memcpy(req.mguid, mguid, UBL_ALEN);
288 ret = hclge_unic_lookup_mc_guid(vport, &req, desc);
289 if (!ret) {
290 ret = hclge_unic_fill_del_desc(vport, &req, desc);
291 if (ret)
292 return ret;
293 if (hclge_unic_is_all_function_deleted(desc)) {
294 ret = hclge_unic_del_mc_guid_cmd(vport, &req, desc);
295 if (!ret) {
296 clear_bit(req.index, hdev->mc_guid_tbl_bmap);
297 hdev->used_mc_guid_num--;
298 }
299 } else {
300 return hclge_unic_add_mc_guid_cmd(vport, &req, desc);
301 }
302 } else if (ret == -ENOENT) {
303 ret = 0;
304 }
305
306 return ret;
307 }
308
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] drivers/pci/controller/pci-loongson.c:183:22: sparse: sparse: incorrect type in argument 2 (different address spaces)
by kernel test robot 15 Dec '24
by kernel test robot 15 Dec '24
15 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 668ae8b1a55a96a60303d36b81b112a709a324bb [1613/1613] PCI: LS7A2000: fix GPU card error
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241215/202412150516.jwknHegy-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241215/202412150516.jwknHegy-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412150516.jwknHegy-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/pci/controller/pci-loongson.c:183:22: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void volatile * @@
drivers/pci/controller/pci-loongson.c:183:22: sparse: expected void volatile [noderef] __iomem *addr
drivers/pci/controller/pci-loongson.c:183:22: sparse: got void volatile *
drivers/pci/controller/pci-loongson.c:184:29: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void volatile * @@
drivers/pci/controller/pci-loongson.c:184:29: sparse: expected void volatile [noderef] __iomem *addr
drivers/pci/controller/pci-loongson.c:184:29: sparse: got void volatile *
drivers/pci/controller/pci-loongson.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
vim +183 drivers/pci/controller/pci-loongson.c
151
152 static void loongson_display_quirk(struct pci_dev *dev)
153 {
154 u32 val;
155 u64 mask, size;
156 u64 max_size = 0;
157 int i, num;
158 struct pci_bus *bus = dev->bus;
159
160 if (!dev->bus->number) {
161 if (!(dev->vendor == PCI_VENDOR_ID_LOONGSON && dev->device == 0x7a25))
162 return;
163 } else {
164 while (!pci_is_root_bus(bus->parent))
165 bus = bus->parent;
166
167 /* ensure slot is 7a2000 */
168 if (bus->self->vendor != PCI_VENDOR_ID_LOONGSON || bus->self->device < 0x7a39)
169 return;
170 }
171 max_size = 0;
172 for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {
173 if (dev->resource[i].flags & IORESOURCE_MEM) {
174 size = dev->resource[i].end - dev->resource[i].start;
175 if (size > max_size) {
176 max_size = size;
177 num = i;
178 }
179 }
180 }
181 mask = ~(dev->resource[num].end - dev->resource[num].start);
182 val = (dev->resource[num].start >> (24 - 16)) | ((mask >> 24) & 0xffff);
> 183 writel(val, (volatile void *)0x80000efdfb000174UL);
184 writel(0x80000000, (volatile void *)0x80000efdfb000170UL);
185 }
186 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_LOONGSON, 0x7a25, loongson_display_quirk);
187 DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
188 PCI_BASE_CLASS_DISPLAY, 16, loongson_display_quirk);
189
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2566/2566] drivers/net/ethernet/hisilicon/hns3/hns3_unic.c:53: warning: Function parameter or member 'skb' not described in 'hns3_unic_set_l3_type'
by kernel test robot 15 Dec '24
by kernel test robot 15 Dec '24
15 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: f52063cd675564192638518d0a6d428e330ec7e1 [2566/2566] UNIC: Replace ether interface by ubl interface
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241215/202412150525.dOfTAcoj-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241215/202412150525.dOfTAcoj-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412150525.dOfTAcoj-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/hisilicon/hns3/hns3_unic.c:53: warning: Function parameter or member 'skb' not described in 'hns3_unic_set_l3_type'
>> drivers/net/ethernet/hisilicon/hns3/hns3_unic.c:53: warning: Function parameter or member 'type_cs_vlan_tso' not described in 'hns3_unic_set_l3_type'
vim +53 drivers/net/ethernet/hisilicon/hns3/hns3_unic.c
44
45 /**
46 * L3T is an element of the TX BD interface for software and hardware
47 * interaction, used to identify the message type. As the message data
48 * given by software to the chip cannot be self-decoded, the driver needs
49 * to actively inform the chip of the message type, which is unrelated
50 * to checksum offloading.
51 */
52 void hns3_unic_set_l3_type(struct sk_buff *skb, u32 *type_cs_vlan_tso)
> 53 {
54 if (skb->protocol == htons(ETH_P_IP))
55 hnae3_set_field(*type_cs_vlan_tso, HNS3_TXD_L3T_M,
56 HNS3_TXD_L3T_S, HNS3_L3T_IPV4);
57 else if (skb->protocol == htons(ETH_P_IPV6))
58 hnae3_set_field(*type_cs_vlan_tso, HNS3_TXD_L3T_M,
59 HNS3_TXD_L3T_S, HNS3_L3T_IPV6);
60 }
61
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] kernel/sched/fair.c:175:5: sparse: sparse: symbol 'sysctl_sched_util_low_pct' was not declared. Should it be static?
by kernel test robot 15 Dec '24
by kernel test robot 15 Dec '24
15 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 2e1dfc02d115143587ccfee1815ad295763050f2 [1613/1613] sched: Adjust wakeup cpu range according CPU util dynamicly
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241215/202412150117.ww1cPcQk-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241215/202412150117.ww1cPcQk-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412150117.ww1cPcQk-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> kernel/sched/fair.c:175:5: sparse: sparse: symbol 'sysctl_sched_util_low_pct' was not declared. Should it be static?
kernel/sched/fair.c:1256:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_entity const *se @@ got struct sched_entity [noderef] __rcu * @@
kernel/sched/fair.c:1256:34: sparse: expected struct sched_entity const *se
kernel/sched/fair.c:1256:34: sparse: got struct sched_entity [noderef] __rcu *
kernel/sched/fair.c:12740:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:12740:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:12740:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:6633:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:6633:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:6633:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:7964:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:7964:20: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:7964:20: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:8258:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] tmp @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:8258:9: sparse: expected struct sched_domain *[assigned] tmp
kernel/sched/fair.c:8258:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:8367:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:8367:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:8367:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:8941:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:8941:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:8941:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:9934:40: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *child @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/fair.c:9934:40: sparse: expected struct sched_domain *child
kernel/sched/fair.c:9934:40: sparse: got struct sched_domain [noderef] __rcu *child
kernel/sched/fair.c:10571:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/fair.c:10571:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/fair.c:10571:22: sparse: struct task_struct *
kernel/sched/fair.c:12012:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:12012:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:12012:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:11669:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *sd_parent @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:11669:44: sparse: expected struct sched_domain *sd_parent
kernel/sched/fair.c:11669:44: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:12108:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:12108:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:12108:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
kernel/sched/fair.c:6555:35: sparse: sparse: marked inline, but without a definition
kernel/sched/fair.c: note: in included file:
kernel/sched/sched.h:2145:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2145:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2145:25: sparse: struct task_struct *
kernel/sched/sched.h:2309:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2309:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2309:9: sparse: struct task_struct *
kernel/sched/sched.h:2145:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2145:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2145:25: sparse: struct task_struct *
kernel/sched/sched.h:2145:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2145:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2145:25: sparse: struct task_struct *
vim +/sysctl_sched_util_low_pct +175 kernel/sched/fair.c
168
169 #ifdef CONFIG_QOS_SCHED_DYNAMIC_AFFINITY
170 /*
171 * Low utilization threshold for CPU
172 *
173 * (default: 85%), units: percentage of CPU utilization)
174 */
> 175 int sysctl_sched_util_low_pct = 85;
176 #endif
177
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] drivers/video/fbdev/ls2k500sfb.c:143:27: sparse: sparse: incorrect type in assignment (different address spaces)
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 8248d42b7c5f4338a54f26d8efebec8614b43466 [1613/1613] fbdev: add ls2k500sfb driver for ls2k500 bmc.
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241214/202412142141.pKNBHdWI-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241214/202412142141.pKNBHdWI-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412142141.pKNBHdWI-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/video/fbdev/ls2k500sfb.c:143:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *static p @@ got void [noderef] __iomem * @@
drivers/video/fbdev/ls2k500sfb.c:143:27: sparse: expected void *static p
drivers/video/fbdev/ls2k500sfb.c:143:27: sparse: got void [noderef] __iomem *
>> drivers/video/fbdev/ls2k500sfb.c:145:30: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void *static p @@
drivers/video/fbdev/ls2k500sfb.c:145:30: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:145:30: sparse: got void *static p
>> drivers/video/fbdev/ls2k500sfb.c:199:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void *static p @@
drivers/video/fbdev/ls2k500sfb.c:199:36: sparse: expected void volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:199:36: sparse: got void *static p
>> drivers/video/fbdev/ls2k500sfb.c:201:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:201:37: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:201:37: sparse: got void *
>> drivers/video/fbdev/ls2k500sfb.c:254:13: sparse: sparse: symbol 'ls2k500sfb_interrupt' was not declared. Should it be static?
drivers/video/fbdev/ls2k500sfb.c:320:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:320:22: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:320:22: sparse: got void *
>> drivers/video/fbdev/ls2k500sfb.c:320:49: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:320:49: sparse: expected void volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:320:49: sparse: got void *
drivers/video/fbdev/ls2k500sfb.c:321:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:321:22: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:321:22: sparse: got void *
drivers/video/fbdev/ls2k500sfb.c:321:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:321:53: sparse: expected void volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:321:53: sparse: got void *
drivers/video/fbdev/ls2k500sfb.c:322:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:322:22: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:322:22: sparse: got void *
drivers/video/fbdev/ls2k500sfb.c:322:53: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:322:53: sparse: expected void volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:322:53: sparse: got void *
drivers/video/fbdev/ls2k500sfb.c:323:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:323:22: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:323:22: sparse: got void *
drivers/video/fbdev/ls2k500sfb.c:323:51: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/video/fbdev/ls2k500sfb.c:323:51: sparse: expected void volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:323:51: sparse: got void *
>> drivers/video/fbdev/ls2k500sfb.c:456:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got char *preg @@
drivers/video/fbdev/ls2k500sfb.c:456:28: sparse: expected void const volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:456:28: sparse: got char *preg
>> drivers/video/fbdev/ls2k500sfb.c:457:32: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got char *preg @@
drivers/video/fbdev/ls2k500sfb.c:457:32: sparse: expected void volatile [noderef] __iomem *addr
drivers/video/fbdev/ls2k500sfb.c:457:32: sparse: got char *preg
>> drivers/video/fbdev/ls2k500sfb.c:569:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char *penv @@ got void [noderef] __iomem * @@
drivers/video/fbdev/ls2k500sfb.c:569:19: sparse: expected char *penv
drivers/video/fbdev/ls2k500sfb.c:569:19: sparse: got void [noderef] __iomem *
>> drivers/video/fbdev/ls2k500sfb.c:570:19: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char *preg @@ got void [noderef] __iomem * @@
drivers/video/fbdev/ls2k500sfb.c:570:19: sparse: expected char *preg
drivers/video/fbdev/ls2k500sfb.c:570:19: sparse: got void [noderef] __iomem *
drivers/video/fbdev/ls2k500sfb.c:671:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char *penv @@ got void [noderef] __iomem * @@
drivers/video/fbdev/ls2k500sfb.c:671:14: sparse: expected char *penv
drivers/video/fbdev/ls2k500sfb.c:671:14: sparse: got void [noderef] __iomem *
drivers/video/fbdev/ls2k500sfb.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
vim +143 drivers/video/fbdev/ls2k500sfb.c
113
114 static void ls2k500sfb_events_fn(struct work_struct *work)
115 {
116 struct ls2k500sfb_struct *priv = container_of(work, struct ls2k500sfb_struct, work);
117 struct pci_dev *pdev = priv->dev;
118 struct pci_dev *ppdev = pdev->bus->self;
119 uint32_t i, d, timeout, retry = 0;
120 static const uint32_t index[] = {
121 0x10, 0x14, 0x18, 0x1c, 0x20, 0x24, 0x30, 0x3c, 0x54, 0x58, 0x78, 0x7c, 0x80, 4
122 };
123
124 static uint32_t data[sizeof(index) / 4];
125 static const uint32_t cindex[] = { 0x10, 0x3c, 4 };
126
127 static uint32_t cdata[sizeof(cindex) / 4];
128 static uint32_t d80c, d71c, ctrl;
129 static void *p;
130
131 if (!priv->running) {
132 for (i = 0; i < ARRAY_SIZE(index); i++)
133 pci_read_config_dword(ppdev, index[i], &data[i]);
134 for (i = 0; i < ARRAY_SIZE(cindex); i++)
135 pci_read_config_dword(pdev, cindex[i], &cdata[i]);
136 if (ppdev->vendor == 0x14) {
137 pci_read_config_dword(ppdev, 0x80c, &d80c);
138 d80c = (d80c & ~(3 << 17)) | (1 << 17);
139
140 pci_read_config_dword(ppdev, 0x71c, &d71c);
141 d71c |= 1 << 26;
142
> 143 p = pci_iomap(ppdev, 0, 0x100);
144 }
> 145 ctrl = readl(p);
146 return;
147 }
148 local_bh_disable();
149 pciebreak_smp_send_stop(100);
150 wmb(); /* flush all write before we disable pcie window */
151 pci_write_config_dword(ppdev, 0x18, 0);
152 pci_write_config_dword(ppdev, 0x1c, 0);
153 pci_write_config_dword(ppdev, 0x20, 0);
154 atomic_set(&waiting_for_pciebreak_ipi, 0);
155 wmb(); /* flush all write after change pcie window */
156 local_bh_enable();
157 if (ppdev->vendor == 0x14) {
158 timeout = 10000;
159 while (timeout) {
160 pci_read_config_dword(ppdev, 0x10, &d);
161 d &= ~0xf;
162 if (!d)
163 break;
164 mdelay(1);
165 timeout--;
166 };
167 if (!timeout)
168 pr_info("bar not clear 0\n");
169
170 pci_read_config_dword(ppdev, 0x0, &d);
171 pr_info("pcie port deviceid=0x%x recover begin\n", d);
172 retrain:
173 while (1) {
174 pci_write_config_dword(ppdev, index[0], data[0]);
175 pci_read_config_dword(ppdev, index[0], &d);
176 d &= ~0xf;
177 if (d)
178 break;
179 mdelay(1);
180 }
181
182 while (1) {
183 for (i = 0; i < ARRAY_SIZE(index); i++) {
184 if (index[i] != 0x18 && index[i] != 0x1c && index[i] != 0x20)
185 pci_write_config_dword(ppdev, index[i], data[i]);
186 }
187 pci_write_config_dword(ppdev, 0x80c, d80c);
188 pci_write_config_dword(ppdev, 0x71c, d71c);
189
190 pci_read_config_dword(ppdev, 0x10, &d);
191 d &= ~0xf;
192 if (d)
193 break;
194 mdelay(1);
195 }
196
197 timeout = 10000;
198
> 199 writel(ctrl | 0x8, p);
200 while (1) {
> 201 d = readl(p + 0xc);
202 if ((d & 0x11) == 0x11) {
203 break;
204 } else if (!timeout) {
205 pr_info("pcie train failed status=0x%x\n", d);
206 goto out;
207 }
208 mdelay(1);
209 timeout--;
210 }
211
212
213 pr_info("pcie recovered done\n");
214
215 if (!retry) {
216 /*wait u-boot ddr config */
217 set_current_state(TASK_UNINTERRUPTIBLE);
218 schedule_timeout(HZ*resetbootwait);
219 set_current_state(TASK_RUNNING);
220 pci_read_config_dword(ppdev, 0x10, &d);
221 d &= ~0xf;
222 if (!d) {
223 retry = 1;
224 goto retrain;
225 }
226 }
227 } else {
228 set_current_state(TASK_UNINTERRUPTIBLE);
229 schedule_timeout(HZ*resetbootwait);
230 set_current_state(TASK_RUNNING);
231 }
232 local_bh_disable();
233 pciebreak_smp_send_stop(10000);
234 wmb(); /* flush all write before we update pcie window */
235 for (i = 0; i < ARRAY_SIZE(index); i++)
236 pci_write_config_dword(ppdev, index[i], data[i]);
237
238 for (i = 0; i < ARRAY_SIZE(cindex); i++)
239 pci_write_config_dword(pdev, cindex[i], cdata[i]);
240 atomic_set(&waiting_for_pciebreak_ipi, 0);
241 wmb(); /* flush all write after we update pcie window */
242 local_bh_enable();
243
244
245 pr_info("redraw console\n");
246
247 saved_console = fg_console;
248 switch_console(fg_console > 0?fg_console - 1 : fg_console + 1);
249 queue_delayed_work(priv->wq, &priv->redraw_work, HZ);
250 out:
251 priv->running = 0;
252 }
253
> 254 irqreturn_t ls2k500sfb_interrupt(int irq, void *arg)
255 {
256 struct ls2k500sfb_struct *priv = arg;
257 struct pci_dev *pdev = priv->dev;
258
259 if (irq == pdev->irq)
260 pr_info("ls2k500sfb pcie interrupt\n");
261 else
262 pr_info("ls2k500sfb gpio interrupt\n");
263 if (system_state != SYSTEM_RUNNING)
264 return IRQ_HANDLED;
265
266 if (!priv->running) {
267 if (!resetdelay || time_after(jiffies, priv->reset_time + resetdelay * HZ)) {
268 priv->running = 1;
269 queue_work(priv->wq, &priv->work);
270 }
271 priv->reset_time = jiffies;
272 }
273 return IRQ_HANDLED;
274 }
275
276 #ifdef CONFIG_LOONGARCH
277 #define GPIO_OEN ((void *)IO_BASE+0x1fe00000+0x500)
278 #define GPIO_FUNCEN ((void *)IO_BASE+0x1fe00000+0x504)
279 #define GPIO_OUT ((void *)IO_BASE+0x1fe00000+0x508)
280 #define GPIO_IN ((void *)IO_BASE+0x1fe00000+0x50c)
281 #define GPIO_INTPOL ((void *)IO_BASE+0x1fe00000+0x510)
282 #define GPIO_INTEN ((void *)IO_BASE+0x1fe00000+0x514)
283
284 static int gpiochip_match_name(struct gpio_chip *chip, void *data)
285 {
286 const char *name = data;
287
288 return !strcmp(chip->label, name);
289 }
290 static int get_gpio_irq_from_acpi_table(int gpio)
291 {
292 struct gpio_chip *chip;
293 struct gpio_desc *desc;
294
295 chip = gpiochip_find("LOON0007:00", gpiochip_match_name);
296 if (!chip)
297 return -ENOENT;
298 desc = gpiochip_request_own_desc(chip, gpio, "reboot", GPIO_LOOKUP_FLAGS_DEFAULT, GPIOD_IN);
299 if (!desc)
300 return -ENOENT;
301 return gpiod_to_irq(desc);
302 }
303
304 static int get_gpio_irq_from_acpi_gsi(int gpio)
305 {
306 int gsi = 16 + (gpio & 7);
307
308 return acpi_register_gsi(NULL, gsi, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW);
309 }
310
311 static int register_gpio_reboot_handler(struct ls2k500sfb_struct *priv)
312 {
313 int irq = get_gpio_irq_from_acpi_table(GPIO);
314
315 if (irq < 0) {
316 irq = get_gpio_irq_from_acpi_gsi(GPIO);
317 pr_notice("gsi gpio irq %d\n", irq);
318 } else
319 pr_notice("acpi gpio irq %d\n", irq);
> 320 writel(readl(GPIO_OEN) | (0x1 << GPIO), GPIO_OEN);
321 writel(readl(GPIO_FUNCEN) & ~(0x1 << GPIO), GPIO_FUNCEN);
> 322 writel(readl(GPIO_INTPOL) & ~(0x1 << GPIO), GPIO_INTPOL);
> 323 writel(readl(GPIO_INTEN) | (0x1 << GPIO), GPIO_INTEN);
324 if (request_irq(irq, ls2k500sfb_interrupt, IRQF_SHARED | IRQF_TRIGGER_FALLING,
325 "ls2k500sfb", priv))
326 pr_err("request_irq(%d) failed\n", irq);
327 return 0;
328 }
329 #endif
330
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-6.6] mm/dynamic_pool: use __GENKSYMS__ to revert the kabi change
by Liu Shixin 14 Dec '24
by Liu Shixin 14 Dec '24
14 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAO6NS
--------------------------------
Revert the kabi change introduced by including <linux/dynamic_pool.h> for
kabi trustlist standardization.
Fixes: 3b6fa5506d80 ("mm: limit order to 0 when allocated from dynamic pool")
Signed-off-by: Liu Shixin <liushixin2(a)huawei.com>
---
mm/filemap.c | 2 ++
mm/readahead.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/mm/filemap.c b/mm/filemap.c
index edc223834cde..77a8947b8e5e 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -47,7 +47,9 @@
#include <linux/splice.h>
#include <linux/huge_mm.h>
#include <linux/pgtable.h>
+#ifndef __GENKSYMS__
#include <linux/dynamic_pool.h>
+#endif
#include <asm/pgalloc.h>
#include <asm/tlbflush.h>
#include "internal.h"
diff --git a/mm/readahead.c b/mm/readahead.c
index 2486c625e724..438f142a3e74 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -128,7 +128,9 @@
#include <linux/blk-cgroup.h>
#include <linux/fadvise.h>
#include <linux/sched/mm.h>
+#ifndef __GENKSYMS__
#include <linux/dynamic_pool.h>
+#endif
#include "internal.h"
--
2.34.1
2
1

[openeuler:OLK-6.6 1613/1613] arch/loongarch/kernel/dma.c:37:42: sparse: sparse: incorrect type in argument 1 (different address spaces)
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 90d2bbc1ade2216bda17fb582a1aaabf7567478f [1613/1613] LoongArch: use arch specific phys_to_dma
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241214/202412141716.TzMSDkUc-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241214/202412141716.TzMSDkUc-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412141716.TzMSDkUc-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/loongarch/kernel/dma.c:37:42: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got void volatile * @@
arch/loongarch/kernel/dma.c:37:42: sparse: expected void const volatile [noderef] __iomem *addr
arch/loongarch/kernel/dma.c:37:42: sparse: got void volatile *
arch/loongarch/kernel/dma.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
vim +37 arch/loongarch/kernel/dma.c
29
30 void acpi_arch_dma_setup(struct device *dev)
31 {
32 int ret;
33 u64 mask, end = 0;
34 const struct bus_dma_region *map = NULL;
35
36 if (node_id_offset == 0) {
> 37 node_id_offset = ((readl(LS7A_DMA_CFG) & LS7A_DMA_NODE_MASK) >> LS7A_DMA_NODE_SHF);
38 node_id_offset += 36;
39 }
40
41 ret = acpi_dma_get_range(dev, &map);
42 if (!ret && map) {
43 const struct bus_dma_region *r = map;
44
45 for (end = 0; r->size; r++) {
46 if (r->dma_start + r->size - 1 > end)
47 end = r->dma_start + r->size - 1;
48 }
49
50 mask = DMA_BIT_MASK(ilog2(end) + 1);
51 dev->bus_dma_limit = end;
52 dev->dma_range_map = map;
53 dev->coherent_dma_mask = min(dev->coherent_dma_mask, mask);
54 *dev->dma_mask = min(*dev->dma_mask, mask);
55 }
56
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] drivers/iommu/loongarch_iommu.c:610:6: warning: no previous prototype for 'domain_deattach_iommu'
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 72fe4978ee346c10869113410da1b61710dd8d8f [1636/1636] LoongArch: add iommu support
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20241214/202412141302.zMMD8AS7-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412141302.zMMD8AS7-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412141302.zMMD8AS7-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/iommu/loongarch_iommu.c:610:6: warning: no previous prototype for 'domain_deattach_iommu' [-Wmissing-prototypes]
610 | void domain_deattach_iommu(struct dom_info *priv, struct iommu_info *info)
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:651:29: warning: no previous prototype for 'lookup_rlooptable' [-Wmissing-prototypes]
651 | struct iommu_rlookup_entry *lookup_rlooptable(int pcisegment)
| ^~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:662:25: warning: no previous prototype for 'find_iommu_by_dev' [-Wmissing-prototypes]
662 | struct loongarch_iommu *find_iommu_by_dev(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:684:22: warning: no previous prototype for 'iommu_init_device' [-Wmissing-prototypes]
684 | struct iommu_device *iommu_init_device(struct device *dev)
| ^~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:721:22: warning: no previous prototype for 'la_iommu_probe_device' [-Wmissing-prototypes]
721 | struct iommu_device *la_iommu_probe_device(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:752:20: warning: no previous prototype for 'get_iommu_info_from_dom' [-Wmissing-prototypes]
752 | struct iommu_info *get_iommu_info_from_dom(struct dom_info *priv, struct loongarch_iommu *iommu)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:767:20: warning: no previous prototype for 'domain_attach_iommu' [-Wmissing-prototypes]
767 | struct iommu_info *domain_attach_iommu(struct dom_info *priv, struct loongarch_iommu *iommu)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:1197:25: warning: no previous prototype for 'loongarch_get_iommu_by_devid' [-Wmissing-prototypes]
1197 | struct loongarch_iommu *loongarch_get_iommu_by_devid(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:1215:6: warning: no previous prototype for 'check_device_compat' [-Wmissing-prototypes]
1215 | bool check_device_compat(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:1344:29: warning: no previous prototype for 'create_rlookup_entry' [-Wmissing-prototypes]
1344 | struct iommu_rlookup_entry *create_rlookup_entry(int pcisegment)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/iommu/loongarch_iommu.c:1765:19: warning: 'la_iommu_setup' defined but not used [-Wunused-function]
1765 | static int __init la_iommu_setup(char *str)
| ^~~~~~~~~~~~~~
--
>> drivers/iommu/loongarch_iommu.c:1663: warning: Function parameter or member 'ivrs' not described in 'get_highest_supported_ivhd_type'
vim +/domain_deattach_iommu +610 drivers/iommu/loongarch_iommu.c
609
> 610 void domain_deattach_iommu(struct dom_info *priv, struct iommu_info *info)
611 {
612 if ((priv == NULL) || (info == NULL) ||
613 (info->dev_cnt != 0) || (info->iommu == NULL)) {
614 pr_err("%s invalid parameter", __func__);
615 return;
616 }
617 del_domain_from_list(info->iommu, priv);
618 domain_id_free(info->iommu, info->id);
619 spin_lock(&priv->lock);
620 list_del(&info->list);
621 spin_unlock(&priv->lock);
622 kfree(info);
623 }
624
625 static void la_iommu_domain_free(struct iommu_domain *domain)
626 {
627 struct dom_info *priv;
628 struct loongarch_iommu *iommu = NULL;
629 struct iommu_info *info, *tmp;
630
631 priv = to_dom_info(domain);
632 spin_lock(&priv->lock);
633 list_for_each_entry_safe(info, tmp, &priv->iommu_devlist, list) {
634 if (info->dev_cnt > 0)
635 detach_all_dev_by_domain(info);
636 iommu = info->iommu;
637 spin_unlock(&priv->lock);
638 domain_deattach_iommu(priv, info);
639 spin_lock(&priv->lock);
640 iommu_flush_iotlb(iommu);
641 if (!has_dom(iommu))
642 iommu_translate_disable(iommu);
643 }
644 spin_unlock(&priv->lock);
645 mutex_lock(&priv->ptl_lock);
646 iommu_free_pagetable(priv);
647 mutex_unlock(&priv->ptl_lock);
648 dom_info_free(priv);
649 }
650
> 651 struct iommu_rlookup_entry *lookup_rlooptable(int pcisegment)
652 {
653 struct iommu_rlookup_entry *rlookupentry = NULL;
654
655 list_for_each_entry(rlookupentry, &la_rlookup_iommu_list, list) {
656 if (rlookupentry->pcisegment == pcisegment)
657 return rlookupentry;
658 }
659 return NULL;
660 }
661
> 662 struct loongarch_iommu *find_iommu_by_dev(struct pci_dev *pdev)
663 {
664 int pcisegment;
665 unsigned short devid;
666 struct iommu_rlookup_entry *rlookupentry = NULL;
667 struct loongarch_iommu *iommu = NULL;
668 struct pci_bus *bus = pdev->bus;
669
670 devid = PCI_DEVID(bus->number, pdev->devfn);
671 pcisegment = pci_domain_nr(bus);
672 rlookupentry = lookup_rlooptable(pcisegment);
673 if (rlookupentry == NULL) {
674 pr_info("%s find segment %d rlookupentry failed\n", __func__,
675 pcisegment);
676 return iommu;
677 }
678 iommu = rlookupentry->rlookup_table[devid];
679 if (iommu && (!iommu->confbase))
680 iommu = NULL;
681 return iommu;
682 }
683
> 684 struct iommu_device *iommu_init_device(struct device *dev)
685 {
686 struct la_iommu_dev_data *dev_data;
687 struct pci_dev *pdev = to_pci_dev(dev);
688 struct pci_bus *bus = pdev->bus;
689 unsigned short devid;
690 struct loongarch_iommu *iommu = NULL;
691 struct iommu_device *iommu_dev = ERR_PTR(-ENODEV);
692
693 if (!dev_is_pci(dev))
694 return iommu_dev;
695
696 if (dev->archdata.iommu != NULL || bus == NULL) {
697 pr_info("LA-IOMMU: bdf:0x%x has added\n", pdev->devfn);
698 return iommu_dev;
699 }
700 iommu = find_iommu_by_dev(pdev);
701 if (iommu == NULL) {
702 pci_info(pdev, "%s find iommu failed by dev\n", __func__);
703 return iommu_dev;
704 }
705 dev_data = kzalloc(sizeof(*dev_data), GFP_KERNEL);
706 if (!dev_data)
707 return iommu_dev;
708 devid = PCI_DEVID(bus->number, pdev->devfn);
709 dev_data->bdf = devid;
710
711 pci_info(pdev, "%s bdf %#x iommu dev id %#x\n", __func__, dev_data->bdf, iommu->devid);
712 /* The initial state is 0, and 1 is added only when attach dev */
713 dev_data->count = 0;
714 dev_data->iommu = iommu;
715 dev_data->dev = dev;
716 dev->archdata.iommu = dev_data;
717 iommu_dev = &iommu->iommu_dev;
718 return iommu_dev;
719 }
720
> 721 struct iommu_device *la_iommu_probe_device(struct device *dev)
722 {
723 return iommu_init_device(dev);
724 }
725
726 static struct iommu_group *la_iommu_device_group(struct device *dev)
727 {
728 struct iommu_group *group;
729
730 /*
731 * We don't support devices sharing stream IDs other than PCI RID
732 * aliases, since the necessary ID-to-device lookup becomes rather
733 * impractical given a potential sparse 32-bit stream ID space.
734 */
735 if (dev_is_pci(dev))
736 group = pci_device_group(dev);
737 else
738 group = generic_device_group(dev);
739 return group;
740 }
741
742 static void la_iommu_remove_device(struct device *dev)
743 {
744 struct la_iommu_dev_data *dev_data;
745
746 iommu_group_remove_device(dev);
747 dev_data = dev->archdata.iommu;
748 dev->archdata.iommu = NULL;
749 kfree(dev_data);
750 }
751
> 752 struct iommu_info *get_iommu_info_from_dom(struct dom_info *priv, struct loongarch_iommu *iommu)
753 {
754 struct iommu_info *info;
755
756 spin_lock(&priv->lock);
757 list_for_each_entry(info, &priv->iommu_devlist, list) {
758 if (info->iommu == iommu) {
759 spin_unlock(&priv->lock);
760 return info;
761 }
762 }
763 spin_unlock(&priv->lock);
764 return NULL;
765 }
766
> 767 struct iommu_info *domain_attach_iommu(struct dom_info *priv, struct loongarch_iommu *iommu)
768 {
769 u32 dir_ctrl;
770 struct iommu_info *info;
771 unsigned long phys;
772
773 info = get_iommu_info_from_dom(priv, iommu);
774 if (info)
775 return info;
776
777 info = kzalloc(sizeof(struct iommu_info), GFP_KERNEL_ACCOUNT);
778 if (!info)
779 return NULL;
780
781 INIT_LIST_HEAD(&info->dev_list);
782 info->iommu = iommu;
783 info->id = domain_id_alloc(iommu);
784 if (info->id == -1) {
785 pr_info("%s alloc id for domain failed\n", __func__);
786 kfree(info);
787 return NULL;
788 }
789
790 phys = virt_to_phys(priv->pgd);
791 dir_ctrl = (IOMMU_LEVEL_STRIDE << 26) | (IOMMU_LEVEL_SHIFT(2) << 20);
792 dir_ctrl |= (IOMMU_LEVEL_STRIDE << 16) | (IOMMU_LEVEL_SHIFT(1) << 10);
793 dir_ctrl |= (IOMMU_LEVEL_STRIDE << 6) | IOMMU_LEVEL_SHIFT(0);
794 iommu_write_regl(iommu, LA_IOMMU_DIR_CTRL(info->id), dir_ctrl);
795 iommu_write_regl(iommu, LA_IOMMU_PGD_HI(info->id), phys >> 32);
796 iommu_write_regl(iommu, LA_IOMMU_PGD_LO(info->id), phys & UINT_MAX);
797
798 spin_lock(&priv->lock);
799 list_add(&info->list, &priv->iommu_devlist);
800 spin_unlock(&priv->lock);
801 add_domain_to_list(iommu, priv);
802 return info;
803 }
804
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] kernel/sched/relationship.c:46:51: error: 'struct task_struct' has no member named 'mems_allowed'
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: 2ac826b258e9aceefd719f7b0c3e3a9e73901ce5 [2579/2579] sched: Introduce task relationship by net and memory
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241214/202412141314.NmcppncZ-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412141314.NmcppncZ-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412141314.NmcppncZ-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/sched.h:23,
from arch/arm64/include/asm/compat.h:16,
from arch/arm64/include/asm/stat.h:13,
from include/linux/stat.h:6,
from include/linux/module.h:13,
from include/linux/bpf.h:20,
from include/linux/bpf_sched.h:5,
from kernel/sched/relationship.c:19:
kernel/sched/relationship.c: In function 'task_relationship_supported':
>> kernel/sched/relationship.c:46:51: error: 'struct task_struct' has no member named 'mems_allowed'
46 | !nodes_subset(node_online_map, tsk->mems_allowed) ||
| ^~
include/linux/nodemask.h:218:51: note: in definition of macro 'nodes_subset'
218 | __nodes_subset(&(src1), &(src2), MAX_NUMNODES)
| ^~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +46 kernel/sched/relationship.c
38
39 bool task_relationship_supported(struct task_struct *tsk)
40 {
41 if (!task_relationship_used())
42 return false;
43
44 if (!tsk->rship || !tsk->mm ||
45 !cpumask_subset(cpu_online_mask, tsk->cpus_ptr) ||
> 46 !nodes_subset(node_online_map, tsk->mems_allowed) ||
47 get_task_policy(tsk)->mode == MPOL_BIND ||
48 get_task_policy(tsk)->mode == MPOL_INTERLEAVE)
49 return false;
50
51 return true;
52 }
53
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-1.0-LTS] netfilter: ipset: add missing range check in bitmap_ip_uadt
by Dong Chenchen 14 Dec '24
by Dong Chenchen 14 Dec '24
14 Dec '24
From: Jeongjun Park <aha310510(a)gmail.com>
stable inclusion
from stable-v4.19.325
commit 3c20b5948f119ae61ee35ad8584d666020c91581
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB9NOX
CVE: CVE-2024-53141
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit 35f56c554eb1b56b77b3cf197a6b00922d49033d upstream.
When tb[IPSET_ATTR_IP_TO] is not present but tb[IPSET_ATTR_CIDR] exists,
the values of ip and ip_to are slightly swapped. Therefore, the range check
for ip should be done later, but this part is missing and it seems that the
vulnerability occurs.
So we should add missing range checks and remove unnecessary range checks.
Cc: <stable(a)vger.kernel.org>
Reported-by: syzbot+58c872f7790a4d2ac951(a)syzkaller.appspotmail.com
Fixes: 72205fc68bd1 ("netfilter: ipset: bitmap:ip set type support")
Signed-off-by: Jeongjun Park <aha310510(a)gmail.com>
Acked-by: Jozsef Kadlecsik <kadlec(a)blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo(a)netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
---
net/netfilter/ipset/ip_set_bitmap_ip.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/net/netfilter/ipset/ip_set_bitmap_ip.c b/net/netfilter/ipset/ip_set_bitmap_ip.c
index e3257077158f..49a6eec6f12f 100644
--- a/net/netfilter/ipset/ip_set_bitmap_ip.c
+++ b/net/netfilter/ipset/ip_set_bitmap_ip.c
@@ -166,11 +166,8 @@ bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[],
ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to);
if (ret)
return ret;
- if (ip > ip_to) {
+ if (ip > ip_to)
swap(ip, ip_to);
- if (ip < map->first_ip)
- return -IPSET_ERR_BITMAP_RANGE;
- }
} else if (tb[IPSET_ATTR_CIDR]) {
u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]);
@@ -181,7 +178,7 @@ bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[],
ip_to = ip;
}
- if (ip_to > map->last_ip)
+ if (ip < map->first_ip || ip_to > map->last_ip)
return -IPSET_ERR_BITMAP_RANGE;
for (; !before(ip_to, ip); ip += map->hosts) {
--
2.25.1
2
1

[PATCH openEuler-1.0-LTS] net: Fix icmp host relookup triggering ip_rt_bug
by Dong Chenchen 14 Dec '24
by Dong Chenchen 14 Dec '24
14 Dec '24
mainline inclusion
from mainline-v6.13-rc2
commit c44daa7e3c73229f7ac74985acb8c7fb909c4e0a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB515T
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
arp link failure may trigger ip_rt_bug while xfrm enabled, call trace is:
WARNING: CPU: 0 PID: 0 at net/ipv4/route.c:1241 ip_rt_bug+0x14/0x20
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.12.0-rc6-00077-g2e1b3cc9d7f7
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
RIP: 0010:ip_rt_bug+0x14/0x20
Call Trace:
<IRQ>
ip_send_skb+0x14/0x40
__icmp_send+0x42d/0x6a0
ipv4_link_failure+0xe2/0x1d0
arp_error_report+0x3c/0x50
neigh_invalidate+0x8d/0x100
neigh_timer_handler+0x2e1/0x330
call_timer_fn+0x21/0x120
__run_timer_base.part.0+0x1c9/0x270
run_timer_softirq+0x4c/0x80
handle_softirqs+0xac/0x280
irq_exit_rcu+0x62/0x80
sysvec_apic_timer_interrupt+0x77/0x90
The script below reproduces this scenario:
ip xfrm policy add src 0.0.0.0/0 dst 0.0.0.0/0 \
dir out priority 0 ptype main flag localok icmp
ip l a veth1 type veth
ip a a 192.168.141.111/24 dev veth0
ip l s veth0 up
ping 192.168.141.155 -c 1
icmp_route_lookup() create input routes for locally generated packets
while xfrm relookup ICMP traffic.Then it will set input route
(dst->out = ip_rt_bug) to skb for DESTUNREACH.
For ICMP err triggered by locally generated packets, dst->dev of output
route is loopback. Generally, xfrm relookup verification is not required
on loopback interfaces (net.ipv4.conf.lo.disable_xfrm = 1).
Skip icmp relookup for locally generated packets to fix it.
Fixes: 8b7817f3a959 ("[IPSEC]: Add ICMP host relookup support")
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
Reviewed-by: David Ahern <dsahern(a)kernel.org>
Reviewed-by: Eric Dumazet <edumazet(a)google.com>
Link: https://patch.msgid.link/20241127040850.1513135-1-dongchenchen2@huawei.com
Signed-off-by: Jakub Kicinski <kuba(a)kernel.org>
Conflicts:
net/ipv4/icmp.c
[commit 913c83a610bb("ipv4: Convert icmp_route_lookup() to dscp_t") wasnt
merged, which lead to context conflicts]
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
---
net/ipv4/icmp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c
index 4cbc1bb85ac0..e03003a9c6b0 100644
--- a/net/ipv4/icmp.c
+++ b/net/ipv4/icmp.c
@@ -525,6 +525,9 @@ static struct rtable *icmp_route_lookup(struct net *net,
if (!IS_ERR(rt)) {
if (rt != rt2)
return rt;
+ if (inet_addr_type_dev_table(net, route_lookup_dev,
+ fl4->daddr) == RTN_LOCAL)
+ return rt;
} else if (PTR_ERR(rt) == -EPERM) {
rt = NULL;
} else
--
2.25.1
2
1

[openeuler:OLK-5.10 2579/2579] kernel/sched/core.c:8146:29: error: 'root_task_group' undeclared; did you mean 'task_group'?
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: 00d37128abe2687fac974c5d21aa67fac6518c7c [2579/2579] sched: Introduce smart grid scheduling strategy for cfs
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241214/202412141149.8BSY27XL-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412141149.8BSY27XL-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412141149.8BSY27XL-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/sched/core.c:2746:6: warning: no previous prototype for 'sched_set_stop_task' [-Wmissing-prototypes]
2746 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/core.c: In function 'sched_cpu_activate':
kernel/sched/core.c:8012:9: error: implicit declaration of function 'tg_update_affinity_domains'; did you mean 'irq_update_affinity_desc'? [-Werror=implicit-function-declaration]
8012 | tg_update_affinity_domains(cpu, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| irq_update_affinity_desc
kernel/sched/core.c: In function 'sched_init_smp':
kernel/sched/core.c:8146:9: error: implicit declaration of function 'init_auto_affinity'; did you mean 'irq_set_affinity'? [-Werror=implicit-function-declaration]
8146 | init_auto_affinity(&root_task_group);
| ^~~~~~~~~~~~~~~~~~
| irq_set_affinity
>> kernel/sched/core.c:8146:29: error: 'root_task_group' undeclared (first use in this function); did you mean 'task_group'?
8146 | init_auto_affinity(&root_task_group);
| ^~~~~~~~~~~~~~~
| task_group
kernel/sched/core.c:8146:29: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +8146 kernel/sched/core.c
8121
8122 void __init sched_init_smp(void)
8123 {
8124 sched_init_numa();
8125 set_sched_cluster();
8126
8127 /*
8128 * There's no userspace yet to cause hotplug operations; hence all the
8129 * CPU masks are stable and all blatant races in the below code cannot
8130 * happen.
8131 */
8132 mutex_lock(&sched_domains_mutex);
8133 sched_init_domains(cpu_active_mask);
8134 mutex_unlock(&sched_domains_mutex);
8135
8136 /* Move init over to a non-isolated CPU */
8137 if (set_cpus_allowed_ptr(current, housekeeping_cpumask(HK_FLAG_DOMAIN)) < 0)
8138 BUG();
8139 sched_init_granularity();
8140
8141 init_sched_rt_class();
8142 init_sched_dl_class();
8143
8144 sched_smp_initialized = true;
8145
> 8146 init_auto_affinity(&root_task_group);
8147 }
8148
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/loongarch/kernel/paravirt.c:302:35: error: 'mp_ops' undeclared; did you mean 'smp_ops'?
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: b6239f748d0d896e39b9d41f108163bdb235b8bd [1636/1636] LoongArch: Fix AP booting issue in VM mode
config: loongarch-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241214/202412141010.py9YL9Li-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412141010.py9YL9Li-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412141010.py9YL9Li-lkp@intel.com/
All errors (new ones prefixed by >>):
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:82:1: note: in expansion of macro 'early_param'
82 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:335:27: note: previous definition of '__setup_str_parse_no_stealacc' with type 'const char[13]'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:30:1: note: in expansion of macro 'early_param'
30 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:337:40: error: redefinition of '__setup_parse_no_stealacc'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:82:1: note: in expansion of macro 'early_param'
82 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:337:40: note: previous definition of '__setup_parse_no_stealacc' with type 'struct obs_kernel_param'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:30:1: note: in expansion of macro 'early_param'
30 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:103:13: error: redefinition of 'steal_acc'
103 | static bool steal_acc = true;
| ^~~~~~~~~
arch/loongarch/kernel/paravirt.c:75:13: note: previous definition of 'steal_acc' with type 'bool' {aka '_Bool'}
75 | static bool steal_acc = true;
| ^~~~~~~~~
arch/loongarch/kernel/paravirt.c:105:19: error: redefinition of 'parse_no_stealacc'
105 | static int __init parse_no_stealacc(char *arg)
| ^~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:77:19: note: previous definition of 'parse_no_stealacc' with type 'int(char *)'
77 | static int __init parse_no_stealacc(char *arg)
| ^~~~~~~~~~~~~~~~~
include/linux/init.h:335:27: error: redefinition of '__setup_str_parse_no_stealacc'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:110:1: note: in expansion of macro 'early_param'
110 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:335:27: note: previous definition of '__setup_str_parse_no_stealacc' with type 'const char[13]'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:82:1: note: in expansion of macro 'early_param'
82 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:337:40: error: redefinition of '__setup_parse_no_stealacc'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:110:1: note: in expansion of macro 'early_param'
110 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:337:40: note: previous definition of '__setup_parse_no_stealacc' with type 'struct obs_kernel_param'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:82:1: note: in expansion of macro 'early_param'
82 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:112:12: error: redefinition of 'paravt_steal_clock'
112 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:84:12: note: previous definition of 'paravt_steal_clock' with type 'u64(int)' {aka 'long long unsigned int(int)'}
84 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_single':
arch/loongarch/kernel/paravirt.c:149:24: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
149 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, 1, 0, min);
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c:149:24: note: each undeclared identifier is reported only once for each function it appears in
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_mask':
arch/loongarch/kernel/paravirt.c:188:40: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
188 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI,
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c: In function 'pv_ipi_init':
>> arch/loongarch/kernel/paravirt.c:302:35: error: 'mp_ops' undeclared (first use in this function); did you mean 'smp_ops'?
302 | native_ops = mp_ops;
| ^~~~~~
| smp_ops
arch/loongarch/kernel/paravirt.c: At top level:
arch/loongarch/kernel/paravirt.c:385:13: error: redefinition of 'pv_disable_steal_time'
385 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:239:13: note: previous definition of 'pv_disable_steal_time' with type 'void(void)'
239 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:415:13: error: redefinition of 'pv_cpu_reboot'
415 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:311:13: note: previous definition of 'pv_cpu_reboot' with type 'void(void *)'
311 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:420:12: error: redefinition of 'pv_reboot_notify'
420 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:316:12: note: previous definition of 'pv_reboot_notify' with type 'int(struct notifier_block *, long unsigned int, void *)'
316 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code,
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:426:30: error: redefinition of 'pv_reboot_nb'
426 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:323:30: note: previous definition of 'pv_reboot_nb' with type 'struct notifier_block'
323 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:430:12: error: redefinition of 'pv_time_init'
430 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:327:12: note: previous definition of 'pv_time_init' with type 'int(void)'
327 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:469:12: error: redefinition of 'pv_enable_steal_time'
469 | static int pv_enable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:361:12: note: previous definition of 'pv_enable_steal_time' with type 'int(void)'
361 | static int pv_enable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:493:13: error: redefinition of 'pv_disable_steal_time'
493 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:385:13: note: previous definition of 'pv_disable_steal_time' with type 'void(void)'
385 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:500:12: error: redefinition of 'pv_time_cpu_online'
500 | static int pv_time_cpu_online(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:392:12: note: previous definition of 'pv_time_cpu_online' with type 'int(unsigned int)'
392 | static int pv_time_cpu_online(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:511:12: error: redefinition of 'pv_time_cpu_down_prepare'
511 | static int pv_time_cpu_down_prepare(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:403:12: note: previous definition of 'pv_time_cpu_down_prepare' with type 'int(unsigned int)'
403 | static int pv_time_cpu_down_prepare(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:523:13: error: redefinition of 'pv_cpu_reboot'
523 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:415:13: note: previous definition of 'pv_cpu_reboot' with type 'void(void *)'
415 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:528:12: error: redefinition of 'pv_reboot_notify'
528 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:420:12: note: previous definition of 'pv_reboot_notify' with type 'int(struct notifier_block *, long unsigned int, void *)'
420 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:534:30: error: redefinition of 'pv_reboot_nb'
534 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:426:30: note: previous definition of 'pv_reboot_nb' with type 'struct notifier_block'
426 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:538:12: error: redefinition of 'pv_time_init'
538 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:327:12: note: previous definition of 'pv_time_init' with type 'int(void)'
327 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:84:12: warning: 'paravt_steal_clock' defined but not used [-Wunused-function]
84 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
vim +302 arch/loongarch/kernel/paravirt.c
295
296 int __init pv_ipi_init(void)
297 {
298 if (!kvm_para_has_feature(KVM_FEATURE_IPI))
299 return 0;
300
301 #ifdef CONFIG_SMP
> 302 native_ops = mp_ops;
303 smp_ops.init_ipi = pv_init_ipi;
304 smp_ops.send_ipi_single = pv_send_ipi_single;
305 smp_ops.send_ipi_mask = pv_send_ipi_mask;
306 #endif
307
308 return 0;
309 }
310
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:4215:63: error: 'HUGETLB_ALLOC_NORECLAIM' undeclared
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
Hi Guo,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: 107e2b7c4b1d007583efab423cc48429c87c6408 [2579/2579] mm/sharepool: Fix sharepool hugepage cgroup uncount error.
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241214/202412140941.hd45mfxv-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140941.hd45mfxv-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140941.hd45mfxv-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/share_pool.c:864:23: warning: no previous prototype for 'find_spg_node_by_spg' [-Wmissing-prototypes]
864 | struct sp_group_node *find_spg_node_by_spg(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sp_hugetlb_entry':
mm/share_pool.c:3073:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
3073 | pte_t pte = huge_ptep_get(ptep);
| ^~~~~~~~~~~~~
mm/share_pool.c:3073:21: error: invalid initializer
mm/share_pool.c: In function 'sp_unshare_kva':
mm/share_pool.c:3450:14: warning: variable 'is_hugepage' set but not used [-Wunused-but-set-variable]
3450 | bool is_hugepage = true;
| ^~~~~~~~~~~
mm/share_pool.c: At top level:
mm/share_pool.c:3942:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes]
3942 | void spa_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:4024:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes]
4024 | void spg_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sharepool_no_page':
mm/share_pool.c:4215:41: error: 'HUGETLB_ALLOC_BUDDY' undeclared (first use in this function)
4215 | HUGETLB_ALLOC_BUDDY | HUGETLB_ALLOC_NORECLAIM);
| ^~~~~~~~~~~~~~~~~~~
mm/share_pool.c:4215:41: note: each undeclared identifier is reported only once for each function it appears in
>> mm/share_pool.c:4215:63: error: 'HUGETLB_ALLOC_NORECLAIM' undeclared (first use in this function)
4215 | HUGETLB_ALLOC_BUDDY | HUGETLB_ALLOC_NORECLAIM);
| ^~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration]
4221 | if (!huge_pte_none(huge_ptep_get(ptep))) {
| ^~~~~~~~~~~~~
| huge_pte_lock
mm/share_pool.c:4234:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration]
4234 | err = huge_add_to_page_cache(page, mapping, idx);
| ^~~~~~~~~~~~~~~~~~~~~~
| add_to_page_cache
mm/share_pool.c:4256:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration]
4256 | set_huge_pte_at(mm, haddr, ptep, new_pte);
| ^~~~~~~~~~~~~~~
| set_huge_swap_pte_at
mm/share_pool.c:4258:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration]
4258 | hugetlb_count_add(pages_per_huge_page(h), mm);
| ^~~~~~~~~~~~~~~~~
| hugetlb_count_sub
mm/share_pool.c: At top level:
mm/share_pool.c:4119:12: warning: 'proc_usage_show' defined but not used [-Wunused-function]
4119 | static int proc_usage_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~
mm/share_pool.c:4097:12: warning: 'proc_group_usage_show' defined but not used [-Wunused-function]
4097 | static int proc_group_usage_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:4049:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
4049 | static int spa_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/HUGETLB_ALLOC_NORECLAIM +4215 mm/share_pool.c
4180
4181 vm_fault_t sharepool_no_page(struct mm_struct *mm,
4182 struct vm_area_struct *vma,
4183 struct address_space *mapping, pgoff_t idx,
4184 unsigned long address, pte_t *ptep, unsigned int flags)
4185 {
4186 struct hstate *h = hstate_vma(vma);
4187 vm_fault_t ret = VM_FAULT_SIGBUS;
4188 unsigned long size;
4189 struct page *page;
4190 pte_t new_pte;
4191 spinlock_t *ptl;
4192 unsigned long haddr = address & huge_page_mask(h);
4193 bool new_page = false;
4194 int err;
4195 int node_id;
4196 struct sp_area *spa;
4197
4198 spa = vma->vm_private_data;
4199 if (!spa) {
4200 pr_err("share pool: vma is invalid, not from sp mmap\n");
4201 return ret;
4202 }
4203 node_id = spa->node_id;
4204
4205 retry:
4206 page = find_lock_page(mapping, idx);
4207 if (!page) {
4208 size = i_size_read(mapping->host) >> huge_page_shift(h);
4209 if (idx >= size)
4210 goto out;
4211
4212 page = alloc_huge_page(vma, haddr, 0);
4213 if (IS_ERR(page)) {
4214 page = hugetlb_alloc_hugepage(node_id,
> 4215 HUGETLB_ALLOC_BUDDY | HUGETLB_ALLOC_NORECLAIM);
4216 if (!page)
4217 page = ERR_PTR(-ENOMEM);
4218 }
4219 if (IS_ERR(page)) {
4220 ptl = huge_pte_lock(h, mm, ptep);
4221 if (!huge_pte_none(huge_ptep_get(ptep))) {
4222 ret = 0;
4223 spin_unlock(ptl);
4224 goto out;
4225 }
4226 spin_unlock(ptl);
4227 ret = vmf_error(PTR_ERR(page));
4228 goto out;
4229 }
4230 __SetPageUptodate(page);
4231 new_page = true;
4232
4233 /* sharepool pages are all shared */
4234 err = huge_add_to_page_cache(page, mapping, idx);
4235 if (err) {
4236 put_page(page);
4237 if (err == -EEXIST)
4238 goto retry;
4239 goto out;
4240 }
4241 }
4242
4243
4244 ptl = huge_pte_lock(h, mm, ptep);
4245 size = i_size_read(mapping->host) >> huge_page_shift(h);
4246 if (idx >= size)
4247 goto backout;
4248
4249 ret = 0;
4250 if (!huge_pte_none(huge_ptep_get(ptep)))
4251 goto backout;
4252
4253 page_dup_rmap(page, true);
4254 new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE)
4255 && (vma->vm_flags & VM_SHARED)));
4256 set_huge_pte_at(mm, haddr, ptep, new_pte);
4257
4258 hugetlb_count_add(pages_per_huge_page(h), mm);
4259
4260 spin_unlock(ptl);
4261
4262 if (new_page) {
4263 SetPagePrivate(&page[1]);
4264 }
4265
4266 unlock_page(page);
4267 out:
4268 return ret;
4269
4270 backout:
4271 spin_unlock(ptl);
4272 unlock_page(page);
4273 put_page(page);
4274 goto out;
4275 }
4276
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/x86/kernel/cpu/hygon.c:480:6: warning: no previous prototype for function 'set_c86_features_para_invalid'
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 48fb9af1d04848a2583b2dbf3b7091eca38dd482 [1636/1636] mm: Enhanced copy capabilities for Hygon processor
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241214/202412140911.UsV56v7f-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140911.UsV56v7f-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140911.UsV56v7f-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/hygon.c:480:6: warning: no previous prototype for function 'set_c86_features_para_invalid' [-Wmissing-prototypes]
480 | void set_c86_features_para_invalid(void)
| ^
arch/x86/kernel/cpu/hygon.c:480:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
480 | void set_c86_features_para_invalid(void)
| ^
| static
>> arch/x86/kernel/cpu/hygon.c:485:14: warning: no previous prototype for function 'get_nt_block_copy_mini_len' [-Wmissing-prototypes]
485 | unsigned int get_nt_block_copy_mini_len(void)
| ^
arch/x86/kernel/cpu/hygon.c:485:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
485 | unsigned int get_nt_block_copy_mini_len(void)
| ^
| static
2 warnings generated.
--
In file included from arch/x86/kernel/fpu/core.c:14:
In file included from arch/x86/include/asm/traps.h:6:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2242:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/fpu/core.c:466:14: warning: no previous prototype for function 'get_fpustate_free_space' [-Wmissing-prototypes]
466 | unsigned int get_fpustate_free_space(struct fpu *fpu)
| ^
arch/x86/kernel/fpu/core.c:466:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
466 | unsigned int get_fpustate_free_space(struct fpu *fpu)
| ^
| static
6 warnings generated.
vim +/set_c86_features_para_invalid +480 arch/x86/kernel/cpu/hygon.c
479
> 480 void set_c86_features_para_invalid(void)
481 {
482 memset((void *)&hygon_c86_data, 0, sizeof(struct hygon_c86_info));
483 }
484
> 485 unsigned int get_nt_block_copy_mini_len(void)
486 {
487 unsigned int mini_len = hygon_c86_data.nt_cpy_mini_len;
488
489 return mini_len;
490 }
491 EXPORT_SYMBOL_GPL(get_nt_block_copy_mini_len);
492
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] drivers/scsi/leapioraid/leapioraid_func.c:2040:75: warning: '%u' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 26
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 15ac0de239497e0a3497a106b9c0cc8795f0144a [1636/1636] LeapIOraid: Fix the compilation warnings in LeapIOraid driver in loongarch64
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20241214/202412140904.HG96zLGT-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140904.HG96zLGT-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140904.HG96zLGT-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_request_irq':
>> drivers/scsi/leapioraid/leapioraid_func.c:2040:75: warning: '%u' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 26 [-Wformat-truncation=]
2040 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-msix%u",
| ^~
drivers/scsi/leapioraid/leapioraid_func.c:2040:65: note: directive argument in the range [0, 254]
2040 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-msix%u",
| ^~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2040:17: note: 'snprintf' output between 8 and 35 bytes into a destination of size 32
2040 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-msix%u",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2041 | ioc->driver_name, ioc->id, index);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2031:70: warning: '-mq-poll' directive output may be truncated writing 8 bytes into a region of size between 6 and 31 [-Wformat-truncation=]
2031 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-mq-poll%u",
| ^~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2031:65: note: directive argument in the range [0, 255]
2031 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-mq-poll%u",
| ^~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2031:17: note: 'snprintf' output between 11 and 38 bytes into a destination of size 32
2031 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-mq-poll%u",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2032 | ioc->driver_name, ioc->id, qid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +2040 drivers/scsi/leapioraid/leapioraid_func.c
2013
2014 static int
2015 leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
2016 {
2017 struct leapioraid_adapter_reply_queue *reply_q;
2018 int r;
2019 u8 qid;
2020
2021 reply_q = kzalloc(sizeof(struct leapioraid_adapter_reply_queue),
2022 GFP_KERNEL);
2023 if (!reply_q)
2024 return -ENOMEM;
2025
2026 reply_q->ioc = ioc;
2027 reply_q->msix_index = index;
2028 atomic_set(&reply_q->busy, 0);
2029 if (index >= ioc->iopoll_q_start_index) {
2030 qid = index - ioc->iopoll_q_start_index;
2031 snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-mq-poll%u",
2032 ioc->driver_name, ioc->id, qid);
2033 reply_q->is_blk_mq_poll_q = 1;
2034 ioc->blk_mq_poll_queues[qid].reply_q = reply_q;
2035 INIT_LIST_HEAD(&reply_q->list);
2036 list_add_tail(&reply_q->list, &ioc->reply_queue_list);
2037 return 0;
2038 }
2039 if (ioc->msix_enable)
> 2040 snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-msix%u",
2041 ioc->driver_name, ioc->id, index);
2042 else
2043 snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d",
2044 ioc->driver_name, ioc->id);
2045 r = request_irq(pci_irq_vector(ioc->pdev, index), leapioraid_base_interrupt,
2046 IRQF_SHARED, reply_q->name, reply_q);
2047 if (r) {
2048 pr_err("%s unable to allocate interrupt %d!\n", reply_q->name,
2049 pci_irq_vector(ioc->pdev, index));
2050 kfree(reply_q);
2051 return -EBUSY;
2052 }
2053
2054 INIT_LIST_HEAD(&reply_q->list);
2055 list_add_tail(&reply_q->list, &ioc->reply_queue_list);
2056 return 0;
2057 }
2058
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-5.10] xfs: allow inode inactivation during a ro mount log recovery
by Zizhi Wo 14 Dec '24
by Zizhi Wo 14 Dec '24
14 Dec '24
From: "Darrick J. Wong" <djwong(a)kernel.org>
stable inclusion
from stable-v6.1.92
commit 4db0e08ef9aceee6947ebdb387439b5600e7564f
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBB6IN
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
[ Upstream commit 76e589013fec672c3587d6314f2d1f0aeddc26d9 ]
In the next patch, we're going to prohibit log recovery if the primary
superblock contains an unrecognized rocompat feature bit even on
readonly mounts. This requires removing all the code in the log
mounting process that temporarily disables the readonly state.
Unfortunately, inode inactivation disables itself on readonly mounts.
Clearing the iunlinked lists after log recovery needs inactivation to
run to free the unreferenced inodes, which (AFAICT) is the only reason
why log mounting plays games with the readonly state in the first place.
Therefore, change the inactivation predicates to allow inactivation
during log recovery of a readonly mount.
Fixes: 400cf2265d55 ("[Backport] xfs: fix log recovery when unknown rocompat bits are set")
Signed-off-by: Darrick J. Wong <djwong(a)kernel.org>
Reviewed-by: Dave Chinner <dchinner(a)redhat.com>
Signed-off-by: Leah Rumancik <leah.rumancik(a)gmail.com>
Acked-by: Darrick J. Wong <djwong(a)kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Zizhi Wo <wozizhi(a)huawei.com>
---
fs/xfs/xfs_inode.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index f77a27f73bb5..3230cc0ff722 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1841,8 +1841,11 @@ xfs_inode_needs_inactive(
if (VFS_I(ip)->i_mode == 0)
return false;
- /* If this is a read-only mount, don't do this (would generate I/O) */
- if (xfs_is_readonly(mp))
+ /*
+ * If this is a read-only mount, don't do this (would generate I/O)
+ * unless we're in log recovery and cleaning the iunlinked list.
+ */
+ if (xfs_is_readonly(mp) && !xlog_recovery_needed(mp->m_log))
return false;
/* If the log isn't running, push inodes straight to reclaim. */
@@ -1902,8 +1905,11 @@ xfs_inactive(
mp = ip->i_mount;
ASSERT(!xfs_iflags_test(ip, XFS_IRECOVERY));
- /* If this is a read-only mount, don't do this (would generate I/O) */
- if (xfs_is_readonly(mp))
+ /*
+ * If this is a read-only mount, don't do this (would generate I/O)
+ * unless we're in log recovery and cleaning the iunlinked list.
+ */
+ if (xfs_is_readonly(mp) && !xlog_recovery_needed(mp->m_log))
goto out;
/* Metadata inodes require explicit resource cleanup. */
--
2.46.1
2
1

[openeuler:OLK-6.6] BUILD REGRESSION d68dc6ee371ec5466be9b2d76bdca0b360940adc
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: d68dc6ee371ec5466be9b2d76bdca0b360940adc !13999 add iommu support for loongarch
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412132352.24cSlwix-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412132355.qfya7e74-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412140030.ws7cfuVO-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412140300.AvxBVNVW-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412140757.roYzDP2E-lkp@intel.com
arch/loongarch/kernel/paravirt.c:111:12: error: redefinition of 'paravt_steal_clock'
arch/loongarch/kernel/paravirt.c:363:13: error: redefinition of 'pv_disable_steal_time'
arch/loongarch/kernel/paravirt.c:393:13: error: redefinition of 'pv_cpu_reboot'
arch/loongarch/kernel/paravirt.c:398:12: error: redefinition of 'pv_reboot_notify'
arch/loongarch/kernel/paravirt.c:404:30: error: redefinition of 'pv_reboot_nb'
arch/loongarch/kernel/paravirt.c:408:12: error: redefinition of 'pv_time_init'
arch/loongarch/kernel/paravirt.c:453:12: error: redefinition of 'pv_enable_steal_time'
arch/loongarch/kernel/paravirt.c:484:12: error: redefinition of 'pv_time_cpu_online'
arch/loongarch/kernel/paravirt.c:495:12: error: redefinition of 'pv_time_cpu_down_prepare'
arch/loongarch/kernel/paravirt.c:74:13: error: redefinition of 'steal_acc'
arch/loongarch/kernel/paravirt.c:76:19: error: redefinition of 'parse_no_stealacc'
arch/loongarch/kernel/paravirt.c:83:12: warning: 'paravt_steal_clock' defined but not used [-Wunused-function]
arch/loongarch/kernel/paravirt.c:85:24: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
arch/loongarch/kvm/intc/pch_pic.c:459:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'e' not described in 'kvm_set_msi'
arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'irq_source_id' not described in 'kvm_set_msi'
arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'kvm' not described in 'kvm_set_msi'
arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'level' not described in 'kvm_set_msi'
arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'line_status' not described in 'kvm_set_msi'
arch/loongarch/kvm/vm.c:115:19: warning: variable 'vcpu' set but not used [-Wunused-but-set-variable]
arch/loongarch/kvm/vm.c:115:30: warning: variable 'vcpus' set but not used [-Wunused-but-set-variable]
binfmt_elf32.c:(.text+0x1458): undefined reference to `arch_elf_adjust_prot'
include/linux/init.h:335:27: error: redefinition of '__setup_str_parse_no_stealacc'
include/linux/init.h:337:40: error: redefinition of '__setup_parse_no_stealacc'
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-randconfig-001-20241213
| |-- binfmt_elf32.c:(.text):undefined-reference-to-arch_elf_adjust_prot
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-002-20241213
| |-- arch-arm64-include-asm-syscall_wrapper.h:error:implicit-declaration-of-function-__do_sys_membarrier
| |-- arch-arm64-include-asm-syscall_wrapper.h:error:implicit-declaration-of-function-__se_sys_membarrier
| |-- arch-arm64-include-asm-syscall_wrapper.h:error:invalid-storage-class-for-function-__do_sys_membarrier
| |-- arch-arm64-include-asm-syscall_wrapper.h:error:invalid-storage-class-for-function-__se_sys_membarrier
| |-- arch-arm64-include-asm-syscall_wrapper.h:error:static-declaration-of-__arm64_sys_membarrier-follows-non-static-declaration
| |-- arch-arm64-include-asm-syscall_wrapper.h:warning:__arm64_sys_membarrier-defined-but-not-used
| |-- arch-arm64-include-asm-syscall_wrapper.h:warning:__se_sys_membarrier-defined-but-not-used
| |-- include-linux-syscalls.h:error:redeclaration-of-__syscall_meta__membarrier-with-no-linkage
| |-- kernel-sched-build_utility.c:error:expected-declaration-or-statement-at-end-of-input
| |-- kernel-sched-core.c:warning:format-llu-expects-argument-of-type-long-long-unsigned-int-but-argument-has-type-int
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_mb
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_rseq
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_sync_core
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-ipi_sync_rq_state
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_get_registrations
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_global_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_private_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_register_global_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-membarrier_register_private_expedited
| |-- kernel-sched-membarrier.c:error:invalid-storage-class-for-function-sync_runqueues_membarrier_state
| |-- kernel-sched-membarrier.c:warning:membarrier_exec_mmap-defined-but-not-used
| |-- kernel-sched-membarrier.c:warning:membarrier_update_current_mm-defined-but-not-used
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-collect_percpu_times
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-get_recent_stat_times
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-init_rtpoll_triggers
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-poll_timer_fn
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_avgs_work
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_flags_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_group_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_group_stat_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_rtpoll_work
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_rtpoll_worker
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_schedule_rtpoll_work
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-psi_stat_flags_change
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-record_times
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-task_is_in_psi_v1
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-task_psi_group
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-test_fine_grained_stat
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-update_averages
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-update_throttle_type
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-update_triggers
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-window_reset
| |-- kernel-sched-psi.c:error:invalid-storage-class-for-function-window_update
| |-- kernel-sched-psi.c:error:non-static-declaration-of-psi_memstall_enter-follows-static-declaration
| |-- kernel-sched-psi.c:error:non-static-declaration-of-psi_memstall_leave-follows-static-declaration
| |-- kernel-sched-psi.c:warning:cgroup_move_task-defined-but-not-used
| |-- kernel-sched-psi.c:warning:poll_timer_fn-defined-but-not-used
| |-- kernel-sched-psi.c:warning:poll_timer_fn-used-but-never-defined
| |-- kernel-sched-psi.c:warning:psi_avgs_work-used-but-never-defined
| |-- kernel-sched-psi.c:warning:psi_cgroup_alloc-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_cgroup_free-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_cgroup_restart-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_show-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_task_switch-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_trigger_create-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_trigger_destroy-defined-but-not-used
| |-- kernel-sched-psi.c:warning:psi_trigger_poll-defined-but-not-used
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- arm64-randconfig-003-20241213
| |-- drivers-char-ipmi-ipmi_bt_sm.c:error:call-to-undeclared-function-acpi_evaluate_integer-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_lib.c:error:no-member-named-gso_need_padding-in-struct-rnpm_tx_buffer
| |-- drivers-net-ethernet-mucse-rnpm-rnpm_main.c:error:no-member-named-gso_need_padding-in-struct-rnpm_tx_buffer
| |-- instantiation:error:expected-absolute-expression
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- arm64-randconfig-004-20241213
| |-- crypto-asymmetric_keys-pgp_preload.c:error:PGP_PKT_PUBLIC_KEY-undeclared-(first-use-in-this-function)
| |-- crypto-asymmetric_keys-pgp_preload.c:error:function-declaration-isn-t-a-prototype
| |-- crypto-asymmetric_keys-pgp_preload.c:error:parameter-(-type-)-has-incomplete-type
| |-- crypto-asymmetric_keys-pgp_preload.c:warning:enum-pgp_packet_tag-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- crypto-asymmetric_keys-pgp_preload.c:warning:no-previous-prototype-for-preload_pgp_keys
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:PGP_KEY_VERSION_4-undeclared-(first-use-in-this-function)
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:PGP_PKT_PUBLIC_KEY-undeclared-(first-use-in-this-function)
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:PGP_PKT_USER_ID-undeclared-(first-use-in-this-function)
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:PGP_PUBKEY__LAST-undeclared-(first-use-in-this-function)
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:function-declaration-isn-t-a-prototype
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-kenter
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-kleave
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-mpi_key_length
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:parameter-(-type-)-has-incomplete-type
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:pgp_to_public_key_algo-undeclared-(first-use-in-this-function)
| |-- crypto-asymmetric_keys-pgp_public_key.c:warning:enum-pgp_packet_tag-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- kernel-cgroup-cgroup.c:error:cgroup_psi_stat_show-undeclared-here-(not-in-a-function)
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allmodconfig
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allyesconfig
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-randconfig-001-20241213
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kvm-intc-pch_pic.c:warning:variable-ret-set-but-not-used
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-e-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-irq_source_id-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-kvm-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-level-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-irqfd.c:warning:Function-parameter-or-member-line_status-not-described-in-kvm_set_msi
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpu-set-but-not-used
| |-- arch-loongarch-kvm-vm.c:warning:variable-vcpus-set-but-not-used
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-randconfig-002-20241213
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- arch-loongarch-kernel-paravirt.c:error:KVM_HCALL_FUNC_PV_IPI-undeclared-(first-use-in-this-function)
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-paravt_steal_clock
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-parse_no_stealacc
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_cpu_reboot
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_disable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_enable_steal_time
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_nb
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_reboot_notify
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_down_prepare
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_cpu_online
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-pv_time_init
| |-- arch-loongarch-kernel-paravirt.c:error:redefinition-of-steal_acc
| |-- arch-loongarch-kernel-paravirt.c:warning:paravt_steal_clock-defined-but-not-used
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-init.h:error:redefinition-of-parse_no_stealacc
| |-- include-linux-init.h:error:redefinition-of-str_parse_no_stealacc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-r111-20241210
| |-- arch-loongarch-kernel-kfpu.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-bool-noderef-__percpu
| |-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-int-noderef-__percpu
| `-- mm-show_mem.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-int-noderef-__percpu
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allyesconfig
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-sm3_generic_block_fn
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_finup
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_update
| |-- arch-x86-crypto-sm4-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-gmi_sm4_set_key
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- arch-x86-kvm-svm-csv.c:warning:no-previous-prototype-for-function-csv_vm_attestation
| |-- arch-x86-kvm-svm-sev.c:warning:no-previous-prototype-for-function-sev_install_hooks
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-crypto-montage-tsse-tsse_ipc_api.c:warning:variable-device_handle-is-uninitialized-when-used-here
| |-- drivers-gpu-drm-amd-amdgpu-..-amdkfd-kfd_topology.c:warning:stack-frame-size-()-exceeds-limit-()-in-kfd_topology_add_device
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-calcs-dcn_calc_auto.c:warning:stack-frame-size-()-exceeds-limit-()-in-mode_support_and_system_configuration
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-dcn30-display_mode_vba_30.c:warning:stack-frame-size-()-exceeds-limit-()-in-dml30_ModeSupportAndSystemConfigurationFull
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-001-20241213
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241213
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-003-20241213
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-004-20241213
| |-- drivers-media-dvb-frontends-cxd2880-cxd2880_devio_spi.c:warning:memcpy-writing-bytes-into-a-region-of-size-overflows-the-destination
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-005-20241213
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:setup_max_cpus-undeclared-(first-use-in-this-function)
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-006-20241213
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:use-of-undeclared-identifier-setup_max_cpus
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
`-- x86_64-defconfig
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 816m
configs tested: 17
configs skipped: 83
tested configs:
arm64 allmodconfig clang-18
arm64 randconfig-001-20241213 gcc-14.2.0
arm64 randconfig-002-20241213 gcc-14.2.0
arm64 randconfig-003-20241213 clang-18
arm64 randconfig-004-20241213 gcc-14.2.0
loongarch allmodconfig gcc-14.2.0
loongarch randconfig-001-20241213 gcc-14.2.0
loongarch randconfig-002-20241213 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241213 gcc-12
x86_64 buildonly-randconfig-002-20241213 gcc-12
x86_64 buildonly-randconfig-003-20241213 gcc-12
x86_64 buildonly-randconfig-004-20241213 gcc-12
x86_64 buildonly-randconfig-005-20241213 gcc-12
x86_64 buildonly-randconfig-006-20241213 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:4227:64: error: 'HUGETLB_ALLOC_BUDDY' undeclared
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
Hi Guo,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 6c3413fbf8c430b89f5d23f465e10e99ea145199
commit: bec70574669710bd0962f1f6807363915fc94f16 [2579/2579] mm/sharepool: fix hugepage_rsvd count increase error
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241214/202412140704.cam9C57r-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140704.cam9C57r-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140704.cam9C57r-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/share_pool.c:865:23: warning: no previous prototype for 'find_spg_node_by_spg' [-Wmissing-prototypes]
865 | struct sp_group_node *find_spg_node_by_spg(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sp_hugetlb_entry':
mm/share_pool.c:3085:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
3085 | pte_t pte = huge_ptep_get(ptep);
| ^~~~~~~~~~~~~
mm/share_pool.c:3085:21: error: invalid initializer
mm/share_pool.c: In function 'sp_unshare_kva':
mm/share_pool.c:3462:14: warning: variable 'is_hugepage' set but not used [-Wunused-but-set-variable]
3462 | bool is_hugepage = true;
| ^~~~~~~~~~~
mm/share_pool.c: At top level:
mm/share_pool.c:3954:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes]
3954 | void spa_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:4036:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes]
4036 | void spg_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sharepool_no_page':
>> mm/share_pool.c:4227:64: error: 'HUGETLB_ALLOC_BUDDY' undeclared (first use in this function)
4227 | page = hugetlb_alloc_hugepage(node_id, HUGETLB_ALLOC_BUDDY);
| ^~~~~~~~~~~~~~~~~~~
mm/share_pool.c:4227:64: note: each undeclared identifier is reported only once for each function it appears in
mm/share_pool.c:4233:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration]
4233 | if (!huge_pte_none(huge_ptep_get(ptep))) {
| ^~~~~~~~~~~~~
| huge_pte_lock
mm/share_pool.c:4246:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration]
4246 | err = huge_add_to_page_cache(page, mapping, idx);
| ^~~~~~~~~~~~~~~~~~~~~~
| add_to_page_cache
mm/share_pool.c:4268:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration]
4268 | set_huge_pte_at(mm, haddr, ptep, new_pte);
| ^~~~~~~~~~~~~~~
| set_huge_swap_pte_at
mm/share_pool.c:4270:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration]
4270 | hugetlb_count_add(pages_per_huge_page(h), mm);
| ^~~~~~~~~~~~~~~~~
| hugetlb_count_sub
mm/share_pool.c: At top level:
mm/share_pool.c:4132:12: warning: 'proc_usage_show' defined but not used [-Wunused-function]
4132 | static int proc_usage_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~
mm/share_pool.c:4110:12: warning: 'proc_group_usage_show' defined but not used [-Wunused-function]
4110 | static int proc_group_usage_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:4061:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
4061 | static int spa_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/HUGETLB_ALLOC_BUDDY +4227 mm/share_pool.c
4193
4194 vm_fault_t sharepool_no_page(struct mm_struct *mm,
4195 struct vm_area_struct *vma,
4196 struct address_space *mapping, pgoff_t idx,
4197 unsigned long address, pte_t *ptep, unsigned int flags)
4198 {
4199 struct hstate *h = hstate_vma(vma);
4200 vm_fault_t ret = VM_FAULT_SIGBUS;
4201 unsigned long size;
4202 struct page *page;
4203 pte_t new_pte;
4204 spinlock_t *ptl;
4205 unsigned long haddr = address & huge_page_mask(h);
4206 bool new_page = false;
4207 int err;
4208 int node_id;
4209 struct sp_area *spa;
4210
4211 spa = vma->vm_private_data;
4212 if (!spa) {
4213 pr_err("share pool: vma is invalid, not from sp mmap\n");
4214 return ret;
4215 }
4216 node_id = spa->node_id;
4217
4218 retry:
4219 page = find_lock_page(mapping, idx);
4220 if (!page) {
4221 size = i_size_read(mapping->host) >> huge_page_shift(h);
4222 if (idx >= size)
4223 goto out;
4224
4225 page = alloc_huge_page(vma, haddr, 0);
4226 if (IS_ERR(page)) {
> 4227 page = hugetlb_alloc_hugepage(node_id, HUGETLB_ALLOC_BUDDY);
4228 if (!page)
4229 page = ERR_PTR(-ENOMEM);
4230 }
4231 if (IS_ERR(page)) {
4232 ptl = huge_pte_lock(h, mm, ptep);
4233 if (!huge_pte_none(huge_ptep_get(ptep))) {
4234 ret = 0;
4235 spin_unlock(ptl);
4236 goto out;
4237 }
4238 spin_unlock(ptl);
4239 ret = vmf_error(PTR_ERR(page));
4240 goto out;
4241 }
4242 __SetPageUptodate(page);
4243 new_page = true;
4244
4245 /* sharepool pages are all shared */
4246 err = huge_add_to_page_cache(page, mapping, idx);
4247 if (err) {
4248 put_page(page);
4249 if (err == -EEXIST)
4250 goto retry;
4251 goto out;
4252 }
4253 }
4254
4255
4256 ptl = huge_pte_lock(h, mm, ptep);
4257 size = i_size_read(mapping->host) >> huge_page_shift(h);
4258 if (idx >= size)
4259 goto backout;
4260
4261 ret = 0;
4262 if (!huge_pte_none(huge_ptep_get(ptep)))
4263 goto backout;
4264
4265 page_dup_rmap(page, true);
4266 new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE)
4267 && (vma->vm_flags & VM_SHARED)));
4268 set_huge_pte_at(mm, haddr, ptep, new_pte);
4269
4270 hugetlb_count_add(pages_per_huge_page(h), mm);
4271
4272 spin_unlock(ptl);
4273
4274 if (new_page) {
4275 SetPagePrivate(&page[1]);
4276 }
4277
4278 unlock_page(page);
4279 out:
4280 return ret;
4281
4282 backout:
4283 spin_unlock(ptl);
4284 unlock_page(page);
4285 put_page(page);
4286 goto out;
4287 }
4288
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION 6c3413fbf8c430b89f5d23f465e10e99ea145199
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: 6c3413fbf8c430b89f5d23f465e10e99ea145199 !14123 mm: only enforce minimum stack gap size if it's sensible
Error/Warning (recently discovered and may have been fixed):
crypto/asymmetric_keys/pgp_preload.c:110:15: error: implicit declaration of function 'pgp_parse_packets' [-Werror=implicit-function-declaration]
crypto/asymmetric_keys/pgp_preload.c:23:34: error: field 'pgp' has incomplete type
crypto/asymmetric_keys/pgp_public_key.c:148:43: error: passing argument 2 of 'pgp_calc_pkey_keyid' from incompatible pointer type [-Werror=incompatible-pointer-types]
crypto/asymmetric_keys/pgp_public_key.c:201:33: error: storage size of 'pgp' isn't known
crypto/asymmetric_keys/pgp_public_key.c:201:33: warning: unused variable 'pgp' [-Wunused-variable]
crypto/asymmetric_keys/pgp_public_key.c:224:15: error: implicit declaration of function 'pgp_parse_public_key'; did you mean 'pgp_process_public_key'? [-Werror=implicit-function-declaration]
crypto/asymmetric_keys/pgp_public_key.c:310:15: error: implicit declaration of function 'pgp_parse_packets' [-Werror=implicit-function-declaration]
crypto/asymmetric_keys/pgp_public_key.c:35:34: error: field 'pgp' has incomplete type
crypto/asymmetric_keys/pgp_public_key.c:48:39: warning: 'struct pgp_parse_pubkey' declared inside parameter list will not be visible outside of this definition or declaration
crypto/asymmetric_keys/pgp_public_key.c:63:17: error: invalid use of undefined type 'struct pgp_parse_pubkey'
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:3719:18: warning: address of array 'chip_node->rt_cmd' will always evaluate to 'true' [-Wpointer-bool-conversion]
fs/eulerfs/euler_def.h:199:13: warning: redefinition of typedef 'hashlen_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/euler_def.h:92:12: warning: redefinition of typedef 'page_info_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/namei.c:422:47: warning: variable 'de' is uninitialized when used here [-Wuninitialized]
mm/pin_mem.c:247:31: error: 'HUGETLB_PAGE_DTOR' undeclared (first use in this function); did you mean 'HUGETLB_PAGE_ORDER'?
mm/share_pool.c:3025:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
mm/share_pool.c:3025:21: error: invalid initializer
mm/share_pool.c:3887:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
mm/share_pool.c:3938:12: warning: 'proc_group_usage_show' defined but not used [-Wunused-function]
mm/share_pool.c:3958:12: warning: 'proc_usage_show' defined but not used [-Wunused-function]
mm/share_pool.c:4065:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration]
mm/share_pool.c:4085:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration]
mm/share_pool.c:4107:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration]
mm/share_pool.c:4109:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-001-20241213
| |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-early_pbha_init
| |-- drivers-gpu-drm-inspur-inspur_drm_drv.c:warning:no-previous-prototype-for-inspur_drm_interrupt
| |-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:error:implicit-declaration-of-function-acpi_evaluate_integer
| |-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:warning:agent_smmu_acpi_match-defined-but-not-used
| `-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:warning:no-previous-prototype-for-agent_smmu_unlocked_find
|-- arm64-randconfig-002-20241213
| |-- arch-arm64-kernel-arm64_cpu_park.c:error:const-struct-cpu_operations-has-no-member-named-cpu_die
| |-- drivers-ub-urma-ubcore-ubcore_ctp.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL
| |-- drivers-ub-urma-ubcore-ubcore_device.c:warning:no-previous-prototype-for-ubcore_destroy_upi_list
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_poll_jfc
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jetty_recv_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jetty_send_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jfr_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jfs_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_rearm_jfc
| |-- drivers-ub-urma-ubcore-ubcore_main.c:warning:no-previous-prototype-for-ubcore_open
| |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:no-previous-prototype-for-ubcore_asyn_send_fe2tpf_msg
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_add_sip_entry
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_check_port_state
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_del_sip_entry
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_fill_port_netdev
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_lookup_sip_idx
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_lookup_sip_info_without_lock
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_new_sip_req_msg
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_notify_uvs_add_sip
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_notify_uvs_del_sip
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_put_port_netdev
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_set_port_netdev
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_idx_alloc
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_idx_free
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_table_init
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_table_uninit
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_update_sip_entry
| |-- drivers-ub-urma-ubcore-ubcore_netlink.c:warning:no-previous-prototype-for-ubcore_genl_unicast
| |-- drivers-ub-urma-ubcore-ubcore_tp.c:warning:no-previous-prototype-for-ubcore_get_mtu
| |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:no-previous-prototype-for-ubcore_tpg_kref_get
| |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_find_best_page_size
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_get
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_release
| |-- drivers-ub-urma-ubcore-ubcore_utp.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL
| |-- drivers-ub-urma-ubcore-ubcore_vtp.c:warning:no-previous-prototype-for-ubcore_hash_table_rmv_vtpn
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jetty_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jetty_grp_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfc_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfr_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfs_event_cb
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_close
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_mmap
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_open
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_release_file
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-dev_name-will-never-be-NULL
| |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_get_umap_ops
| |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_umap_priv_init
| |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_unmap_vma_pages
| |-- include-acpi-processor.h:error:unknown-type-name-phys_cpuid_t
| |-- kernel-sched-core.c:warning:format-llu-expects-argument-of-type-long-long-unsigned-int-but-argument-has-type-int
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- arm64-randconfig-003-20241213
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-004-20241213
| |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-early_pbha_init
| |-- crypto-asymmetric_keys-pgp_preload.c:error:field-pgp-has-incomplete-type
| |-- crypto-asymmetric_keys-pgp_preload.c:error:implicit-declaration-of-function-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:field-pgp-has-incomplete-type
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-pgp_parse_public_key
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:invalid-use-of-undefined-type-struct-pgp_parse_pubkey
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:passing-argument-of-pgp_calc_pkey_keyid-from-incompatible-pointer-type
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:storage-size-of-pgp-isn-t-known
| |-- crypto-asymmetric_keys-pgp_public_key.c:warning:struct-pgp_parse_pubkey-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- crypto-asymmetric_keys-pgp_public_key.c:warning:unused-variable-pgp
| |-- drivers-char-ipmi-ipmi_bt_sm.c:error:implicit-declaration-of-function-acpi_evaluate_integer
| |-- kernel-sched-core.c:error:TG_STEAL_NO-undeclared-(first-use-in-this-function)
| |-- kernel-sched-fair.c:error:implicit-declaration-of-function-is_tg_steal
| |-- kernel-sched-fair.c:error:invalid-use-of-undefined-type-struct-task_group
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
| |-- mm-pin_mem.c:error:HUGETLB_PAGE_DTOR-undeclared-(first-use-in-this-function)
| |-- mm-pin_mem.c:error:lvalue-required-as-unary-operand
| |-- mm-share_pool.c:error:HUGETLB_ALLOC_BUDDY-undeclared-(first-use-in-this-function)
| |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_add_to_page_cache
| |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_pte_none
| |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_ptep_get
| |-- mm-share_pool.c:error:implicit-declaration-of-function-hugetlb_count_add
| |-- mm-share_pool.c:error:implicit-declaration-of-function-set_huge_pte_at
| |-- mm-share_pool.c:error:invalid-initializer
| |-- mm-share_pool.c:warning:no-previous-prototype-for-__mg_sp_alloc_nodemask
| |-- mm-share_pool.c:warning:proc_group_usage_show-defined-but-not-used
| |-- mm-share_pool.c:warning:proc_usage_show-defined-but-not-used
| `-- mm-share_pool.c:warning:spa_stat_show-defined-but-not-used
|-- arm64-randconfig-051-20241214
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241214
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241214
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241214
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241214
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-r063-20241214
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- x86_64-allnoconfig
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_rd32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_wr32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_send_clp_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_copy_to_user
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_id
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_type
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_hw_driver_stats
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read_ack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write_nack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm_init.c:warning:no-previous-prototype-for-function-sss_destroy_adm_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_export.c:warning:no-previous-prototype-for-function-sss_get_func_id
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-001-20241213
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-002-20241213
| `-- mm-memcontrol.c:error:implicit-declaration-of-function-ksm_process_profit
|-- x86_64-buildonly-randconfig-003-20241213
| `-- drivers-bluetooth-hci_qca.c:warning:qca_soc_data_qca6390-defined-but-not-used
|-- x86_64-buildonly-randconfig-005-20241213
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-006-20241213
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| |-- drivers-gpu-drm-loongson-lsdc_plane.o:warning:objtool:lsdc_plane_init-falls-through-to-next-function-lsdc_plane_reset()
| `-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
|-- x86_64-defconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| `-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
`-- x86_64-randconfig-161-20241214
|-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
|-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
`-- net-netfilter-nft_set_pipapo.o:warning:objtool:nft_pipapo_remove:unreachable-instruction
elapsed time: 918m
configs tested: 14
configs skipped: 95
tested configs:
arm64 allmodconfig clang-18
arm64 randconfig-001-20241213 gcc-14.2.0
arm64 randconfig-002-20241213 gcc-14.2.0
arm64 randconfig-003-20241213 clang-18
arm64 randconfig-004-20241213 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241213 gcc-12
x86_64 buildonly-randconfig-002-20241213 gcc-12
x86_64 buildonly-randconfig-003-20241213 gcc-12
x86_64 buildonly-randconfig-004-20241213 gcc-12
x86_64 buildonly-randconfig-005-20241213 gcc-12
x86_64 buildonly-randconfig-006-20241213 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/loongarch/kernel/paravirt.c:74:13: error: redefinition of 'steal_acc'
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 2ee1b090fed0f14944d85db83f5dbc33fbe812ec [1636/1636] LoongArch: KVM: Add PV steal time support in guest side
config: loongarch-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241214/202412140757.roYzDP2E-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140757.roYzDP2E-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140757.roYzDP2E-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/loongarch/kernel/paravirt.c:74:13: error: redefinition of 'steal_acc'
74 | static bool steal_acc = true;
| ^~~~~~~~~
arch/loongarch/kernel/paravirt.c:23:13: note: previous definition of 'steal_acc' with type 'bool' {aka '_Bool'}
23 | static bool steal_acc = true;
| ^~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:76:19: error: redefinition of 'parse_no_stealacc'
76 | static int __init parse_no_stealacc(char *arg)
| ^~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:24:19: note: previous definition of 'parse_no_stealacc' with type 'int(char *)'
24 | static int __init parse_no_stealacc(char *arg)
| ^~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:6,
from include/linux/kernel.h:30,
from include/linux/interrupt.h:6,
from arch/loongarch/kernel/paravirt.c:4:
>> include/linux/init.h:335:27: error: redefinition of '__setup_str_parse_no_stealacc'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:81:1: note: in expansion of macro 'early_param'
81 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:335:27: note: previous definition of '__setup_str_parse_no_stealacc' with type 'const char[13]'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:29:1: note: in expansion of macro 'early_param'
29 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
>> include/linux/init.h:337:40: error: redefinition of '__setup_parse_no_stealacc'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:81:1: note: in expansion of macro 'early_param'
81 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:337:40: note: previous definition of '__setup_parse_no_stealacc' with type 'struct obs_kernel_param'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:29:1: note: in expansion of macro 'early_param'
29 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:102:13: error: redefinition of 'steal_acc'
102 | static bool steal_acc = true;
| ^~~~~~~~~
arch/loongarch/kernel/paravirt.c:74:13: note: previous definition of 'steal_acc' with type 'bool' {aka '_Bool'}
74 | static bool steal_acc = true;
| ^~~~~~~~~
arch/loongarch/kernel/paravirt.c:104:19: error: redefinition of 'parse_no_stealacc'
104 | static int __init parse_no_stealacc(char *arg)
| ^~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:76:19: note: previous definition of 'parse_no_stealacc' with type 'int(char *)'
76 | static int __init parse_no_stealacc(char *arg)
| ^~~~~~~~~~~~~~~~~
>> include/linux/init.h:335:27: error: redefinition of '__setup_str_parse_no_stealacc'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:109:1: note: in expansion of macro 'early_param'
109 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:335:27: note: previous definition of '__setup_str_parse_no_stealacc' with type 'const char[13]'
335 | static const char __setup_str_##unique_id[] __initconst \
| ^~~~~~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:81:1: note: in expansion of macro 'early_param'
81 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
>> include/linux/init.h:337:40: error: redefinition of '__setup_parse_no_stealacc'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:109:1: note: in expansion of macro 'early_param'
109 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
include/linux/init.h:337:40: note: previous definition of '__setup_parse_no_stealacc' with type 'struct obs_kernel_param'
337 | static struct obs_kernel_param __setup_##unique_id \
| ^~~~~~~~
include/linux/init.h:357:9: note: in expansion of macro '__setup_param'
357 | __setup_param(str, fn, fn, 1)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:81:1: note: in expansion of macro 'early_param'
81 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:111:12: error: redefinition of 'paravt_steal_clock'
111 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:83:12: note: previous definition of 'paravt_steal_clock' with type 'u64(int)' {aka 'long long unsigned int(int)'}
83 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_single':
arch/loongarch/kernel/paravirt.c:141:24: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
141 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, 1, 0, min);
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c:141:24: note: each undeclared identifier is reported only once for each function it appears in
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_mask':
arch/loongarch/kernel/paravirt.c:175:40: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
175 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI,
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c: At top level:
>> arch/loongarch/kernel/paravirt.c:363:13: error: redefinition of 'pv_disable_steal_time'
363 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:224:13: note: previous definition of 'pv_disable_steal_time' with type 'void(void)'
224 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:393:13: error: redefinition of 'pv_cpu_reboot'
393 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:289:13: note: previous definition of 'pv_cpu_reboot' with type 'void(void *)'
289 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:398:12: error: redefinition of 'pv_reboot_notify'
398 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:294:12: note: previous definition of 'pv_reboot_notify' with type 'int(struct notifier_block *, long unsigned int, void *)'
294 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code,
| ^~~~~~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:404:30: error: redefinition of 'pv_reboot_nb'
404 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:301:30: note: previous definition of 'pv_reboot_nb' with type 'struct notifier_block'
301 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:408:12: error: redefinition of 'pv_time_init'
408 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:305:12: note: previous definition of 'pv_time_init' with type 'int(void)'
305 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:453:12: error: redefinition of 'pv_enable_steal_time'
453 | static int pv_enable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:339:12: note: previous definition of 'pv_enable_steal_time' with type 'int(void)'
339 | static int pv_enable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:477:13: error: redefinition of 'pv_disable_steal_time'
477 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:363:13: note: previous definition of 'pv_disable_steal_time' with type 'void(void)'
363 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:484:12: error: redefinition of 'pv_time_cpu_online'
484 | static int pv_time_cpu_online(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:370:12: note: previous definition of 'pv_time_cpu_online' with type 'int(unsigned int)'
370 | static int pv_time_cpu_online(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:495:12: error: redefinition of 'pv_time_cpu_down_prepare'
495 | static int pv_time_cpu_down_prepare(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:381:12: note: previous definition of 'pv_time_cpu_down_prepare' with type 'int(unsigned int)'
381 | static int pv_time_cpu_down_prepare(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:507:13: error: redefinition of 'pv_cpu_reboot'
507 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:393:13: note: previous definition of 'pv_cpu_reboot' with type 'void(void *)'
393 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:512:12: error: redefinition of 'pv_reboot_notify'
512 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:398:12: note: previous definition of 'pv_reboot_notify' with type 'int(struct notifier_block *, long unsigned int, void *)'
398 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:518:30: error: redefinition of 'pv_reboot_nb'
518 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:404:30: note: previous definition of 'pv_reboot_nb' with type 'struct notifier_block'
404 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:522:12: error: redefinition of 'pv_time_init'
522 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:305:12: note: previous definition of 'pv_time_init' with type 'int(void)'
305 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:83:12: warning: 'paravt_steal_clock' defined but not used [-Wunused-function]
83 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
vim +/steal_acc +74 arch/loongarch/kernel/paravirt.c
73
> 74 static bool steal_acc = true;
75
> 76 static int __init parse_no_stealacc(char *arg)
77 {
78 steal_acc = false;
79 return 0;
80 }
> 81 early_param("no-steal-acc", parse_no_stealacc);
82
83 static u64 paravt_steal_clock(int cpu)
84 {
85 int version;
86 u64 steal;
87 struct kvm_steal_time *src;
88
89 src = &per_cpu(steal_time, cpu);
90 do {
91
92 version = src->version;
93 virt_rmb(); /* Make sure that the version is read before the steal */
94 steal = src->steal;
95 virt_rmb(); /* Make sure that the steal is read before the next version */
96
97 } while ((version & 1) || (version != src->version));
98
99 return steal;
100 }
101
102 static bool steal_acc = true;
103
104 static int __init parse_no_stealacc(char *arg)
105 {
106 steal_acc = false;
107 return 0;
108 }
109 early_param("no-steal-acc", parse_no_stealacc);
110
> 111 static u64 paravt_steal_clock(int cpu)
112 {
113 int version;
114 u64 steal;
115 struct kvm_steal_time *src;
116
117 src = &per_cpu(steal_time, cpu);
118 do {
119
120 version = src->version;
121 virt_rmb(); /* Make sure that the version is read before the steal */
122 steal = src->steal;
123 virt_rmb(); /* Make sure that the steal is read before the next version */
124
125 } while ((version & 1) || (version != src->version));
126
127 return steal;
128 }
129
130 #ifdef CONFIG_SMP
131 static void pv_send_ipi_single(int cpu, unsigned int action)
132 {
133 unsigned int min, old;
134 irq_cpustat_t *info = &per_cpu(irq_stat, cpu);
135
136 old = atomic_fetch_or(BIT(action), &info->message);
137 if (old)
138 return;
139
140 min = cpu_logical_map(cpu);
> 141 kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, 1, 0, min);
142 }
143
144 #define KVM_IPI_CLUSTER_SIZE (2 * BITS_PER_LONG)
145 static void pv_send_ipi_mask(const struct cpumask *mask, unsigned int action)
146 {
147 unsigned int cpu, i, min = 0, max = 0, old;
148 __uint128_t bitmap = 0;
149 irq_cpustat_t *info;
150
151 if (cpumask_empty(mask))
152 return;
153
154 action = BIT(action);
155 for_each_cpu(i, mask) {
156 info = &per_cpu(irq_stat, i);
157 old = atomic_fetch_or(action, &info->message);
158 if (old)
159 continue;
160
161 cpu = cpu_logical_map(i);
162 if (!bitmap) {
163 min = max = cpu;
164 } else if (cpu > min && cpu < min + KVM_IPI_CLUSTER_SIZE) {
165 max = cpu > max ? cpu : max;
166 } else if (cpu < min && (max - cpu) < KVM_IPI_CLUSTER_SIZE) {
167 bitmap <<= min - cpu;
168 min = cpu;
169 } else {
170 /*
171 * Physical cpuid is sorted in ascending order ascend
172 * for the next mask calculation, send IPI here
173 * directly and skip the remainding cpus
174 */
175 kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI,
176 (unsigned long)bitmap,
177 (unsigned long)(bitmap >> BITS_PER_LONG), min);
178 min = max = cpu;
179 bitmap = 0;
180 }
181 __set_bit(cpu - min, (unsigned long *)&bitmap);
182 }
183
184 if (bitmap)
185 kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, (unsigned long)bitmap,
186 (unsigned long)(bitmap >> BITS_PER_LONG), min);
187 }
188
189 static irqreturn_t loongson_do_swi(int irq, void *dev)
190 {
191 irq_cpustat_t *info;
192 long action;
193
194 /* Clear swi interrupt */
195 clear_csr_estat(1 << INT_SWI0);
196 info = this_cpu_ptr(&irq_stat);
197 action = atomic_xchg(&info->message, 0);
198 if (action & SMP_CALL_FUNCTION) {
199 generic_smp_call_function_interrupt();
200 info->ipi_irqs[IPI_CALL_FUNCTION]++;
201 }
202
203 if (action & SMP_RESCHEDULE) {
204 scheduler_ipi();
205 info->ipi_irqs[IPI_RESCHEDULE]++;
206 }
207
208 return IRQ_HANDLED;
209 }
210
211 static void pv_init_ipi(void)
212 {
213 int r, swi0;
214
215 swi0 = get_percpu_irq(INT_SWI0);
216 if (swi0 < 0)
217 panic("SWI0 IRQ mapping failed\n");
218 irq_set_percpu_devid(swi0);
219 r = request_percpu_irq(swi0, loongson_do_swi, "SWI0", &irq_stat);
220 if (r < 0)
221 panic("SWI0 IRQ request failed\n");
222 }
223
> 224 static void pv_disable_steal_time(void)
225 {
226 if (has_steal_clock)
227 kvm_hypercall2(KVM_HCALL_FUNC_NOTIFY, KVM_FEATURE_STEAL_TIME, 0);
228 }
229
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/loongarch/kernel/paravirt.c:85:24: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared; did you mean 'KVM_HCALL_FUNC_IPI'?
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: dba6c8bad729e1971c31053550e9686127ce3844 [1636/1636] LoongArch: KVM: Add PV IPI support on host side
config: loongarch-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241214/202412140300.AvxBVNVW-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140300.AvxBVNVW-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140300.AvxBVNVW-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_single':
>> arch/loongarch/kernel/paravirt.c:85:24: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
85 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, 1, 0, min);
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c:85:24: note: each undeclared identifier is reported only once for each function it appears in
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_mask':
arch/loongarch/kernel/paravirt.c:119:40: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
119 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI,
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
vim +85 arch/loongarch/kernel/paravirt.c
f860ab821dd12f5 Bibo Mao 2024-03-22 73
462dd429f52a765 Bibo Mao 2024-03-01 74 #ifdef CONFIG_SMP
462dd429f52a765 Bibo Mao 2024-03-01 75 static void pv_send_ipi_single(int cpu, unsigned int action)
462dd429f52a765 Bibo Mao 2024-03-01 76 {
462dd429f52a765 Bibo Mao 2024-03-01 77 unsigned int min, old;
462dd429f52a765 Bibo Mao 2024-03-01 78 irq_cpustat_t *info = &per_cpu(irq_stat, cpu);
462dd429f52a765 Bibo Mao 2024-03-01 79
462dd429f52a765 Bibo Mao 2024-03-01 80 old = atomic_fetch_or(BIT(action), &info->message);
462dd429f52a765 Bibo Mao 2024-03-01 81 if (old)
462dd429f52a765 Bibo Mao 2024-03-01 82 return;
462dd429f52a765 Bibo Mao 2024-03-01 83
462dd429f52a765 Bibo Mao 2024-03-01 84 min = cpu_logical_map(cpu);
462dd429f52a765 Bibo Mao 2024-03-01 @85 kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, 1, 0, min);
462dd429f52a765 Bibo Mao 2024-03-01 86 }
462dd429f52a765 Bibo Mao 2024-03-01 87
:::::: The code at line 85 was first introduced by commit
:::::: 462dd429f52a7659ea1c74f02f7134a43fccccc8 LoongArch: Add pv ipi support on guest kernel side
:::::: TO: Bibo Mao <maobibo(a)loongson.cn>
:::::: CC: Xianglai Li <lixianglai(a)loongson.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/loongarch/kvm/intc/pch_pic.c:459:16: warning: variable 'ret' set but not used
by kernel test robot 14 Dec '24
by kernel test robot 14 Dec '24
14 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: bd254ad9ed5fb35dc87b90f98ebb805567ff0472 [1636/1636] LoongArch: KVM: Add irqfd support
config: loongarch-randconfig-001-20241213 (https://download.01.org/0day-ci/archive/20241214/202412140030.ws7cfuVO-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241214/202412140030.ws7cfuVO-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412140030.ws7cfuVO-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/loongarch/kvm/intc/pch_pic.c: In function 'kvm_setup_default_irq_routing':
>> arch/loongarch/kvm/intc/pch_pic.c:459:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
459 | int i, ret;
| ^~~
--
>> arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'e' not described in 'kvm_set_msi'
>> arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'kvm' not described in 'kvm_set_msi'
>> arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'irq_source_id' not described in 'kvm_set_msi'
>> arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'level' not described in 'kvm_set_msi'
>> arch/loongarch/kvm/irqfd.c:81: warning: Function parameter or member 'line_status' not described in 'kvm_set_msi'
vim +/ret +459 arch/loongarch/kvm/intc/pch_pic.c
453
454 static int kvm_setup_default_irq_routing(struct kvm *kvm)
455 {
456 struct kvm_irq_routing_entry *entries;
457
458 u32 nr = KVM_IRQCHIP_NUM_PINS;
> 459 int i, ret;
460
461 entries = kcalloc(nr, sizeof(*entries), GFP_KERNEL);
462 if (!entries)
463 return -ENOMEM;
464
465 for (i = 0; i < nr; i++) {
466 entries[i].gsi = i;
467 entries[i].type = KVM_IRQ_ROUTING_IRQCHIP;
468 entries[i].u.irqchip.irqchip = 0;
469 entries[i].u.irqchip.pin = i;
470 }
471 ret = kvm_set_irq_routing(kvm, entries, nr, 0);
472 kfree(entries);
473
474 return 0;
475 }
476
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/loongarch/kernel/paravirt.c:83:12: warning: 'paravt_steal_clock' defined but not used
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 2ee1b090fed0f14944d85db83f5dbc33fbe812ec [1636/1636] LoongArch: KVM: Add PV steal time support in guest side
config: loongarch-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241213/202412132355.qfya7e74-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412132355.qfya7e74-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412132355.qfya7e74-lkp@intel.com/
All warnings (new ones prefixed by >>):
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:81:1: note: in expansion of macro 'early_param'
81 | early_param("no-steal-acc", parse_no_stealacc);
| ^~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:111:12: error: redefinition of 'paravt_steal_clock'
111 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:83:12: note: previous definition of 'paravt_steal_clock' with type 'u64(int)' {aka 'long long unsigned int(int)'}
83 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_single':
arch/loongarch/kernel/paravirt.c:141:24: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
141 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI, 1, 0, min);
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c:141:24: note: each undeclared identifier is reported only once for each function it appears in
arch/loongarch/kernel/paravirt.c: In function 'pv_send_ipi_mask':
arch/loongarch/kernel/paravirt.c:175:40: error: 'KVM_HCALL_FUNC_PV_IPI' undeclared (first use in this function); did you mean 'KVM_HCALL_FUNC_IPI'?
175 | kvm_hypercall3(KVM_HCALL_FUNC_PV_IPI,
| ^~~~~~~~~~~~~~~~~~~~~
| KVM_HCALL_FUNC_IPI
arch/loongarch/kernel/paravirt.c: At top level:
arch/loongarch/kernel/paravirt.c:363:13: error: redefinition of 'pv_disable_steal_time'
363 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:224:13: note: previous definition of 'pv_disable_steal_time' with type 'void(void)'
224 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:393:13: error: redefinition of 'pv_cpu_reboot'
393 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:289:13: note: previous definition of 'pv_cpu_reboot' with type 'void(void *)'
289 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:398:12: error: redefinition of 'pv_reboot_notify'
398 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:294:12: note: previous definition of 'pv_reboot_notify' with type 'int(struct notifier_block *, long unsigned int, void *)'
294 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code,
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:404:30: error: redefinition of 'pv_reboot_nb'
404 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:301:30: note: previous definition of 'pv_reboot_nb' with type 'struct notifier_block'
301 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:408:12: error: redefinition of 'pv_time_init'
408 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:305:12: note: previous definition of 'pv_time_init' with type 'int(void)'
305 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:453:12: error: redefinition of 'pv_enable_steal_time'
453 | static int pv_enable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:339:12: note: previous definition of 'pv_enable_steal_time' with type 'int(void)'
339 | static int pv_enable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:477:13: error: redefinition of 'pv_disable_steal_time'
477 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:363:13: note: previous definition of 'pv_disable_steal_time' with type 'void(void)'
363 | static void pv_disable_steal_time(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:484:12: error: redefinition of 'pv_time_cpu_online'
484 | static int pv_time_cpu_online(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:370:12: note: previous definition of 'pv_time_cpu_online' with type 'int(unsigned int)'
370 | static int pv_time_cpu_online(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:495:12: error: redefinition of 'pv_time_cpu_down_prepare'
495 | static int pv_time_cpu_down_prepare(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:381:12: note: previous definition of 'pv_time_cpu_down_prepare' with type 'int(unsigned int)'
381 | static int pv_time_cpu_down_prepare(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:507:13: error: redefinition of 'pv_cpu_reboot'
507 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:393:13: note: previous definition of 'pv_cpu_reboot' with type 'void(void *)'
393 | static void pv_cpu_reboot(void *unused)
| ^~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:512:12: error: redefinition of 'pv_reboot_notify'
512 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:398:12: note: previous definition of 'pv_reboot_notify' with type 'int(struct notifier_block *, long unsigned int, void *)'
398 | static int pv_reboot_notify(struct notifier_block *nb, unsigned long code, void *unused)
| ^~~~~~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:518:30: error: redefinition of 'pv_reboot_nb'
518 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:404:30: note: previous definition of 'pv_reboot_nb' with type 'struct notifier_block'
404 | static struct notifier_block pv_reboot_nb = {
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:522:12: error: redefinition of 'pv_time_init'
522 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
arch/loongarch/kernel/paravirt.c:305:12: note: previous definition of 'pv_time_init' with type 'int(void)'
305 | int __init pv_time_init(void)
| ^~~~~~~~~~~~
>> arch/loongarch/kernel/paravirt.c:83:12: warning: 'paravt_steal_clock' defined but not used [-Wunused-function]
83 | static u64 paravt_steal_clock(int cpu)
| ^~~~~~~~~~~~~~~~~~
vim +/paravt_steal_clock +83 arch/loongarch/kernel/paravirt.c
82
> 83 static u64 paravt_steal_clock(int cpu)
84 {
85 int version;
86 u64 steal;
87 struct kvm_steal_time *src;
88
89 src = &per_cpu(steal_time, cpu);
90 do {
91
92 version = src->version;
93 virt_rmb(); /* Make sure that the version is read before the steal */
94 steal = src->steal;
95 virt_rmb(); /* Make sure that the steal is read before the next version */
96
97 } while ((version & 1) || (version != src->version));
98
99 return steal;
100 }
101
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1636/1636] arch/loongarch/kvm/vm.c:115:30: warning: variable 'vcpus' set but not used
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: d68dc6ee371ec5466be9b2d76bdca0b360940adc
commit: 35da19c3c6d4b053eba09a0daa6063eae81e928a [1636/1636] LoongArch: KVM: Add PCHPIC read and write functions
config: loongarch-randconfig-001-20241213 (https://download.01.org/0day-ci/archive/20241213/202412132352.24cSlwix-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412132352.24cSlwix-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412132352.24cSlwix-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/loongarch/kvm/vm.c: In function 'kvm_vm_ioctl_irq_line':
>> arch/loongarch/kvm/vm.c:115:30: warning: variable 'vcpus' set but not used [-Wunused-but-set-variable]
115 | int type, vcpu, irq, vcpus, val, ret = 0;
| ^~~~~
>> arch/loongarch/kvm/vm.c:115:19: warning: variable 'vcpu' set but not used [-Wunused-but-set-variable]
115 | int type, vcpu, irq, vcpus, val, ret = 0;
| ^~~~
vim +/vcpus +115 arch/loongarch/kvm/vm.c
109
110 int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *data,
111 bool line_status)
112 {
113 bool level;
114 struct loongarch_pch_pic *s;
> 115 int type, vcpu, irq, vcpus, val, ret = 0;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
David Hildenbrand (1):
mm/filemap: don't call folio_test_locked() without a reference in
next_uptodate_folio()
Hugh Dickins (1):
mm: shmem: fix ShmemHugePages at swapout
Kalesh Singh (1):
mm: Respect mmap hint address when aligning for THP
Matthew Wilcox (Oracle) (2):
mm: open-code page_folio() in dump_page()
mm: open-code PageTail in folio_flags() and const_folio_flags()
include/linux/page-flags.h | 2 +-
mm/debug.c | 7 +++++--
mm/filemap.c | 4 ++--
mm/mmap.c | 3 ++-
mm/shmem.c | 22 ++++++++++++----------
5 files changed, 22 insertions(+), 16 deletions(-)
--
2.34.1
2
6

[PATCH v2 OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 13 Dec '24
by Xie XiuQi 13 Dec '24
13 Dec '24
Some distributions need to maintain and fix KABI compatibility so
that drivers do not need to be recompiled during kernel upgrades.
Fixing KABI compatibility is a dangerous and hacking job.
Developers need to know clearly what they are doing and the risks
they may face. KABI fix actions are closely related to the
processor architecture. Fixes may not be appropriate for all
architectures. Improper fix may cause kernel panic or unexpected
error.
Only for expert users, and select N by default.
Xie XiuQi (2):
kabi: restrict the KABI fix to a specific architecture and dist
kabi: enable KABI_COMPAT series by default on x86_64 & ARM64
arch/arm64/configs/openeuler_defconfig | 5 ++--
arch/x86/configs/openeuler_defconfig | 5 ++--
include/linux/kabi.h | 2 +-
init/Kconfig | 18 ++-------------
lib/Kconfig.kabi | 32 ++++++++++++++++++++++++++
5 files changed, 41 insertions(+), 21 deletions(-)
create mode 100644 lib/Kconfig.kabi
--
2.20.1
2
3

[PATCH OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 13 Dec '24
by Xie XiuQi 13 Dec '24
13 Dec '24
Some distributions need to maintain and fix KABI compatibility so
that drivers do not need to be recompiled during kernel upgrades.
Fixing KABI compatibility is a dangerous and hacking job.
Developers need to know clearly what they are doing and the risks
they may face. KABI fix actions are closely related to the
processor architecture. Fixes may not be appropriate for all
architectures. Improper fix may cause kernel panic or unexpected
error.
Only for expert users, and select N by default.
Xie XiuQi (2):
kabi: restrict the KABI fix to a specific architecture and dist
kabi: enable KABI_COMPAT series by default on x86_64 & ARM64
arch/arm64/configs/openeuler_defconfig | 5 +--
arch/x86/configs/openeuler_defconfig | 5 +--
include/linux/kabi.h | 2 +-
init/Kconfig | 49 +++++++++++++++++---------
4 files changed, 40 insertions(+), 21 deletions(-)
--
2.20.1
2
4

[PATCH openEuler-1.0-LTS] padata: make padata_do_parallel find alternate callback CPU
by Yi Yang 13 Dec '24
by Yi Yang 13 Dec '24
13 Dec '24
From: Daniel Jordan <daniel.m.jordan(a)oracle.com>
mainline inclusion
from mainline-v5.4-rc1
commit e6ce0e0807e90d38a2cefa524ac253d7a85c3f2f
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7RZMT
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
padata_do_parallel currently returns -EINVAL if the callback CPU isn't
in the callback cpumask.
pcrypt tries to prevent this situation by keeping its own callback
cpumask in sync with padata's and checks that the callback CPU it passes
to padata is valid. Make padata handle this instead.
padata_do_parallel now takes a pointer to the callback CPU and updates
it for the caller if an alternate CPU is used. Overall behavior in
terms of which callback CPUs are chosen stays the same.
Prepares for removal of the padata cpumask notifier in pcrypt, which
will fix a lockdep complaint about nested acquisition of the CPU hotplug
lock later in the series.
Signed-off-by: Daniel Jordan <daniel.m.jordan(a)oracle.com>
Acked-by: Steffen Klassert <steffen.klassert(a)secunet.com>
Cc: Herbert Xu <herbert(a)gondor.apana.org.au>
Cc: Lai Jiangshan <jiangshanlai(a)gmail.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Tejun Heo <tj(a)kernel.org>
Cc: linux-crypto(a)vger.kernel.org
Cc: linux-kernel(a)vger.kernel.org
Signed-off-by: Herbert Xu <herbert(a)gondor.apana.org.au>
Conflicts:
crypto/pcrypt.c
include/linux/padata.h
kernel/padata.c
[Context conflict.]
Signed-off-by: Yi Yang <yiyang13(a)huawei.com>
---
crypto/pcrypt.c | 33 ++-------------------------------
include/linux/padata.h | 2 +-
kernel/padata.c | 27 ++++++++++++++++++++-------
3 files changed, 23 insertions(+), 39 deletions(-)
diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c
index 898a71c7386b..4542b48b5afd 100644
--- a/crypto/pcrypt.c
+++ b/crypto/pcrypt.c
@@ -70,35 +70,6 @@ struct pcrypt_aead_ctx {
unsigned int cb_cpu;
};
-static int pcrypt_do_parallel(struct padata_priv *padata, unsigned int *cb_cpu,
- struct padata_pcrypt *pcrypt)
-{
- unsigned int cpu_index, cpu, i;
- struct pcrypt_cpumask *cpumask;
-
- cpu = *cb_cpu;
-
- rcu_read_lock_bh();
- cpumask = rcu_dereference_bh(pcrypt->cb_cpumask);
- if (cpumask_test_cpu(cpu, cpumask->mask))
- goto out;
-
- if (!cpumask_weight(cpumask->mask))
- goto out;
-
- cpu_index = cpu % cpumask_weight(cpumask->mask);
-
- cpu = cpumask_first(cpumask->mask);
- for (i = 0; i < cpu_index; i++)
- cpu = cpumask_next(cpu, cpumask->mask);
-
- *cb_cpu = cpu;
-
-out:
- rcu_read_unlock_bh();
- return padata_do_parallel(pcrypt->pinst, padata, cpu);
-}
-
static int pcrypt_aead_setkey(struct crypto_aead *parent,
const u8 *key, unsigned int keylen)
{
@@ -172,7 +143,7 @@ static int pcrypt_aead_encrypt(struct aead_request *req)
req->cryptlen, req->iv);
aead_request_set_ad(creq, req->assoclen);
- err = pcrypt_do_parallel(padata, &ctx->cb_cpu, &pencrypt);
+ err = padata_do_parallel(pencrypt.pinst, padata, &ctx->cb_cpu);
if (!err)
return -EINPROGRESS;
if (err == -EBUSY) {
@@ -220,7 +191,7 @@ static int pcrypt_aead_decrypt(struct aead_request *req)
req->cryptlen, req->iv);
aead_request_set_ad(creq, req->assoclen);
- err = pcrypt_do_parallel(padata, &ctx->cb_cpu, &pdecrypt);
+ err = padata_do_parallel(pdecrypt.pinst, padata, &ctx->cb_cpu);
if (!err)
return -EINPROGRESS;
if (err == -EBUSY) {
diff --git a/include/linux/padata.h b/include/linux/padata.h
index d803397a28f7..8d2267926a64 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -167,7 +167,7 @@ extern struct padata_instance *padata_alloc_possible(
struct workqueue_struct *wq);
extern void padata_free(struct padata_instance *pinst);
extern int padata_do_parallel(struct padata_instance *pinst,
- struct padata_priv *padata, int cb_cpu);
+ struct padata_priv *padata, int *cb_cpu);
extern void padata_do_serial(struct padata_priv *padata);
extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
cpumask_var_t cpumask);
diff --git a/kernel/padata.c b/kernel/padata.c
index 848e40e3581b..3518c2e60965 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -96,17 +96,19 @@ static void padata_parallel_worker(struct work_struct *parallel_work)
*
* @pinst: padata instance
* @padata: object to be parallelized
- * @cb_cpu: cpu the serialization callback function will run on,
- * must be in the serial cpumask of padata(i.e. cpumask.cbcpu).
+ * @cb_cpu: pointer to the CPU that the serialization callback function should
+ * run on. If it's not in the serial cpumask of @pinst
+ * (i.e. cpumask.cbcpu), this function selects a fallback CPU and if
+ * none found, returns -EINVAL.
*
* The parallelization callback function will run with BHs off.
* Note: Every object which is parallelized by padata_do_parallel
* must be seen by padata_do_serial.
*/
int padata_do_parallel(struct padata_instance *pinst,
- struct padata_priv *padata, int cb_cpu)
+ struct padata_priv *padata, int *cb_cpu)
{
- int target_cpu, err;
+ int i, cpu, cpu_index, target_cpu, err;
struct padata_parallel_queue *queue;
struct parallel_data *pd;
@@ -118,8 +120,19 @@ int padata_do_parallel(struct padata_instance *pinst,
if (!(pinst->flags & PADATA_INIT) || pinst->flags & PADATA_INVALID)
goto out;
- if (!cpumask_test_cpu(cb_cpu, pd->cpumask.cbcpu))
- goto out;
+ if (!cpumask_test_cpu(*cb_cpu, pd->cpumask.cbcpu)) {
+ if (!cpumask_weight(pd->cpumask.cbcpu))
+ goto out;
+
+ /* Select an alternate fallback CPU and notify the caller. */
+ cpu_index = *cb_cpu % cpumask_weight(pd->cpumask.cbcpu);
+
+ cpu = cpumask_first(pd->cpumask.cbcpu);
+ for (i = 0; i < cpu_index; i++)
+ cpu = cpumask_next(cpu, pd->cpumask.cbcpu);
+
+ *cb_cpu = cpu;
+ }
err = -EBUSY;
if ((pinst->flags & PADATA_RESET))
@@ -131,7 +144,7 @@ int padata_do_parallel(struct padata_instance *pinst,
err = 0;
atomic_inc(&pd->refcnt);
padata->pd = pd;
- padata->cb_cpu = cb_cpu;
+ padata->cb_cpu = *cb_cpu;
target_cpu = padata_cpu_hash(pd);
padata->cpu = target_cpu;
--
2.25.1
2
1

[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:4380:12: warning: 'proc_usage_show' defined but not used
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: f30182b3728f06123932e314f3cb413fbe66d681 [2579/2579] mm: sharepool: use built-in-statistics
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241213/202412131415.6NF7Ybi7-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412131415.6NF7Ybi7-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412131415.6NF7Ybi7-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/share_pool.c:832:23: warning: no previous prototype for 'find_spg_node_by_spg' [-Wmissing-prototypes]
832 | struct sp_group_node *find_spg_node_by_spg(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'mg_sp_group_id_by_pid':
mm/share_pool.c:1068:29: warning: ordered comparison of pointer with integer zero [-Wextra]
1068 | if (!spg_ids || num <= 0)
| ^~
mm/share_pool.c: In function 'sp_compact_nodes':
mm/share_pool.c:2103:9: error: implicit declaration of function 'sysctl_compaction_handler' [-Werror=implicit-function-declaration]
2103 | sysctl_compaction_handler(NULL, 1, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sp_hugetlb_entry':
mm/share_pool.c:3278:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
3278 | pte_t pte = huge_ptep_get(ptep);
| ^~~~~~~~~~~~~
mm/share_pool.c:3278:21: error: invalid initializer
mm/share_pool.c: In function 'sp_unshare_kva':
mm/share_pool.c:3673:14: warning: variable 'is_hugepage' set but not used [-Wunused-but-set-variable]
3673 | bool is_hugepage = true;
| ^~~~~~~~~~~
mm/share_pool.c: At top level:
mm/share_pool.c:4185:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes]
4185 | void spa_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:4273:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes]
4273 | void spg_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sharepool_no_page':
mm/share_pool.c:4482:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration]
4482 | if (!huge_pte_none(huge_ptep_get(ptep))) {
| ^~~~~~~~~~~~~
| huge_pte_lock
mm/share_pool.c:4495:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration]
4495 | err = huge_add_to_page_cache(page, mapping, idx);
| ^~~~~~~~~~~~~~~~~~~~~~
| add_to_page_cache
mm/share_pool.c:4517:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration]
4517 | set_huge_pte_at(mm, haddr, ptep, new_pte);
| ^~~~~~~~~~~~~~~
| set_huge_swap_pte_at
mm/share_pool.c:4519:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration]
4519 | hugetlb_count_add(pages_per_huge_page(h), mm);
| ^~~~~~~~~~~~~~~~~
| hugetlb_count_sub
mm/share_pool.c: At top level:
>> mm/share_pool.c:4380:12: warning: 'proc_usage_show' defined but not used [-Wunused-function]
4380 | static int proc_usage_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~
>> mm/share_pool.c:4358:12: warning: 'proc_group_usage_show' defined but not used [-Wunused-function]
4358 | static int proc_group_usage_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:4298:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
4298 | static int spa_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/proc_usage_show +4380 mm/share_pool.c
4357
> 4358 static int proc_group_usage_show(struct seq_file *seq, void *offset)
4359 {
4360 spg_overview_show(seq);
4361 spa_overview_show(seq);
4362
4363 /* print the file header */
4364 seq_printf(seq, "%-8s %-8s %-9s %-9s %-9s %-10s %-10s %-8s %-7s %-7s %-10s %-4s\n",
4365 "PID", "Group_ID", "SP_ALLOC", "SP_K2U", "SP_RES", "SP_RES_T",
4366 "Non-SP_RES", "VIRT", "RES", "Shm", "Non-SP_Shm", "PROT");
4367 /* print kthread buff_module_guard_work */
4368 seq_printf(seq, "%-8s %-8s %-9lld %-9lld\n",
4369 "guard", "-",
4370 byte2kb(atomic64_read(&kthread_stat.alloc_size)),
4371 byte2kb(atomic64_read(&kthread_stat.k2u_size)));
4372
4373 down_read(&sp_group_sem);
4374 idr_for_each(&sp_group_idr, proc_usage_by_group, seq);
4375 up_read(&sp_group_sem);
4376
4377 return 0;
4378 }
4379
> 4380 static int proc_usage_show(struct seq_file *seq, void *offset)
4381 {
4382 struct sp_group_master *master = NULL;
4383 unsigned long anon, file, shmem, total_rss;
4384 long sp_res, sp_res_nsize, non_sp_res, non_sp_shm;
4385 struct sp_proc_stat *proc_stat;
4386
4387 seq_printf(seq, "%-8s %-16s %-9s %-9s %-9s %-10s %-10s %-8s\n",
4388 "PID", "COMM", "SP_ALLOC", "SP_K2U", "SP_RES", "Non-SP_RES",
4389 "Non-SP_Shm", "VIRT");
4390
4391 mutex_lock(&master_list_lock);
4392 list_for_each_entry(master, &master_list, list_node) {
4393 proc_stat = &master->instat;
4394 get_mm_rss_info(master->mm, &anon, &file, &shmem, &total_rss);
4395 get_process_sp_res(&master->instat, &sp_res, &sp_res_nsize);
4396 get_process_non_sp_res(total_rss, shmem, sp_res_nsize,
4397 &non_sp_res, &non_sp_shm);
4398 seq_printf(seq, "%-8d %-16s %-9ld %-9ld %-9ld %-10ld %-10ld %-8ld\n",
4399 proc_stat->tgid, proc_stat->comm,
4400 get_proc_alloc(proc_stat),
4401 get_proc_k2u(proc_stat),
4402 sp_res, non_sp_res, non_sp_shm,
4403 page2kb(master->mm->total_vm));
4404 }
4405 mutex_unlock(&master_list_lock);
4406
4407 return 0;
4408 }
4409
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
hulk inclusion
category: other
bugzilla: https://gitee.com/openeuler/kernel/issues/IBAZ3A
--------------------------------
Add two KABI_RESERVE macros for each struct, including i2c_adapter,
sched_domain_shared, sched_domain.
Signed-off-by: Zicheng Qu <quzicheng(a)huawei.com>
---
include/linux/i2c.h | 3 +++
include/linux/sched/topology.h | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 32cf5708d5a5..3fd6932bf8cd 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -746,6 +746,9 @@ struct i2c_adapter {
struct irq_domain *host_notify_domain;
struct regulator *bus_regulator;
+
+ KABI_RESERVE(1)
+ KABI_RESERVE(2)
};
#define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev)
diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index 8e4d9bbdaa40..09a2b2625202 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -85,6 +85,8 @@ struct sched_domain_shared {
#ifdef CONFIG_SCHED_STEAL
struct sparsemask *cfs_overload_cpus;
#endif
+ KABI_RESERVE(1)
+ KABI_RESERVE(2)
};
struct sched_domain {
@@ -154,6 +156,9 @@ struct sched_domain {
};
struct sched_domain_shared *shared;
+ KABI_RESERVE(1)
+ KABI_RESERVE(2)
+
unsigned int span_weight;
/*
* Span of all CPUs in this domain.
--
2.34.1
2
1

[openeuler:OLK-5.10] BUILD REGRESSION ff5378fff024fcb2552e6da22811cf933fe4a4c0
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: ff5378fff024fcb2552e6da22811cf933fe4a4c0 !12309 [OLK-5.10] AMD Genoa and Turin Crypto and Edac patches backport for OLK-5.10
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412130351.ogsraRJ5-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412130515.0Aw10X06-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412130534.AeGefPCj-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412130652.MbID3V5Y-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412130822.tSyyPsoM-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412131028.JwkewMIN-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412131234.abo5dw1q-lkp@intel.com
arch/arm64/kernel/arm64_cpu_park.c:249:31: error: 'const struct cpu_operations' has no member named 'cpu_die'
crypto/asymmetric_keys/pgp_preload.c:110:15: error: implicit declaration of function 'pgp_parse_packets' [-Werror=implicit-function-declaration]
crypto/asymmetric_keys/pgp_preload.c:23:34: error: field 'pgp' has incomplete type
crypto/asymmetric_keys/pgp_public_key.c:148:43: error: passing argument 2 of 'pgp_calc_pkey_keyid' from incompatible pointer type [-Werror=incompatible-pointer-types]
crypto/asymmetric_keys/pgp_public_key.c:201:33: warning: unused variable 'pgp' [-Wunused-variable]
crypto/asymmetric_keys/pgp_public_key.c:205:33: error: storage size of 'pgp' isn't known
crypto/asymmetric_keys/pgp_public_key.c:228:15: error: implicit declaration of function 'pgp_parse_public_key'; did you mean 'pgp_process_public_key'? [-Werror=implicit-function-declaration]
crypto/asymmetric_keys/pgp_public_key.c:315:15: error: implicit declaration of function 'pgp_parse_packets' [-Werror=implicit-function-declaration]
crypto/asymmetric_keys/pgp_public_key.c:35:34: error: field 'pgp' has incomplete type
crypto/asymmetric_keys/pgp_public_key.c:48:39: warning: 'struct pgp_parse_pubkey' declared inside parameter list will not be visible outside of this definition or declaration
crypto/asymmetric_keys/pgp_public_key.c:63:17: error: invalid use of undefined type 'struct pgp_parse_pubkey'
drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt' [-Wmissing-prototypes]
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:3719:18: warning: address of array 'chip_node->rt_cmd' will always evaluate to 'true' [-Wpointer-bool-conversion]
fs/eulerfs/euler_def.h:199:13: warning: redefinition of typedef 'hashlen_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/euler_def.h:92:12: warning: redefinition of typedef 'page_info_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/namei.c:422:47: warning: variable 'de' is uninitialized when used here [-Wuninitialized]
include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t'
kernel/sched/core.c:9632:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'int' [-Wformat=]
ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined
llvm-objcopy: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file or directory
llvm-objdump: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file or directory
mm/memcontrol.c:5882:40: error: implicit declaration of function 'ksm_process_profit' [-Werror=implicit-function-declaration]
mm/pin_mem.c:246:31: error: 'HUGETLB_PAGE_DTOR' undeclared (first use in this function); did you mean 'HUGETLB_PAGE_ORDER'?
mm/share_pool.c:1215:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration]
mm/share_pool.c:4234:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration]
mm/share_pool.c:4256:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration]
mm/share_pool.c:4258:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration]
mm/share_pool.c:738:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
mm/share_pool.c:738:21: error: invalid initializer
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-allnoconfig
| `-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
|-- arm64-randconfig-001-20241213
| |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-early_pbha_init
| |-- drivers-gpu-drm-inspur-inspur_drm_drv.c:warning:no-previous-prototype-for-inspur_drm_interrupt
| |-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:error:implicit-declaration-of-function-acpi_evaluate_integer
| |-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:warning:agent_smmu_acpi_match-defined-but-not-used
| `-- drivers-iommu-arm-arm-smmu-v3-ascend_smmu.c:warning:no-previous-prototype-for-agent_smmu_unlocked_find
|-- arm64-randconfig-002-20241213
| |-- arch-arm64-kernel-arm64_cpu_park.c:error:const-struct-cpu_operations-has-no-member-named-cpu_die
| |-- drivers-ub-urma-ubcore-ubcore_ctp.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL
| |-- drivers-ub-urma-ubcore-ubcore_device.c:warning:no-previous-prototype-for-ubcore_destroy_upi_list
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_poll_jfc
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jetty_recv_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jetty_send_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jfr_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_post_jfs_wr
| |-- drivers-ub-urma-ubcore-ubcore_dp.c:warning:no-previous-prototype-for-ubcore_rearm_jfc
| |-- drivers-ub-urma-ubcore-ubcore_main.c:warning:no-previous-prototype-for-ubcore_open
| |-- drivers-ub-urma-ubcore-ubcore_msg.c:warning:no-previous-prototype-for-ubcore_asyn_send_fe2tpf_msg
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_add_sip_entry
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_check_port_state
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_del_sip_entry
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_fill_port_netdev
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_lookup_sip_idx
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_lookup_sip_info_without_lock
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_new_sip_req_msg
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_notify_uvs_add_sip
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_notify_uvs_del_sip
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_put_port_netdev
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_set_port_netdev
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_idx_alloc
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_idx_free
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_table_init
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_sip_table_uninit
| |-- drivers-ub-urma-ubcore-ubcore_netdev.c:warning:no-previous-prototype-for-ubcore_update_sip_entry
| |-- drivers-ub-urma-ubcore-ubcore_netlink.c:warning:no-previous-prototype-for-ubcore_genl_unicast
| |-- drivers-ub-urma-ubcore-ubcore_tp.c:warning:no-previous-prototype-for-ubcore_get_mtu
| |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:no-previous-prototype-for-ubcore_tpg_kref_get
| |-- drivers-ub-urma-ubcore-ubcore_tpg.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_find_best_page_size
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_get
| |-- drivers-ub-urma-ubcore-ubcore_umem.c:warning:no-previous-prototype-for-ubcore_umem_release
| |-- drivers-ub-urma-ubcore-ubcore_utp.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-head-will-never-be-NULL
| |-- drivers-ub-urma-ubcore-ubcore_vtp.c:warning:no-previous-prototype-for-ubcore_hash_table_rmv_vtpn
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jetty_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jetty_grp_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfc_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfr_event_cb
| |-- drivers-ub-urma-uburma-uburma_cmd.c:warning:no-previous-prototype-for-uburma_jfs_event_cb
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_close
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_mmap
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_open
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_release_file
| |-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:the-comparison-will-always-evaluate-as-false-for-the-address-of-dev_name-will-never-be-NULL
| |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_get_umap_ops
| |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_umap_priv_init
| |-- drivers-ub-urma-uburma-uburma_mmap.c:warning:no-previous-prototype-for-uburma_unmap_vma_pages
| |-- include-acpi-processor.h:error:unknown-type-name-phys_cpuid_t
| |-- kernel-sched-core.c:warning:format-llu-expects-argument-of-type-long-long-unsigned-int-but-argument-has-type-int
| |-- kernel-sched-psi.c:warning:no-previous-prototype-for-to_psi_group_ext
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- arm64-randconfig-003-20241213
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-004-20241213
| |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-early_pbha_init
| |-- crypto-asymmetric_keys-pgp_preload.c:error:field-pgp-has-incomplete-type
| |-- crypto-asymmetric_keys-pgp_preload.c:error:implicit-declaration-of-function-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:field-pgp-has-incomplete-type
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:implicit-declaration-of-function-pgp_parse_public_key
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:invalid-use-of-undefined-type-struct-pgp_parse_pubkey
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:passing-argument-of-pgp_calc_pkey_keyid-from-incompatible-pointer-type
| |-- crypto-asymmetric_keys-pgp_public_key.c:error:storage-size-of-pgp-isn-t-known
| |-- crypto-asymmetric_keys-pgp_public_key.c:warning:struct-pgp_parse_pubkey-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| |-- crypto-asymmetric_keys-pgp_public_key.c:warning:unused-variable-pgp
| |-- drivers-char-ipmi-ipmi_bt_sm.c:error:implicit-declaration-of-function-acpi_evaluate_integer
| |-- kernel-sched-core.c:error:TG_STEAL_NO-undeclared-(first-use-in-this-function)
| |-- kernel-sched-fair.c:error:implicit-declaration-of-function-is_tg_steal
| |-- kernel-sched-fair.c:error:invalid-use-of-undefined-type-struct-task_group
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
| |-- mm-pin_mem.c:error:HUGETLB_PAGE_DTOR-undeclared-(first-use-in-this-function)
| |-- mm-pin_mem.c:error:lvalue-required-as-unary-operand
| |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_add_to_page_cache
| |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_pte_none
| |-- mm-share_pool.c:error:implicit-declaration-of-function-huge_ptep_get
| |-- mm-share_pool.c:error:implicit-declaration-of-function-hugetlb_count_add
| |-- mm-share_pool.c:error:implicit-declaration-of-function-set_huge_pte_at
| |-- mm-share_pool.c:error:invalid-initializer
| |-- mm-share_pool.c:warning:no-previous-prototype-for-__mg_sp_alloc_nodemask
| `-- mm-share_pool.c:warning:spa_stat_show-defined-but-not-used
|-- arm64-randconfig-051-20241213
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241213
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241213
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241213
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241213
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-allnoconfig
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- llvm-objcopy:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
| `-- llvm-objdump:error:arch-x86-entry-vdso-vdso64.so.dbg:No-such-file-or-directory
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_rd32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_adm_csr_wr32
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_chip.c:warning:no-previous-prototype-for-function-sss_tool_send_clp_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_alloc_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_copy_to_user
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_in_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_main.c:warning:no-previous-prototype-for-function-sss_tool_free_out_buf
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_id
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_func_type
| |-- drivers-net-ethernet-3snic-sssnic-hw-.-tool-sss_tool_sdk.c:warning:no-previous-prototype-for-function-sss_tool_get_hw_driver_stats
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_read_ack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm.c:warning:no-previous-prototype-for-function-sss_adm_msg_write_nack
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_adm_init.c:warning:no-previous-prototype-for-function-sss_destroy_adm_msg
| |-- drivers-net-ethernet-3snic-sssnic-hw-sss_hwif_export.c:warning:no-previous-prototype-for-function-sss_get_func_id
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-001-20241213
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-002-20241213
| `-- mm-memcontrol.c:error:implicit-declaration-of-function-ksm_process_profit
|-- x86_64-buildonly-randconfig-003-20241213
| `-- drivers-bluetooth-hci_qca.c:warning:qca_soc_data_qca6390-defined-but-not-used
|-- x86_64-buildonly-randconfig-005-20241213
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-006-20241213
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| |-- drivers-gpu-drm-loongson-lsdc_plane.o:warning:objtool:lsdc_plane_init-falls-through-to-next-function-lsdc_plane_reset()
| `-- drivers-gpu-drm-vmwgfx-ttm_object.c:error:Cannot-parse-struct-or-union
`-- x86_64-defconfig
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
`-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
elapsed time: 1030m
configs tested: 15
configs skipped: 108
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241213 gcc-14.2.0
arm64 randconfig-002-20241213 gcc-14.2.0
arm64 randconfig-003-20241213 clang-18
arm64 randconfig-004-20241213 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241213 gcc-12
x86_64 buildonly-randconfig-002-20241213 gcc-12
x86_64 buildonly-randconfig-003-20241213 gcc-12
x86_64 buildonly-randconfig-004-20241213 gcc-12
x86_64 buildonly-randconfig-005-20241213 gcc-12
x86_64 buildonly-randconfig-006-20241213 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 13 Dec '24
by Xie XiuQi 13 Dec '24
13 Dec '24
Some distributions need to maintain and fix KABI compatibility so
that drivers do not need to be recompiled during kernel upgrades.
Fixing KABI compatibility is a dangerous and hacking job.
Developers need to know clearly what they are doing and the risks
they may face. KABI fix actions are closely related to the
processor architecture. Fixes may not be appropriate for all
architectures. Improper fix may cause kernel panic or unexpected
error.
Only for expert users, and select N by default.
Xie XiuQi (2):
kabi: restrict the KABI fix to a specific architecture and dist
kabi: enable KABI_COMPAT series by default on x86_64 & ARM64
arch/arm64/configs/openeuler_defconfig | 5 +--
arch/x86/configs/openeuler_defconfig | 5 +--
include/linux/kabi.h | 2 +-
init/Kconfig | 49 +++++++++++++++++---------
4 files changed, 40 insertions(+), 21 deletions(-)
--
2.20.1
1
2

[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'?
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
Hi Wang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: c533562a2802206135467a06384ba33cff42b18a [2579/2579] share_pool: Use sharepool_no_page to alloc hugepage
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241213/202412131234.abo5dw1q-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412131234.abo5dw1q-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412131234.abo5dw1q-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/share_pool.c: In function 'mg_sp_group_id_by_pid':
mm/share_pool.c:858:29: warning: ordered comparison of pointer with integer zero [-Wextra]
858 | if (!spg_ids || num <= 0)
| ^~
mm/share_pool.c: In function 'sp_compact_nodes':
mm/share_pool.c:1851:9: error: implicit declaration of function 'sysctl_compaction_handler' [-Werror=implicit-function-declaration]
1851 | sysctl_compaction_handler(NULL, 1, NULL, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sp_hugetlb_entry':
mm/share_pool.c:3014:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
3014 | pte_t pte = huge_ptep_get(ptep);
| ^~~~~~~~~~~~~
mm/share_pool.c:3014:21: error: invalid initializer
mm/share_pool.c: In function 'sp_unshare_kva':
mm/share_pool.c:3394:14: warning: variable 'is_hugepage' set but not used [-Wunused-but-set-variable]
3394 | bool is_hugepage = true;
| ^~~~~~~~~~~
mm/share_pool.c: At top level:
mm/share_pool.c:3691:6: warning: no previous prototype for 'sp_proc_stat_drop' [-Wmissing-prototypes]
3691 | void sp_proc_stat_drop(struct sp_proc_stat *stat)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:3922:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes]
3922 | void spa_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:4004:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes]
4004 | void spg_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c: In function 'sharepool_no_page':
>> mm/share_pool.c:4221:30: error: implicit declaration of function 'huge_pte_none'; did you mean 'huge_pte_lock'? [-Werror=implicit-function-declaration]
4221 | if (!huge_pte_none(huge_ptep_get(ptep))) {
| ^~~~~~~~~~~~~
| huge_pte_lock
>> mm/share_pool.c:4234:23: error: implicit declaration of function 'huge_add_to_page_cache'; did you mean 'add_to_page_cache'? [-Werror=implicit-function-declaration]
4234 | err = huge_add_to_page_cache(page, mapping, idx);
| ^~~~~~~~~~~~~~~~~~~~~~
| add_to_page_cache
>> mm/share_pool.c:4256:9: error: implicit declaration of function 'set_huge_pte_at'; did you mean 'set_huge_swap_pte_at'? [-Werror=implicit-function-declaration]
4256 | set_huge_pte_at(mm, haddr, ptep, new_pte);
| ^~~~~~~~~~~~~~~
| set_huge_swap_pte_at
>> mm/share_pool.c:4258:9: error: implicit declaration of function 'hugetlb_count_add'; did you mean 'hugetlb_count_sub'? [-Werror=implicit-function-declaration]
4258 | hugetlb_count_add(pages_per_huge_page(h), mm);
| ^~~~~~~~~~~~~~~~~
| hugetlb_count_sub
mm/share_pool.c: At top level:
mm/share_pool.c:4136:12: warning: 'proc_overview_show' defined but not used [-Wunused-function]
4136 | static int proc_overview_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~~~~
mm/share_pool.c:4093:12: warning: 'proc_stat_show' defined but not used [-Wunused-function]
4093 | static int proc_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~
mm/share_pool.c:4029:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
4029 | static int spa_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +4221 mm/share_pool.c
4179
4180 vm_fault_t sharepool_no_page(struct mm_struct *mm,
4181 struct vm_area_struct *vma,
4182 struct address_space *mapping, pgoff_t idx,
4183 unsigned long address, pte_t *ptep, unsigned int flags)
4184 {
4185 struct hstate *h = hstate_vma(vma);
4186 vm_fault_t ret = VM_FAULT_SIGBUS;
4187 unsigned long size;
4188 struct page *page;
4189 pte_t new_pte;
4190 spinlock_t *ptl;
4191 unsigned long haddr = address & huge_page_mask(h);
4192 bool new_page = false;
4193 int err;
4194 int node_id;
4195 struct sp_area *spa;
4196
4197 spa = __find_sp_area(vma->vm_start);
4198 if (!spa) {
4199 pr_err("share pool: vma is invalid, not from sp mmap\n");
4200 return ret;
4201 }
4202 node_id = spa->node_id;
4203 __sp_area_drop(spa);
4204
4205 retry:
4206 page = find_lock_page(mapping, idx);
4207 if (!page) {
4208 size = i_size_read(mapping->host) >> huge_page_shift(h);
4209 if (idx >= size)
4210 goto out;
4211
4212 page = alloc_huge_page(vma, haddr, 0);
4213 if (IS_ERR(page)) {
4214 page = alloc_huge_page_nodemask(hstate_file(vma->vm_file),
4215 node_id, NULL, GFP_KERNEL);
4216 if (!page)
4217 page = ERR_PTR(-ENOMEM);
4218 }
4219 if (IS_ERR(page)) {
4220 ptl = huge_pte_lock(h, mm, ptep);
> 4221 if (!huge_pte_none(huge_ptep_get(ptep))) {
4222 ret = 0;
4223 spin_unlock(ptl);
4224 goto out;
4225 }
4226 spin_unlock(ptl);
4227 ret = vmf_error(PTR_ERR(page));
4228 goto out;
4229 }
4230 __SetPageUptodate(page);
4231 new_page = true;
4232
4233 /* sharepool pages are all shared */
> 4234 err = huge_add_to_page_cache(page, mapping, idx);
4235 if (err) {
4236 put_page(page);
4237 if (err == -EEXIST)
4238 goto retry;
4239 goto out;
4240 }
4241 }
4242
4243
4244 ptl = huge_pte_lock(h, mm, ptep);
4245 size = i_size_read(mapping->host) >> huge_page_shift(h);
4246 if (idx >= size)
4247 goto backout;
4248
4249 ret = 0;
4250 if (!huge_pte_none(huge_ptep_get(ptep)))
4251 goto backout;
4252
4253 page_dup_rmap(page, true);
4254 new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE)
4255 && (vma->vm_flags & VM_SHARED)));
> 4256 set_huge_pte_at(mm, haddr, ptep, new_pte);
4257
> 4258 hugetlb_count_add(pages_per_huge_page(h), mm);
4259
4260 spin_unlock(ptl);
4261
4262 if (new_page) {
4263 SetPagePrivate(&page[1]);
4264 }
4265
4266 unlock_page(page);
4267 out:
4268 return ret;
4269
4270 backout:
4271 spin_unlock(ptl);
4272 unlock_page(page);
4273 put_page(page);
4274 goto out;
4275 }
4276
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-22.03-LTS-SP1] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24
by Qi Xi 13 Dec '24
13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com>
mainline inclusion
from mainline-v6.2-rc5
commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O
CVE: CVE-2022-48868
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
The workqueue is enabled when the appropriate driver is loaded and
disabled when the driver is removed. When the driver is removed it
assumes that the workqueue was enabled successfully and proceeds to
free allocations made during workqueue enabling.
Failure during workqueue enabling does not prevent the driver from
being loaded. This is because the error path within drv_enable_wq()
returns success unless a second failure is encountered
during the error path. By returning success it is possible to load
the driver even if the workqueue cannot be enabled and
allocations that do not exist are attempted to be freed during
driver remove.
Some examples of problematic flows:
(a)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_unmap_portal() is called on error exit path, but
drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The
driver is thus loaded successfully.
idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal()
Above flow on driver unload triggers the WARN in devm_iounmap() because
the device resource has already been removed during error path of
drv_enable_wq().
(b)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_init_percpu_ref() is never called to initialize the percpu
counter, yet the driver loads successfully because drv_enable_wq()
returns 0.
idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill():
Above flow on driver unload triggers a BUG when attempting to drop the
initial ref of the uninitialized percpu ref:
BUG: kernel NULL pointer dereference, address: 0000000000000010
Fix the drv_enable_wq() error path by returning the original error that
indicates failure of workqueue enabling. This ensures that the probe
fails when an error is encountered and the driver remove paths are only
attempted when the workqueue was enabled successfully.
Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c")
Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com>
Reviewed-by: Dave Jiang <dave.jiang(a)intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com>
Cc: stable(a)vger.kernel.org
Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524…
Signed-off-by: Vinod Koul <vkoul(a)kernel.org>
Signed-off-by: Qi Xi <xiqi2(a)huawei.com>
---
drivers/dma/idxd/device.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c
index 06f5d3783d77..c5523ced2e3a 100644
--- a/drivers/dma/idxd/device.c
+++ b/drivers/dma/idxd/device.c
@@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq)
err_irq:
idxd_wq_unmap_portal(wq);
err_map_portal:
- rc = idxd_wq_disable(wq, false);
- if (rc < 0)
+ if (idxd_wq_disable(wq, false))
dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq)));
err:
return rc;
--
2.33.0
2
1

[PATCH OLK-5.10] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24
by Qi Xi 13 Dec '24
13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com>
mainline inclusion
from mainline-v6.2-rc5
commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O
CVE: CVE-2022-48868
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
The workqueue is enabled when the appropriate driver is loaded and
disabled when the driver is removed. When the driver is removed it
assumes that the workqueue was enabled successfully and proceeds to
free allocations made during workqueue enabling.
Failure during workqueue enabling does not prevent the driver from
being loaded. This is because the error path within drv_enable_wq()
returns success unless a second failure is encountered
during the error path. By returning success it is possible to load
the driver even if the workqueue cannot be enabled and
allocations that do not exist are attempted to be freed during
driver remove.
Some examples of problematic flows:
(a)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_unmap_portal() is called on error exit path, but
drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The
driver is thus loaded successfully.
idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal()
Above flow on driver unload triggers the WARN in devm_iounmap() because
the device resource has already been removed during error path of
drv_enable_wq().
(b)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_init_percpu_ref() is never called to initialize the percpu
counter, yet the driver loads successfully because drv_enable_wq()
returns 0.
idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill():
Above flow on driver unload triggers a BUG when attempting to drop the
initial ref of the uninitialized percpu ref:
BUG: kernel NULL pointer dereference, address: 0000000000000010
Fix the drv_enable_wq() error path by returning the original error that
indicates failure of workqueue enabling. This ensures that the probe
fails when an error is encountered and the driver remove paths are only
attempted when the workqueue was enabled successfully.
Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c")
Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com>
Reviewed-by: Dave Jiang <dave.jiang(a)intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com>
Cc: stable(a)vger.kernel.org
Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524…
Signed-off-by: Vinod Koul <vkoul(a)kernel.org>
Signed-off-by: Qi Xi <xiqi2(a)huawei.com>
---
drivers/dma/idxd/device.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c
index 300ee3b5cf63..cd792f3f9873 100644
--- a/drivers/dma/idxd/device.c
+++ b/drivers/dma/idxd/device.c
@@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq)
err_irq:
idxd_wq_unmap_portal(wq);
err_map_portal:
- rc = idxd_wq_disable(wq, false);
- if (rc < 0)
+ if (idxd_wq_disable(wq, false))
dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq)));
err:
return rc;
--
2.33.0
2
1

[PATCH openEuler-22.03-LTS-SP1] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24
by Qi Xi 13 Dec '24
13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com>
mainline inclusion
from mainline-v6.2-rc5
commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O
CVE: CVE-2022-48868
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
The workqueue is enabled when the appropriate driver is loaded and
disabled when the driver is removed. When the driver is removed it
assumes that the workqueue was enabled successfully and proceeds to
free allocations made during workqueue enabling.
Failure during workqueue enabling does not prevent the driver from
being loaded. This is because the error path within drv_enable_wq()
returns success unless a second failure is encountered
during the error path. By returning success it is possible to load
the driver even if the workqueue cannot be enabled and
allocations that do not exist are attempted to be freed during
driver remove.
Some examples of problematic flows:
(a)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_unmap_portal() is called on error exit path, but
drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The
driver is thus loaded successfully.
idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal()
Above flow on driver unload triggers the WARN in devm_iounmap() because
the device resource has already been removed during error path of
drv_enable_wq().
(b)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_init_percpu_ref() is never called to initialize the percpu
counter, yet the driver loads successfully because drv_enable_wq()
returns 0.
idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill():
Above flow on driver unload triggers a BUG when attempting to drop the
initial ref of the uninitialized percpu ref:
BUG: kernel NULL pointer dereference, address: 0000000000000010
Fix the drv_enable_wq() error path by returning the original error that
indicates failure of workqueue enabling. This ensures that the probe
fails when an error is encountered and the driver remove paths are only
attempted when the workqueue was enabled successfully.
Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c")
Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com>
Reviewed-by: Dave Jiang <dave.jiang(a)intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com>
Cc: stable(a)vger.kernel.org
Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524…
Signed-off-by: Vinod Koul <vkoul(a)kernel.org>
Signed-off-by: Qi Xi <xiqi2(a)huawei.com>
---
drivers/dma/idxd/device.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c
index 06f5d3783d77..c5523ced2e3a 100644
--- a/drivers/dma/idxd/device.c
+++ b/drivers/dma/idxd/device.c
@@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq)
err_irq:
idxd_wq_unmap_portal(wq);
err_map_portal:
- rc = idxd_wq_disable(wq, false);
- if (rc < 0)
+ if (idxd_wq_disable(wq, false))
dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq)));
err:
return rc;
--
2.33.0
2
1

[PATCH OLK-5.10] dmaengine: idxd: Let probe fail when workqueue cannot be enabled
by Qi Xi 13 Dec '24
by Qi Xi 13 Dec '24
13 Dec '24
From: Reinette Chatre <reinette.chatre(a)intel.com>
mainline inclusion
from mainline-v6.2-rc5
commit b51b75f0604f17c0f6f3b6f68f1a521a5cc6b04f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IALL6O
CVE: CVE-2022-48868
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
The workqueue is enabled when the appropriate driver is loaded and
disabled when the driver is removed. When the driver is removed it
assumes that the workqueue was enabled successfully and proceeds to
free allocations made during workqueue enabling.
Failure during workqueue enabling does not prevent the driver from
being loaded. This is because the error path within drv_enable_wq()
returns success unless a second failure is encountered
during the error path. By returning success it is possible to load
the driver even if the workqueue cannot be enabled and
allocations that do not exist are attempted to be freed during
driver remove.
Some examples of problematic flows:
(a)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_unmap_portal() is called on error exit path, but
drv_enable_wq() returns 0 because idxd_wq_disable() succeeds. The
driver is thus loaded successfully.
idxd_dmaengine_drv_remove()->drv_disable_wq()->idxd_wq_unmap_portal()
Above flow on driver unload triggers the WARN in devm_iounmap() because
the device resource has already been removed during error path of
drv_enable_wq().
(b)
idxd_dmaengine_drv_probe() -> drv_enable_wq() -> idxd_wq_request_irq():
In above flow, if idxd_wq_request_irq() fails then
idxd_wq_init_percpu_ref() is never called to initialize the percpu
counter, yet the driver loads successfully because drv_enable_wq()
returns 0.
idxd_dmaengine_drv_remove()->__idxd_wq_quiesce()->percpu_ref_kill():
Above flow on driver unload triggers a BUG when attempting to drop the
initial ref of the uninitialized percpu ref:
BUG: kernel NULL pointer dereference, address: 0000000000000010
Fix the drv_enable_wq() error path by returning the original error that
indicates failure of workqueue enabling. This ensures that the probe
fails when an error is encountered and the driver remove paths are only
attempted when the workqueue was enabled successfully.
Fixes: 1f2bb40337f0 ("dmaengine: idxd: move wq_enable() to device.c")
Signed-off-by: Reinette Chatre <reinette.chatre(a)intel.com>
Reviewed-by: Dave Jiang <dave.jiang(a)intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu(a)intel.com>
Cc: stable(a)vger.kernel.org
Link: https://lore.kernel.org/r/e8d8116e5efa0fd14fadc5adae6ffd319f0e5ff1.16704524…
Signed-off-by: Vinod Koul <vkoul(a)kernel.org>
Signed-off-by: Qi Xi <xiqi2(a)huawei.com>
---
drivers/dma/idxd/device.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/dma/idxd/device.c b/drivers/dma/idxd/device.c
index 300ee3b5cf63..cd792f3f9873 100644
--- a/drivers/dma/idxd/device.c
+++ b/drivers/dma/idxd/device.c
@@ -1390,8 +1390,7 @@ int drv_enable_wq(struct idxd_wq *wq)
err_irq:
idxd_wq_unmap_portal(wq);
err_map_portal:
- rc = idxd_wq_disable(wq, false);
- if (rc < 0)
+ if (idxd_wq_disable(wq, false))
dev_dbg(dev, "wq %s disable failed\n", dev_name(wq_confdev(wq)));
err:
return rc;
--
2.33.0
2
1

[PATCH OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 13 Dec '24
by Xie XiuQi 13 Dec '24
13 Dec '24
Some distributions need to maintain and fix KABI compatibility so
that drivers do not need to be recompiled during kernel upgrades.
Fixing KABI compatibility is a dangerous and hacking job.
Developers need to know clearly what they are doing and the risks
they may face. KABI fix actions are closely related to the
processor architecture. Fixes may not be appropriate for all
architectures. Improper fix may cause kernel panic or unexpected
error.
Only for expert users, and select N by default.
Xie XiuQi (2):
kabi: restrict the KABI fix to a specific architecture and dist
kabi: enable KABI_COMPAT series by default on x86_64 & ARM64
arch/arm64/configs/openeuler_defconfig | 5 +--
arch/x86/configs/openeuler_defconfig | 5 +--
include/linux/kabi.h | 2 +-
init/Kconfig | 49 +++++++++++++++++---------
4 files changed, 40 insertions(+), 21 deletions(-)
--
2.20.1
1
2
Offering: HULK
hulk inclusion
category: other
bugzilla: https://gitee.com/openeuler/kernel/issues/IBAZ3A
--------------------------------
Add two KABI_RESERVE macros for each struct, including i2c_adapter,
sched_domain_shared, sched_domain.
Signed-off-by: Zicheng Qu <quzicheng(a)huawei.com>
---
include/linux/i2c.h | 3 +++
include/linux/sched/topology.h | 5 +++++
2 files changed, 8 insertions(+)
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 32cf5708d5a5..3fd6932bf8cd 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -746,6 +746,9 @@ struct i2c_adapter {
struct irq_domain *host_notify_domain;
struct regulator *bus_regulator;
+
+ KABI_RESERVE(1)
+ KABI_RESERVE(2)
};
#define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev)
diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index 8e4d9bbdaa40..09a2b2625202 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -85,6 +85,8 @@ struct sched_domain_shared {
#ifdef CONFIG_SCHED_STEAL
struct sparsemask *cfs_overload_cpus;
#endif
+ KABI_RESERVE(1)
+ KABI_RESERVE(2)
};
struct sched_domain {
@@ -154,6 +156,9 @@ struct sched_domain {
};
struct sched_domain_shared *shared;
+ KABI_RESERVE(1)
+ KABI_RESERVE(2)
+
unsigned int span_weight;
/*
* Span of all CPUs in this domain.
--
2.34.1
2
1
Boris Burkov (1):
btrfs: fix qgroup reserve leaks in cow_file_range
Haisu Wang (1):
btrfs: fix the length of reserved qgroup to free
fs/btrfs/inode.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.39.2
2
3

[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:738:21: error: implicit declaration of function 'huge_ptep_get'
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: c18bb367938bb02621f45d904531832df1abed2a [2579/2579] share_pool: Implement sp_walk_page_range()
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241213/202412131028.JwkewMIN-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412131028.JwkewMIN-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412131028.JwkewMIN-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/share_pool.c: In function 'sp_hugetlb_entry':
>> mm/share_pool.c:738:21: error: implicit declaration of function 'huge_ptep_get' [-Werror=implicit-function-declaration]
738 | pte_t pte = huge_ptep_get(ptep);
| ^~~~~~~~~~~~~
>> mm/share_pool.c:738:21: error: invalid initializer
mm/share_pool.c: At top level:
mm/share_pool.c:1116:6: warning: no previous prototype for 'sp_proc_stat_drop' [-Wmissing-prototypes]
1116 | void sp_proc_stat_drop(struct sp_proc_stat *stat)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:1347:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes]
1347 | void spa_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:1429:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes]
1429 | void spg_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:1561:12: warning: 'proc_overview_show' defined but not used [-Wunused-function]
1561 | static int proc_overview_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~~~~
mm/share_pool.c:1518:12: warning: 'proc_stat_show' defined but not used [-Wunused-function]
1518 | static int proc_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~
mm/share_pool.c:1454:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
1454 | static int spa_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~
mm/share_pool.c:490:21: warning: 'spa_file' defined but not used [-Wunused-function]
490 | static struct file *spa_file(struct sp_area *spa)
| ^~~~~~~~
mm/share_pool.c:485:22: warning: 'spa_size' defined but not used [-Wunused-function]
485 | static unsigned long spa_size(struct sp_area *spa)
| ^~~~~~~~
mm/share_pool.c:409:13: warning: 'free_spg_stat' defined but not used [-Wunused-function]
409 | static void free_spg_stat(int spg_id)
| ^~~~~~~~~~~~~
mm/share_pool.c:386:12: warning: 'sp_init_spg_stat' defined but not used [-Wunused-function]
386 | static int sp_init_spg_stat(struct sp_group *spg)
| ^~~~~~~~~~~~~~~~
mm/share_pool.c:345:30: warning: 'sp_init_process_stat' defined but not used [-Wunused-function]
345 | static struct spg_proc_stat *sp_init_process_stat(struct task_struct *tsk,
| ^~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:267:13: warning: 'update_spg_proc_stat_k2u' defined but not used [-Wunused-function]
267 | static void update_spg_proc_stat_k2u(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:253:13: warning: 'update_spg_proc_stat_alloc' defined but not used [-Wunused-function]
253 | static void update_spg_proc_stat_alloc(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:223:13: warning: 'update_spg_stat_k2u' defined but not used [-Wunused-function]
223 | static void update_spg_stat_k2u(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~
mm/share_pool.c:201:13: warning: 'update_spg_stat_alloc' defined but not used [-Wunused-function]
201 | static void update_spg_stat_alloc(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from mm/share_pool.c:27:
mm/share_pool.c:105:19: warning: 'sp_group_id_ida' defined but not used [-Wunused-variable]
105 | static DEFINE_IDA(sp_group_id_ida);
| ^~~~~~~~~~~~~~~
include/linux/idr.h:253:44: note: in definition of macro 'DEFINE_IDA'
253 | #define DEFINE_IDA(name) struct ida name = IDA_INIT(name)
| ^~~~
mm/share_pool.c:99:19: warning: 'sp_group_idr' defined but not used [-Wunused-variable]
99 | static DEFINE_IDR(sp_group_idr);
| ^~~~~~~~~~~~
include/linux/idr.h:56:44: note: in definition of macro 'DEFINE_IDR'
56 | #define DEFINE_IDR(name) struct idr name = IDR_INIT(name)
| ^~~~
mm/share_pool.c:82:18: warning: 'mdc_default_group_id' defined but not used [-Wunused-const-variable=]
82 | static const int mdc_default_group_id = 1;
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/huge_ptep_get +738 mm/share_pool.c
733
734 static int sp_hugetlb_entry(pte_t *ptep, unsigned long hmask,
735 unsigned long addr, unsigned long next,
736 struct mm_walk *walk)
737 {
> 738 pte_t pte = huge_ptep_get(ptep);
739 struct page *page = pte_page(pte);
740 struct sp_walk_data *sp_walk_data;
741
742 if (unlikely(!pte_present(pte))) {
743 pr_debug("the page of addr %lx unexpectedly not in RAM\n", (unsigned long)addr);
744 return -EFAULT;
745 }
746
747 sp_walk_data = walk->private;
748 get_page(page);
749 sp_walk_data->pages[sp_walk_data->page_count++] = page;
750 return 0;
751 }
752
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] mm/share_pool.c:1215:12: warning: 'spa_stat_show' defined but not used
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: d83dcc99d770b53e4839791fa2319c953fc6e42d [2579/2579] share_pool: Add proc interfaces to show sp info
config: arm64-randconfig-004-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130822.tSyyPsoM-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130822.tSyyPsoM-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412130822.tSyyPsoM-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/share_pool.c:877:6: warning: no previous prototype for 'sp_proc_stat_drop' [-Wmissing-prototypes]
877 | void sp_proc_stat_drop(struct sp_proc_stat *stat)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:1108:6: warning: no previous prototype for 'spa_overview_show' [-Wmissing-prototypes]
1108 | void spa_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:1190:6: warning: no previous prototype for 'spg_overview_show' [-Wmissing-prototypes]
1190 | void spg_overview_show(struct seq_file *seq)
| ^~~~~~~~~~~~~~~~~
mm/share_pool.c:1322:12: warning: 'proc_overview_show' defined but not used [-Wunused-function]
1322 | static int proc_overview_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~~~~~
mm/share_pool.c:1279:12: warning: 'proc_stat_show' defined but not used [-Wunused-function]
1279 | static int proc_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~~
>> mm/share_pool.c:1215:12: warning: 'spa_stat_show' defined but not used [-Wunused-function]
1215 | static int spa_stat_show(struct seq_file *seq, void *offset)
| ^~~~~~~~~~~~~
mm/share_pool.c:489:21: warning: 'spa_file' defined but not used [-Wunused-function]
489 | static struct file *spa_file(struct sp_area *spa)
| ^~~~~~~~
mm/share_pool.c:484:22: warning: 'spa_size' defined but not used [-Wunused-function]
484 | static unsigned long spa_size(struct sp_area *spa)
| ^~~~~~~~
mm/share_pool.c:408:13: warning: 'free_spg_stat' defined but not used [-Wunused-function]
408 | static void free_spg_stat(int spg_id)
| ^~~~~~~~~~~~~
mm/share_pool.c:385:12: warning: 'sp_init_spg_stat' defined but not used [-Wunused-function]
385 | static int sp_init_spg_stat(struct sp_group *spg)
| ^~~~~~~~~~~~~~~~
mm/share_pool.c:344:30: warning: 'sp_init_process_stat' defined but not used [-Wunused-function]
344 | static struct spg_proc_stat *sp_init_process_stat(struct task_struct *tsk,
| ^~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:266:13: warning: 'update_spg_proc_stat_k2u' defined but not used [-Wunused-function]
266 | static void update_spg_proc_stat_k2u(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:252:13: warning: 'update_spg_proc_stat_alloc' defined but not used [-Wunused-function]
252 | static void update_spg_proc_stat_alloc(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
mm/share_pool.c:222:13: warning: 'update_spg_stat_k2u' defined but not used [-Wunused-function]
222 | static void update_spg_stat_k2u(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~
mm/share_pool.c:200:13: warning: 'update_spg_stat_alloc' defined but not used [-Wunused-function]
200 | static void update_spg_stat_alloc(unsigned long size, bool inc,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from mm/share_pool.c:27:
mm/share_pool.c:104:19: warning: 'sp_group_id_ida' defined but not used [-Wunused-variable]
104 | static DEFINE_IDA(sp_group_id_ida);
| ^~~~~~~~~~~~~~~
include/linux/idr.h:253:44: note: in definition of macro 'DEFINE_IDA'
253 | #define DEFINE_IDA(name) struct ida name = IDA_INIT(name)
| ^~~~
mm/share_pool.c:98:19: warning: 'sp_group_idr' defined but not used [-Wunused-variable]
98 | static DEFINE_IDR(sp_group_idr);
| ^~~~~~~~~~~~
include/linux/idr.h:56:44: note: in definition of macro 'DEFINE_IDR'
56 | #define DEFINE_IDR(name) struct idr name = IDR_INIT(name)
| ^~~~
mm/share_pool.c:81:18: warning: 'mdc_default_group_id' defined but not used [-Wunused-const-variable=]
81 | static const int mdc_default_group_id = 1;
| ^~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
vim +/spa_stat_show +1215 mm/share_pool.c
1214
> 1215 static int spa_stat_show(struct seq_file *seq, void *offset)
1216 {
1217 spg_overview_show(seq);
1218 spa_overview_show(seq);
1219 /* print the file header */
1220 seq_printf(seq, "%-10s %-16s %-16s %-10s %-7s %-5s %-8s %-8s\n",
1221 "Group ID", "va_start", "va_end", "Size(KB)", "Type", "Huge", "PID", "Ref");
1222 rb_spa_stat_show(seq);
1223 return 0;
1224 }
1225
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t'
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: c3fe0dc62217d6faa76128ed26d64e421767919e [2579/2579] cpufreq: Add SEEP governor for hardware-managed P-states
config: arm64-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130652.MbID3V5Y-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130652.MbID3V5Y-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412130652.MbID3V5Y-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/acpi/cppc_acpi.h:17,
from drivers/cpufreq/cpufreq_seep.c:13:
>> include/acpi/processor.h:221:9: error: unknown type name 'phys_cpuid_t'
221 | phys_cpuid_t phys_id; /* CPU hardware ID such as APIC ID for x86 */
| ^~~~~~~~~~~~
include/acpi/processor.h:350:1: error: unknown type name 'phys_cpuid_t'
350 | phys_cpuid_t acpi_get_phys_id(acpi_handle, int type, u32 acpi_id);
| ^~~~~~~~~~~~
include/acpi/processor.h:351:1: error: unknown type name 'phys_cpuid_t'
351 | phys_cpuid_t acpi_map_madt_entry(u32 acpi_id);
| ^~~~~~~~~~~~
include/acpi/processor.h:352:20: error: unknown type name 'phys_cpuid_t'
352 | int acpi_map_cpuid(phys_cpuid_t phys_id, u32 acpi_id);
| ^~~~~~~~~~~~
include/acpi/processor.h:354:1: error: unknown type name 'phys_cpuid_t'
354 | phys_cpuid_t acpi_id_to_phys_cpuid(u32 acpi_id);
| ^~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CPPC_CPUFREQ_SYSFS_INTERFACE
Depends on [n]: CPU_FREQ [=y] && (ARM || ARM64 [=y]) && ACPI_CPPC_CPUFREQ [=n]
Selected by [y]:
- CPU_FREQ_GOV_SEEP [=y] && CPU_FREQ [=y] && (ACPI_CPPC_CPUFREQ [=n] || ARM64 [=y])
vim +/phys_cpuid_t +221 include/acpi/processor.h
^1da177e4c3f415 Linus Torvalds 2005-04-16 217
^1da177e4c3f415 Linus Torvalds 2005-04-16 218 struct acpi_processor {
^1da177e4c3f415 Linus Torvalds 2005-04-16 219 acpi_handle handle;
^1da177e4c3f415 Linus Torvalds 2005-04-16 220 u32 acpi_id;
828aef376d7a129 Catalin Marinas 2015-03-24 @221 phys_cpuid_t phys_id; /* CPU hardware ID such as APIC ID for x86 */
af8f3f514d193eb Hanjun Guo 2015-01-04 222 u32 id; /* CPU logical ID allocated by OS */
^1da177e4c3f415 Linus Torvalds 2005-04-16 223 u32 pblk;
^1da177e4c3f415 Linus Torvalds 2005-04-16 224 int performance_platform_limit;
01854e697a77a43 Luming Yu 2007-05-26 225 int throttling_platform_limit;
ff55a9cebab0240 Len Brown 2007-06-02 226 /* 0 - states 0..n-th state available */
01854e697a77a43 Luming Yu 2007-05-26 227
^1da177e4c3f415 Linus Torvalds 2005-04-16 228 struct acpi_processor_flags flags;
^1da177e4c3f415 Linus Torvalds 2005-04-16 229 struct acpi_processor_power power;
^1da177e4c3f415 Linus Torvalds 2005-04-16 230 struct acpi_processor_performance *performance;
^1da177e4c3f415 Linus Torvalds 2005-04-16 231 struct acpi_processor_throttling throttling;
^1da177e4c3f415 Linus Torvalds 2005-04-16 232 struct acpi_processor_limit limit;
d9460fd227ed2ce Zhang Rui 2008-01-17 233 struct thermal_cooling_device *cdev;
ac212b6980d8d5e Rafael J. Wysocki 2013-05-03 234 struct device *dev; /* Processor device. */
3000ce3c52f8b8d Rafael J. Wysocki 2019-10-16 235 struct freq_qos_request perflib_req;
3000ce3c52f8b8d Rafael J. Wysocki 2019-10-16 236 struct freq_qos_request thermal_req;
^1da177e4c3f415 Linus Torvalds 2005-04-16 237 };
^1da177e4c3f415 Linus Torvalds 2005-04-16 238
:::::: The code at line 221 was first introduced by commit
:::::: 828aef376d7a129547bc4ebb949965040177e3da ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID
:::::: TO: Catalin Marinas <catalin.marinas(a)arm.com>
:::::: CC: Will Deacon <will.deacon(a)arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt'
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
Hi Hongchen,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: b9d65551a3adfa87a7c5d33391187ee60a1b501d [2579/2579] drm: add inspur drm driver support
config: arm64-randconfig-001-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130515.0Aw10X06-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130515.0Aw10X06-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412130515.0Aw10X06-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/inspur/inspur_drm_drv.c:30:13: warning: no previous prototype for 'inspur_drm_interrupt' [-Wmissing-prototypes]
30 | irqreturn_t inspur_drm_interrupt(int irq, void *arg)
| ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/inspur/inspur_drm_drv.c: In function 'inspur_pci_probe':
drivers/gpu/drm/inspur/inspur_drm_drv.c:379:36: warning: unused variable 'priv' [-Wunused-variable]
379 | struct inspur_drm_private *priv;
| ^~~~
vim +/inspur_drm_interrupt +30 drivers/gpu/drm/inspur/inspur_drm_drv.c
27
28
29 DEFINE_DRM_GEM_FOPS(inspur_fops);
> 30 irqreturn_t inspur_drm_interrupt(int irq, void *arg)
31 {
32 struct drm_device *dev = (struct drm_device *)arg;
33 struct inspur_drm_private *priv =
34 (struct inspur_drm_private *)dev->dev_private;
35 u32 status;
36
37 status = readl(priv->mmio + INSPUR_RAW_INTERRUPT);
38
39 if (status & INSPUR_RAW_INTERRUPT_VBLANK(1)) {
40 writel(INSPUR_RAW_INTERRUPT_VBLANK(1),
41 priv->mmio + INSPUR_RAW_INTERRUPT);
42 drm_handle_vblank(dev, 0);
43 }
44
45 return IRQ_HANDLED;
46 }
47
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] kernel/sched/core.c:9632:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'int'
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: 00d37128abe2687fac974c5d21aa67fac6518c7c [2579/2579] sched: Introduce smart grid scheduling strategy for cfs
config: arm64-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130534.AeGefPCj-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130534.AeGefPCj-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412130534.AeGefPCj-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/sched/core.c:2746:6: warning: no previous prototype for 'sched_set_stop_task' [-Wmissing-prototypes]
2746 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:9530:5: warning: no previous prototype for 'tg_set_dynamic_affinity_mode' [-Wmissing-prototypes]
9530 | int tg_set_dynamic_affinity_mode(struct task_group *tg, u64 mode)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:9567:5: warning: no previous prototype for 'tg_set_affinity_period' [-Wmissing-prototypes]
9567 | int tg_set_affinity_period(struct task_group *tg, u64 period_ms)
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:9578:5: warning: no previous prototype for 'tg_get_affinity_period' [-Wmissing-prototypes]
9578 | u64 tg_get_affinity_period(struct task_group *tg)
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c: In function 'cpu_affinity_stat_show':
>> kernel/sched/core.c:9632:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'int' [-Wformat=]
9632 | seq_printf(sf, "sd_level %d, cpu list %*pbl, stay_cnt %llu\n",
| ~~~^
| |
| long long unsigned int
| %u
vim +9632 kernel/sched/core.c
9619
9620 static int cpu_affinity_stat_show(struct seq_file *sf, void *v)
9621 {
9622 struct task_group *tg = css_tg(seq_css(sf));
9623 struct auto_affinity *auto_affi = tg->auto_affinity;
9624 struct affinity_domain *ad = &auto_affi->ad;
9625 int i;
9626
9627 seq_printf(sf, "period_active %d\n", auto_affi->period_active);
9628 seq_printf(sf, "dcount %d\n", ad->dcount);
9629 seq_printf(sf, "domain_mask 0x%x\n", ad->domain_mask);
9630 seq_printf(sf, "curr_level %d\n", ad->curr_level);
9631 for (i = 0; i < ad->dcount; i++)
> 9632 seq_printf(sf, "sd_level %d, cpu list %*pbl, stay_cnt %llu\n",
9633 i, cpumask_pr_args(ad->domains[i]),
9634 schedstat_val(ad->stay_cnt[i]));
9635
9636 return 0;
9637 }
9638 #endif /* CONFIG_QOS_SCHED_SMART_GRID */
9639
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2579/2579] arch/arm64/kernel/arm64_cpu_park.c:249:31: error: 'const struct cpu_operations' has no member named 'cpu_die'
by kernel test robot 13 Dec '24
by kernel test robot 13 Dec '24
13 Dec '24
Hi Kefeng,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: ff5378fff024fcb2552e6da22811cf933fe4a4c0
commit: ba25d7467b3040d98290a140256303ba190ef376 [2579/2579] arm64: cpu_park: Move into stand-alone file
config: arm64-randconfig-002-20241213 (https://download.01.org/0day-ci/archive/20241213/202412130351.ogsraRJ5-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412130351.ogsraRJ5-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412130351.ogsraRJ5-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/arm64_cpu_park.c: In function 'cpu_park_stop':
>> arch/arm64/kernel/arm64_cpu_park.c:249:31: error: 'const struct cpu_operations' has no member named 'cpu_die'
249 | if (ops && ops->cpu_die)
| ^~
arch/arm64/kernel/arm64_cpu_park.c:250:28: error: 'const struct cpu_operations' has no member named 'cpu_die'
250 | ops->cpu_die(cpu);
| ^~
vim +249 arch/arm64/kernel/arm64_cpu_park.c
235
236 void cpu_park_stop(void)
237 {
238 int cpu = smp_processor_id();
239 const struct cpu_operations *ops = NULL;
240 /*
241 * Go to cpu park state.
242 * Otherwise go to cpu die.
243 */
244 if (kexec_in_progress && park_info.start_v) {
245 machine_kexec_mask_interrupts();
246 cpu_park(cpu);
247
248 ops = get_cpu_ops(cpu);
> 249 if (ops && ops->cpu_die)
250 ops->cpu_die(cpu);
251 }
252 }
253
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

13 Dec '24
Align per_cpu osq_node to 64 Byte size cacheline to optimizing performance.
Zheng Zengkai (1):
Align per_cpu osq_node to 64 Byte size cacheline
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.20.1
2
2

[PATCH OLK-6.6] LeapIOraid: Remove Unnecessary header file references: version.h
by haodongdong 12 Dec '24
by haodongdong 12 Dec '24
12 Dec '24
LeapIO inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IBAXWU
------------------------------------------
This commit is to remove Unnecessary header
file references: version.h
Signed-off-by: haodongdong <doubled(a)leap-io.com>
---
drivers/scsi/leapioraid/leapioraid_app.c | 1 -
drivers/scsi/leapioraid/leapioraid_func.c | 1 -
drivers/scsi/leapioraid/leapioraid_os.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/drivers/scsi/leapioraid/leapioraid_app.c b/drivers/scsi/leapioraid/leapioraid_app.c
index ea898ffdae640..9d699721d1be7 100644
--- a/drivers/scsi/leapioraid/leapioraid_app.c
+++ b/drivers/scsi/leapioraid/leapioraid_app.c
@@ -41,7 +41,6 @@
* HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
*/
-#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
diff --git a/drivers/scsi/leapioraid/leapioraid_func.c b/drivers/scsi/leapioraid/leapioraid_func.c
index 7e30abbd9f362..2d80a86da007d 100644
--- a/drivers/scsi/leapioraid/leapioraid_func.c
+++ b/drivers/scsi/leapioraid/leapioraid_func.c
@@ -41,7 +41,6 @@
* HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
*/
-#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/errno.h>
diff --git a/drivers/scsi/leapioraid/leapioraid_os.c b/drivers/scsi/leapioraid/leapioraid_os.c
index 83d47e7bcaec7..368a3c859a04b 100644
--- a/drivers/scsi/leapioraid/leapioraid_os.c
+++ b/drivers/scsi/leapioraid/leapioraid_os.c
@@ -40,7 +40,6 @@
* HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
*/
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
--
2.25.1
2
1

12 Dec '24
LeapIO inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IBAVN7
------------------------------------------
This commit is to fix too many invalid interruptes in arm64
Signed-off-by: haodongdong <doubled(a)leap-io.com>
---
drivers/scsi/leapioraid/leapioraid_func.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/leapioraid/leapioraid_func.c b/drivers/scsi/leapioraid/leapioraid_func.c
index b52cd6c925558..7e30abbd9f362 100644
--- a/drivers/scsi/leapioraid/leapioraid_func.c
+++ b/drivers/scsi/leapioraid/leapioraid_func.c
@@ -1319,7 +1319,7 @@ leapioraid_base_process_reply_queue(
& LEAPIORAID_RPY_DESCRIPT_FLAGS_TYPE_MASK;
if (request_descript_type == LEAPIORAID_RPY_DESCRIPT_FLAGS_UNUSED) {
atomic_dec(&reply_q->busy);
- return completed_cmds;
+ return 1;
}
cb_idx = 0xFF;
do {
--
2.25.1
2
1

[PATCH OLK-6.6] drm/rockchip: vop: Fix a dereferenced before check warning
by Xiaomeng Zhang 12 Dec '24
by Xiaomeng Zhang 12 Dec '24
12 Dec '24
From: Andy Yan <andy.yan(a)rock-chips.com>
stable inclusion
from stable-v6.6.63
commit 1e53059729691ca4d905118258b9fbd17d854174
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB956I
CVE: CVE-2024-53129
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit ab1c793f457f740ab7108cc0b1340a402dbf484d ]
The 'state' can't be NULL, we should check crtc_state.
Fix warning:
drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1096
vop_plane_atomic_async_check() warn: variable dereferenced before check
'state' (see line 1077)
Fixes: 5ddb0bd4ddc3 ("drm/atomic: Pass the full state to planes async atomic check and update")
Signed-off-by: Andy Yan <andy.yan(a)rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko(a)sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241021072818.61621-1-andysh…
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Xiaomeng Zhang <zhangxiaomeng13(a)huawei.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index ee72e8c6ad69..a34d3fc66248 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@ -1076,10 +1076,10 @@ static int vop_plane_atomic_async_check(struct drm_plane *plane,
if (!plane->state->fb)
return -EINVAL;
- if (state)
- crtc_state = drm_atomic_get_existing_crtc_state(state,
- new_plane_state->crtc);
- else /* Special case for asynchronous cursor updates. */
+ crtc_state = drm_atomic_get_existing_crtc_state(state, new_plane_state->crtc);
+
+ /* Special case for asynchronous cursor updates. */
+ if (!crtc_state)
crtc_state = plane->crtc->state;
return drm_atomic_helper_check_plane_state(plane->state, crtc_state,
--
2.34.1
2
1

[openeuler:OLK-6.6 1613/1613] drivers/pci/controller/pci-loongson.c:183:22: sparse: sparse: incorrect type in argument 2 (different address spaces)
by kernel test robot 12 Dec '24
by kernel test robot 12 Dec '24
12 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 32b5a32c1bb75a6568def0d708b7c3ac5d99e695
commit: 668ae8b1a55a96a60303d36b81b112a709a324bb [1613/1613] PCI: LS7A2000: fix GPU card error
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241212/202412121706.euopGH6a-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241212/202412121706.euopGH6a-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412121706.euopGH6a-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/pci/controller/pci-loongson.c:183:22: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void volatile * @@
drivers/pci/controller/pci-loongson.c:183:22: sparse: expected void volatile [noderef] __iomem *addr
drivers/pci/controller/pci-loongson.c:183:22: sparse: got void volatile *
drivers/pci/controller/pci-loongson.c:184:29: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void volatile * @@
drivers/pci/controller/pci-loongson.c:184:29: sparse: expected void volatile [noderef] __iomem *addr
drivers/pci/controller/pci-loongson.c:184:29: sparse: got void volatile *
drivers/pci/controller/pci-loongson.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
vim +183 drivers/pci/controller/pci-loongson.c
151
152 static void loongson_display_quirk(struct pci_dev *dev)
153 {
154 u32 val;
155 u64 mask, size;
156 u64 max_size = 0;
157 int i, num;
158 struct pci_bus *bus = dev->bus;
159
160 if (!dev->bus->number) {
161 if (!(dev->vendor == PCI_VENDOR_ID_LOONGSON && dev->device == 0x7a25))
162 return;
163 } else {
164 while (!pci_is_root_bus(bus->parent))
165 bus = bus->parent;
166
167 /* ensure slot is 7a2000 */
168 if (bus->self->vendor != PCI_VENDOR_ID_LOONGSON || bus->self->device < 0x7a39)
169 return;
170 }
171 max_size = 0;
172 for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {
173 if (dev->resource[i].flags & IORESOURCE_MEM) {
174 size = dev->resource[i].end - dev->resource[i].start;
175 if (size > max_size) {
176 max_size = size;
177 num = i;
178 }
179 }
180 }
181 mask = ~(dev->resource[num].end - dev->resource[num].start);
182 val = (dev->resource[num].start >> (24 - 16)) | ((mask >> 24) & 0xffff);
> 183 writel(val, (volatile void *)0x80000efdfb000174UL);
184 writel(0x80000000, (volatile void *)0x80000efdfb000170UL);
185 }
186 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_LOONGSON, 0x7a25, loongson_display_quirk);
187 DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_ANY_ID, PCI_ANY_ID,
188 PCI_BASE_CLASS_DISPLAY, 16, loongson_display_quirk);
189
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2566/2566] drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:545:5: warning: no previous prototype for function 'sss_adm_msg_write'
by kernel test robot 12 Dec '24
by kernel test robot 12 Dec '24
12 Dec '24
Hi Steven,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c17394e022a5504b2d967d70de4c226de003e990
commit: 0c4c3ee2e4947ad6ec346dc37fa133f4fecafd76 [2566/2566] Net: ethernet: Support management channel of the host tool in 3snic 3s9xx network driver
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241212/202412121710.BepF5y8C-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241212/202412121710.BepF5y8C-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412121710.BepF5y8C-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:11:
In file included from include/linux/pci.h:1499:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:1573:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:17:
In file included from drivers/net/ethernet/3snic/sssnic/include/sss_kernel.h:7:
In file included from drivers/net/ethernet/3snic/sssnic/include/kernel/sss_linux_kernel.h:140:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:545:5: warning: no previous prototype for function 'sss_adm_msg_write' [-Wmissing-prototypes]
545 | int sss_adm_msg_write(struct sss_adm_msg *adm_msg, u8 node_id,
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:545:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
545 | int sss_adm_msg_write(struct sss_adm_msg *adm_msg, u8 node_id,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:551:5: warning: no previous prototype for function 'sss_adm_msg_read' [-Wmissing-prototypes]
551 | int sss_adm_msg_read(struct sss_adm_msg *adm_msg, u8 node_id,
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:551:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
551 | int sss_adm_msg_read(struct sss_adm_msg *adm_msg, u8 node_id,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:597:5: warning: no previous prototype for function 'sss_adm_msg_read_ack' [-Wmissing-prototypes]
597 | int sss_adm_msg_read_ack(void *hwdev, u8 dest, const void *cmd,
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:597:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
597 | int sss_adm_msg_read_ack(void *hwdev, u8 dest, const void *cmd,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:618:5: warning: no previous prototype for function 'sss_adm_msg_write_nack' [-Wmissing-prototypes]
618 | int sss_adm_msg_write_nack(void *hwdev, u8 dest, const void *cmd, u16 size)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:618:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
618 | int sss_adm_msg_write_nack(void *hwdev, u8 dest, const void *cmd, u16 size)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:682:5: warning: no previous prototype for function 'sss_sync_send_adm_msg' [-Wmissing-prototypes]
682 | int sss_sync_send_adm_msg(void *hwdev, u8 mod, u16 cmd, void *buf_in,
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c:682:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
682 | int sss_sync_send_adm_msg(void *hwdev, u8 mod, u16 cmd, void *buf_in,
| ^
| static
12 warnings generated.
--
In file included from drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:11:
In file included from include/linux/pci.h:1499:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:1573:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:17:
In file included from drivers/net/ethernet/3snic/sssnic/include/sss_kernel.h:7:
In file included from drivers/net/ethernet/3snic/sssnic/include/kernel/sss_linux_kernel.h:140:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:580:6: warning: no previous prototype for function 'sss_destroy_adm_msg' [-Wmissing-prototypes]
580 | void sss_destroy_adm_msg(struct sss_adm_msg *adm_msg)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:580:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
580 | void sss_destroy_adm_msg(struct sss_adm_msg *adm_msg)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:689:5: warning: no previous prototype for function 'sss_hwif_init_adm' [-Wmissing-prototypes]
689 | int sss_hwif_init_adm(struct sss_hwdev *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:689:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
689 | int sss_hwif_init_adm(struct sss_hwdev *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:738:6: warning: no previous prototype for function 'sss_hwif_deinit_adm' [-Wmissing-prototypes]
738 | void sss_hwif_deinit_adm(struct sss_hwdev *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:738:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
738 | void sss_hwif_deinit_adm(struct sss_hwdev *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:752:6: warning: no previous prototype for function 'sss_complete_adm_event' [-Wmissing-prototypes]
752 | void sss_complete_adm_event(struct sss_hwdev *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm_init.c:752:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
752 | void sss_complete_adm_event(struct sss_hwdev *hwdev)
| ^
| static
11 warnings generated.
--
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:17:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:14:
In file included from include/linux/mm.h:1573:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:9:
In file included from drivers/net/ethernet/3snic/sssnic/include/sss_kernel.h:7:
In file included from drivers/net/ethernet/3snic/sssnic/include/kernel/sss_linux_kernel.h:140:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:15:5: warning: no previous prototype for function 'sss_alloc_db_addr' [-Wmissing-prototypes]
15 | int sss_alloc_db_addr(void *hwdev, void __iomem **db_base)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:15:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
15 | int sss_alloc_db_addr(void *hwdev, void __iomem **db_base)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:37:6: warning: no previous prototype for function 'sss_free_db_addr' [-Wmissing-prototypes]
37 | void sss_free_db_addr(void *hwdev, const void __iomem *db_base)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:37:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
37 | void sss_free_db_addr(void *hwdev, const void __iomem *db_base)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:52:6: warning: no previous prototype for function 'sss_chip_set_msix_auto_mask' [-Wmissing-prototypes]
52 | void sss_chip_set_msix_auto_mask(void *hwdev, u16 msix_id,
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:52:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
52 | void sss_chip_set_msix_auto_mask(void *hwdev, u16 msix_id,
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:70:6: warning: no previous prototype for function 'sss_chip_set_msix_state' [-Wmissing-prototypes]
70 | void sss_chip_set_msix_state(void *hwdev, u16 msix_id,
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
70 | void sss_chip_set_msix_state(void *hwdev, u16 msix_id,
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:86:5: warning: no previous prototype for function 'sss_get_global_func_id' [-Wmissing-prototypes]
86 | u16 sss_get_global_func_id(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:86:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
86 | u16 sss_get_global_func_id(void *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:95:4: warning: no previous prototype for function 'sss_get_pf_id_of_vf' [-Wmissing-prototypes]
95 | u8 sss_get_pf_id_of_vf(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
95 | u8 sss_get_pf_id_of_vf(void *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:104:4: warning: no previous prototype for function 'sss_get_pcie_itf_id' [-Wmissing-prototypes]
104 | u8 sss_get_pcie_itf_id(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:104:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
104 | u8 sss_get_pcie_itf_id(void *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:113:20: warning: no previous prototype for function 'sss_get_func_type' [-Wmissing-prototypes]
113 | enum sss_func_type sss_get_func_type(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:113:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
113 | enum sss_func_type sss_get_func_type(void *hwdev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:122:20: warning: no previous prototype for function 'sss_get_func_id' [-Wmissing-prototypes]
122 | enum sss_func_type sss_get_func_id(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:122:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
122 | enum sss_func_type sss_get_func_id(void *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:131:5: warning: no previous prototype for function 'sss_get_glb_pf_vf_offset' [-Wmissing-prototypes]
131 | u16 sss_get_glb_pf_vf_offset(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:131:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
131 | u16 sss_get_glb_pf_vf_offset(void *hwdev)
| ^
| static
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:140:4: warning: no previous prototype for function 'sss_get_ppf_id' [-Wmissing-prototypes]
140 | u8 sss_get_ppf_id(void *hwdev)
| ^
drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_export.c:140:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
140 | u8 sss_get_ppf_id(void *hwdev)
| ^
| static
18 warnings generated.
--
In file included from drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:6:
In file included from include/net/sock.h:46:
In file included from include/linux/netdevice.h:37:
In file included from include/linux/ethtool.h:18:
In file included from include/linux/netlink.h:7:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:14:
In file included from include/linux/mm.h:1573:
include/linux/vmstat.h:417:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
417 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
418 | item];
| ~~~~
include/linux/vmstat.h:424:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
424 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
425 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:436:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
436 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
437 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:445:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
445 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
446 | NR_VM_NUMA_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:14:
In file included from drivers/net/ethernet/3snic/sssnic/include/kernel/sss_linux_kernel.h:140:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:80:6: warning: no previous prototype for function 'sss_tool_free_in_buf' [-Wmissing-prototypes]
80 | void sss_tool_free_in_buf(void *hwdev, const struct sss_tool_msg *tool_msg, void *in_buf)
| ^
drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:80:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
80 | void sss_tool_free_in_buf(void *hwdev, const struct sss_tool_msg *tool_msg, void *in_buf)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:91:6: warning: no previous prototype for function 'sss_tool_free_out_buf' [-Wmissing-prototypes]
91 | void sss_tool_free_out_buf(void *hwdev, struct sss_tool_msg *tool_msg,
| ^
drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:91:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
91 | void sss_tool_free_out_buf(void *hwdev, struct sss_tool_msg *tool_msg,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:104:5: warning: no previous prototype for function 'sss_tool_alloc_in_buf' [-Wmissing-prototypes]
104 | int sss_tool_alloc_in_buf(void *hwdev, struct sss_tool_msg *tool_msg,
| ^
drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:104:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
104 | int sss_tool_alloc_in_buf(void *hwdev, struct sss_tool_msg *tool_msg,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:146:5: warning: no previous prototype for function 'sss_tool_alloc_out_buf' [-Wmissing-prototypes]
146 | int sss_tool_alloc_out_buf(void *hwdev, struct sss_tool_msg *tool_msg,
| ^
drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:146:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
146 | int sss_tool_alloc_out_buf(void *hwdev, struct sss_tool_msg *tool_msg,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:182:5: warning: no previous prototype for function 'sss_tool_copy_to_user' [-Wmissing-prototypes]
182 | int sss_tool_copy_to_user(struct sss_tool_msg *tool_msg,
| ^
drivers/net/ethernet/3snic/sssnic/hw/./tool/sss_tool_main.c:182:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
182 | int sss_tool_copy_to_user(struct sss_tool_msg *tool_msg,
| ^
| static
12 warnings generated.
..
vim +/sss_adm_msg_write +545 drivers/net/ethernet/3snic/sssnic/hw/sss_hwif_adm.c
544
> 545 int sss_adm_msg_write(struct sss_adm_msg *adm_msg, u8 node_id,
546 const void *cmd, u16 cmd_size)
547 {
548 return sss_adm_msg_io(adm_msg, node_id, cmd, cmd_size, NULL, 0);
549 }
550
> 551 int sss_adm_msg_read(struct sss_adm_msg *adm_msg, u8 node_id,
552 const void *cmd, u16 size, void *ack, u16 ack_size)
553 {
554 return sss_adm_msg_io(adm_msg, node_id, cmd, size, ack, ack_size);
555 }
556
557 static void sss_set_adm_event_flag(struct sss_msg_pf_to_mgmt *pf_to_mgmt,
558 int event_flag)
559 {
560 spin_lock(&pf_to_mgmt->sync_event_lock);
561 pf_to_mgmt->event_state = event_flag;
562 spin_unlock(&pf_to_mgmt->sync_event_lock);
563 }
564
565 static u16 sss_align_adm_msg_len(u16 msg_data_len)
566 {
567 /* u64 - the size of the header */
568 u16 msg_size;
569
570 msg_size = (u16)(SSS_MGMT_MSG_RSVD_FOR_DEV + sizeof(u64) + msg_data_len);
571
572 if (msg_size > SSS_MGMT_MSG_SIZE_MIN)
573 msg_size = SSS_MGMT_MSG_SIZE_MIN +
574 ALIGN((msg_size - SSS_MGMT_MSG_SIZE_MIN), SSS_MGMT_MSG_SIZE_STEP);
575 else
576 msg_size = SSS_MGMT_MSG_SIZE_MIN;
577
578 return msg_size;
579 }
580
581 static void sss_encapsulate_adm_msg(u8 *adm_msg, u64 *header,
582 const void *body, int body_len)
583 {
584 u8 *adm_msg_new = adm_msg;
585
586 memset(adm_msg_new, 0, SSS_MGMT_MSG_RSVD_FOR_DEV);
587
588 adm_msg_new += SSS_MGMT_MSG_RSVD_FOR_DEV;
589 memcpy(adm_msg_new, header, sizeof(*header));
590
591 adm_msg_new += sizeof(*header);
592 memcpy(adm_msg_new, body, (size_t)(u32)body_len);
593 }
594
595 #define SSS_MAX_PF_MGMT_BUF_MAX 2048L
596
> 597 int sss_adm_msg_read_ack(void *hwdev, u8 dest, const void *cmd,
598 u16 size, void *ack, u16 ack_size)
599 {
600 struct sss_msg_pf_to_mgmt *pf_to_mgmt = NULL;
601 struct sss_adm_msg *adm_mag = NULL;
602
603 if (!hwdev || !cmd || (ack_size && !ack) || size > SSS_MAX_PF_MGMT_BUF_MAX)
604 return -EINVAL;
605
606 if (!SSS_SUPPORT_ADM_MSG((struct sss_hwdev *)hwdev))
607 return -EPERM;
608
609 pf_to_mgmt = ((struct sss_hwdev *)hwdev)->pf_to_mgmt;
610 adm_mag = pf_to_mgmt->adm_msg[SSS_ADM_MSG_POLL_READ];
611
612 if (!(((struct sss_hwdev *)hwdev)->chip_present_flag))
613 return -EPERM;
614
615 return sss_adm_msg_read(adm_mag, dest, cmd, size, ack, ack_size);
616 }
617
> 618 int sss_adm_msg_write_nack(void *hwdev, u8 dest, const void *cmd, u16 size)
619 {
620 struct sss_msg_pf_to_mgmt *pf_to_mgmt = NULL;
621 struct sss_adm_msg *adm_mag = NULL;
622
623 if (!hwdev || !size || !cmd || size > SSS_MAX_PF_MGMT_BUF_MAX)
624 return -EINVAL;
625
626 if (!SSS_SUPPORT_ADM_MSG((struct sss_hwdev *)hwdev))
627 return -EPERM;
628
629 pf_to_mgmt = ((struct sss_hwdev *)hwdev)->pf_to_mgmt;
630 adm_mag = pf_to_mgmt->adm_msg[SSS_ADM_MSG_POLL_WRITE];
631
632 if (!(((struct sss_hwdev *)hwdev)->chip_present_flag))
633 return -EPERM;
634
635 return sss_adm_msg_write(adm_mag, dest, cmd, size);
636 }
637
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-1.0-LTS] net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
by Dong Chenchen 12 Dec '24
by Dong Chenchen 12 Dec '24
12 Dec '24
From: Pedro Tammela <pctammela(a)mojatatu.com>
stable inclusion
from stable-v4.19.323
commit e7f9a6f97eb067599a74f3bcb6761976b0ed303e
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB5KR7
CVE: CVE-2024-53057
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit 2e95c4384438adeaa772caa560244b1a2efef816 ]
In qdisc_tree_reduce_backlog, Qdiscs with major handle ffff: are assumed
to be either root or ingress. This assumption is bogus since it's valid
to create egress qdiscs with major handle ffff:
Budimir Markovic found that for qdiscs like DRR that maintain an active
class list, it will cause a UAF with a dangling class pointer.
In 066a3b5b2346, the concern was to avoid iterating over the ingress
qdisc since its parent is itself. The proper fix is to stop when parent
TC_H_ROOT is reached because the only way to retrieve ingress is when a
hierarchy which does not contain a ffff: major handle call into
qdisc_lookup with TC_H_MAJ(TC_H_ROOT).
In the scenario where major ffff: is an egress qdisc in any of the tree
levels, the updates will also propagate to TC_H_ROOT, which then the
iteration must stop.
Fixes: 066a3b5b2346 ("[NET_SCHED] sch_api: fix qdisc_tree_decrease_qlen() loop")
Reported-by: Budimir Markovic <markovicbudimir(a)gmail.com>
Suggested-by: Jamal Hadi Salim <jhs(a)mojatatu.com>
Tested-by: Victor Nogueira <victor(a)mojatatu.com>
Signed-off-by: Pedro Tammela <pctammela(a)mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs(a)mojatatu.com>
net/sched/sch_api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Horman <horms(a)kernel.org>
Link: https://patch.msgid.link/20241024165547.418570-1-jhs@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba(a)kernel.org>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
Reviewed-by: Zhang Changzhong <zhangchangzhong(a)huaiwei.com>
---
net/sched/sch_api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 458f9e733cf0..36a5d3ceead2 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -783,7 +783,7 @@ void qdisc_tree_reduce_backlog(struct Qdisc *sch, unsigned int n,
drops = max_t(int, n, 0);
rcu_read_lock();
while ((parentid = sch->parent)) {
- if (TC_H_MAJ(parentid) == TC_H_MAJ(TC_H_INGRESS))
+ if (parentid == TC_H_ROOT)
break;
if (sch->flags & TCQ_F_NOPARENT)
--
2.25.1
2
1

[PATCH openEuler-1.0-LTS] netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
by Dong Chenchen 12 Dec '24
by Dong Chenchen 12 Dec '24
12 Dec '24
From: Pablo Neira Ayuso <pablo(a)netfilter.org>
stable inclusion
from stable-v4.19.323
commit a661ed364ae6ae88c2fafa9ddc27df1af2a73701
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB37AM
CVE: CVE-2024-50251
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit d5953d680f7e96208c29ce4139a0e38de87a57fe ]
If access to offset + length is larger than the skbuff length, then
skb_checksum() triggers BUG_ON().
skb_checksum() internally subtracts the length parameter while iterating
over skbuff, BUG_ON(len) at the end of it checks that the expected
length to be included in the checksum calculation is fully consumed.
Fixes: 7ec3f7b47b8d ("netfilter: nft_payload: add packet mangling support")
Reported-by: Slavin Liu <slavin-ayu(a)qq.com>
Signed-off-by: Pablo Neira Ayuso <pablo(a)netfilter.org>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
---
net/netfilter/nft_payload.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/netfilter/nft_payload.c b/net/netfilter/nft_payload.c
index fd87216bc0a9..904652b226a7 100644
--- a/net/netfilter/nft_payload.c
+++ b/net/netfilter/nft_payload.c
@@ -306,6 +306,9 @@ static void nft_payload_set_eval(const struct nft_expr *expr,
if ((priv->csum_type == NFT_PAYLOAD_CSUM_INET || priv->csum_flags) &&
(priv->base != NFT_PAYLOAD_TRANSPORT_HEADER ||
skb->ip_summed != CHECKSUM_PARTIAL)) {
+ if (offset + priv->len > skb->len)
+ goto err;
+
fsum = skb_checksum(skb, offset, priv->len, 0);
tsum = csum_partial(src, priv->len, 0);
--
2.25.1
2
1

[PATCH openEuler-1.0-LTS] be2net: fix potential memory leak in be_xmit()
by Dong Chenchen 12 Dec '24
by Dong Chenchen 12 Dec '24
12 Dec '24
From: Wang Hai <wanghai38(a)huawei.com>
stable inclusion
from stable-v4.19.323
commit 941026023c256939943a47d1c66671526befbb26
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB2STK
CVE: CVE-2024-50167
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit e4dd8bfe0f6a23acd305f9b892c00899089bd621 ]
The be_xmit() returns NETDEV_TX_OK without freeing skb
in case of be_xmit_enqueue() fails, add dev_kfree_skb_any() to fix it.
Fixes: 760c295e0e8d ("be2net: Support for OS2BMC.")
Signed-off-by: Wang Hai <wanghai38(a)huawei.com>
Reviewed-by: Simon Horman <horms(a)kernel.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil(a)broadcom.com>
Message-ID: <20241015144802.12150-1-wanghai38(a)huawei.com>
Signed-off-by: Andrew Lunn <andrew(a)lunn.ch>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
---
drivers/net/ethernet/emulex/benet/be_main.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 3fe6a28027fe..63a0156922b4 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -1385,10 +1385,8 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
be_get_wrb_params_from_skb(adapter, skb, &wrb_params);
wrb_cnt = be_xmit_enqueue(adapter, txo, skb, &wrb_params);
- if (unlikely(!wrb_cnt)) {
- dev_kfree_skb_any(skb);
- goto drop;
- }
+ if (unlikely(!wrb_cnt))
+ goto drop_skb;
/* if os2bmc is enabled and if the pkt is destined to bmc,
* enqueue the pkt a 2nd time with mgmt bit set.
@@ -1397,7 +1395,7 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
BE_WRB_F_SET(wrb_params.features, OS2BMC, 1);
wrb_cnt = be_xmit_enqueue(adapter, txo, skb, &wrb_params);
if (unlikely(!wrb_cnt))
- goto drop;
+ goto drop_skb;
else
skb_get(skb);
}
@@ -1411,6 +1409,8 @@ static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev)
be_xmit_flush(adapter, txo);
return NETDEV_TX_OK;
+drop_skb:
+ dev_kfree_skb_any(skb);
drop:
tx_stats(txo)->tx_drv_drops++;
/* Flush the already enqueued tx requests */
--
2.25.1
2
1

[PATCH openEuler-1.0-LTS] net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
by Dong Chenchen 12 Dec '24
by Dong Chenchen 12 Dec '24
12 Dec '24
From: Wang Hai <wanghai38(a)huawei.com>
stable inclusion
from stable-v4.19.323
commit 137010d26dc5cd47cd62fef77cbe952d31951b7a
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB2SUF
CVE: CVE-2024-50168
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
[ Upstream commit 2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8 ]
The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb
in case of skb->len being too long, add dev_kfree_skb() to fix it.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Wang Hai <wanghai38(a)huawei.com>
Reviewed-by: Simon Horman <horms(a)kernel.org>
Message-ID: <20241015144148.7918-1-wanghai38(a)huawei.com>
Signed-off-by: Andrew Lunn <andrew(a)lunn.ch>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
Signed-off-by: Dong Chenchen <dongchenchen2(a)huawei.com>
---
drivers/net/ethernet/i825xx/sun3_82586.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/i825xx/sun3_82586.c b/drivers/net/ethernet/i825xx/sun3_82586.c
index 1a86184d44c0..0f0304043070 100644
--- a/drivers/net/ethernet/i825xx/sun3_82586.c
+++ b/drivers/net/ethernet/i825xx/sun3_82586.c
@@ -1015,6 +1015,7 @@ sun3_82586_send_packet(struct sk_buff *skb, struct net_device *dev)
if(skb->len > XMIT_BUFF_SIZE)
{
printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
+ dev_kfree_skb(skb);
return NETDEV_TX_OK;
}
--
2.25.1
2
1
Fix CVE-2024-50125
Desmond Cheong Zhi Xi (1):
Bluetooth: call sock_hold earlier in sco_conn_del
Luiz Augusto von Dentz (1):
Bluetooth: SCO: Fix UAF on sco_sock_timeout
include/net/bluetooth/bluetooth.h | 1 +
net/bluetooth/af_bluetooth.c | 22 ++++++++++++++++++++++
net/bluetooth/sco.c | 17 ++++++++++++-----
3 files changed, 35 insertions(+), 5 deletions(-)
--
2.25.1
2
3

12 Dec '24
From: Rodrigo Siqueira <Rodrigo.Siqueira(a)amd.com>
mainline inclusion
from mainline-v6.12
commit 16dd2825c23530f2259fc671960a3a65d2af69bd
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8IUF
CVE: CVE-2024-53108
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
At some point, the IEEE ID identification for the replay check in the
AMD EDID was added. However, this check causes the following
out-of-bounds issues when using KASAN:
[ 27.804016] BUG: KASAN: slab-out-of-bounds in amdgpu_dm_update_freesync_caps+0xefa/0x17a0 [amdgpu]
[ 27.804788] Read of size 1 at addr ffff8881647fdb00 by task systemd-udevd/383
...
[ 27.821207] Memory state around the buggy address:
[ 27.821215] ffff8881647fda00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 27.821224] ffff8881647fda80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 27.821234] >ffff8881647fdb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 27.821243] ^
[ 27.821250] ffff8881647fdb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 27.821259] ffff8881647fdc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 27.821268] ==================================================================
This is caused because the ID extraction happens outside of the range of
the edid lenght. This commit addresses this issue by considering the
amd_vsdb_block size.
Cc: ChiaHsuan Chung <chiahsuan.chung(a)amd.com>
Reviewed-by: Leo Li <sunpeng.li(a)amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira(a)amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz(a)amd.com>
Signed-off-by: Alex Deucher <alexander.deucher(a)amd.com>
(cherry picked from commit b7e381b1ccd5e778e3d9c44c669ad38439a861d8)
Cc: stable(a)vger.kernel.org
Signed-off-by: Yuan Can <yuancan(a)huawei.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 1b7b92000e6e..f729acc5ea35 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -10729,7 +10729,7 @@ static int parse_amd_vsdb(struct amdgpu_dm_connector *aconnector,
break;
}
- while (j < EDID_LENGTH) {
+ while (j < EDID_LENGTH - sizeof(struct amd_vsdb_block)) {
struct amd_vsdb_block *amd_vsdb = (struct amd_vsdb_block *)&edid_ext[j];
unsigned int ieeeId = (amd_vsdb->ieee_id[2] << 16) | (amd_vsdb->ieee_id[1] << 8) | (amd_vsdb->ieee_id[0]);
--
2.22.0
2
1

[PATCH OLK-6.6 0/4] crypto: hisilicon/sec2 - the aead algorithm of sec2 is fixed.
by Weili Qian 12 Dec '24
by Weili Qian 12 Dec '24
12 Dec '24
From: JiangShui Yang <yangjiangshui(a)h-partners.com>
Weili Qian (2):
crypto: hisilicon/qm - disable error report before flr
crypto: hisilicon/trng - support to obtain random numbers from soft
algorithm
Wenkai Lin (2):
crypto: hisilicon/sec2 - fix for aead icv error
crypto: hisilicon/sec2 - fix for aead invalid authsize
drivers/crypto/hisilicon/Kconfig | 1 +
drivers/crypto/hisilicon/qm.c | 49 ++++---
drivers/crypto/hisilicon/sec2/sec.h | 3 +-
drivers/crypto/hisilicon/sec2/sec_crypto.c | 161 ++++++++++-----------
drivers/crypto/hisilicon/sec2/sec_crypto.h | 11 --
drivers/crypto/hisilicon/trng/trng.c | 52 ++++++-
6 files changed, 156 insertions(+), 121 deletions(-)
--
2.43.0
2
5

[openeuler:OLK-6.6 1613/1613] kernel/sched/fair.c:175:5: sparse: sparse: symbol 'sysctl_sched_util_low_pct' was not declared. Should it be static?
by kernel test robot 12 Dec '24
by kernel test robot 12 Dec '24
12 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: ea308216b3205d652bf8108517516848b0b64435
commit: 2e1dfc02d115143587ccfee1815ad295763050f2 [1613/1613] sched: Adjust wakeup cpu range according CPU util dynamicly
config: loongarch-randconfig-r111-20241210 (https://download.01.org/0day-ci/archive/20241212/202412121240.WE2mP4ai-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241212/202412121240.WE2mP4ai-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412121240.WE2mP4ai-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> kernel/sched/fair.c:175:5: sparse: sparse: symbol 'sysctl_sched_util_low_pct' was not declared. Should it be static?
kernel/sched/fair.c:1256:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_entity const *se @@ got struct sched_entity [noderef] __rcu * @@
kernel/sched/fair.c:1256:34: sparse: expected struct sched_entity const *se
kernel/sched/fair.c:1256:34: sparse: got struct sched_entity [noderef] __rcu *
kernel/sched/fair.c:12740:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:12740:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:12740:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:6633:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:6633:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:6633:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:7964:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:7964:20: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:7964:20: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:8258:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] tmp @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:8258:9: sparse: expected struct sched_domain *[assigned] tmp
kernel/sched/fair.c:8258:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:8367:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:8367:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:8367:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:8941:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:8941:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:8941:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:9934:40: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *child @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/fair.c:9934:40: sparse: expected struct sched_domain *child
kernel/sched/fair.c:9934:40: sparse: got struct sched_domain [noderef] __rcu *child
kernel/sched/fair.c:10571:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/fair.c:10571:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/fair.c:10571:22: sparse: struct task_struct *
kernel/sched/fair.c:12012:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:12012:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:12012:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:11669:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *sd_parent @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:11669:44: sparse: expected struct sched_domain *sd_parent
kernel/sched/fair.c:11669:44: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:12108:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:12108:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:12108:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...):
include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
kernel/sched/fair.c:6555:35: sparse: sparse: marked inline, but without a definition
kernel/sched/fair.c: note: in included file:
kernel/sched/sched.h:2145:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2145:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2145:25: sparse: struct task_struct *
kernel/sched/sched.h:2309:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2309:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2309:9: sparse: struct task_struct *
kernel/sched/sched.h:2145:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2145:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2145:25: sparse: struct task_struct *
kernel/sched/sched.h:2145:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2145:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2145:25: sparse: struct task_struct *
vim +/sysctl_sched_util_low_pct +175 kernel/sched/fair.c
168
169 #ifdef CONFIG_QOS_SCHED_DYNAMIC_AFFINITY
170 /*
171 * Low utilization threshold for CPU
172 *
173 * (default: 85%), units: percentage of CPU utilization)
174 */
> 175 int sysctl_sched_util_low_pct = 85;
176 #endif
177
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
CVE-2024-53142
David Disseldorp (1):
initramfs: avoid filename buffer overrun
init/initramfs.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--
2.34.1
2
2
CVE-2024-53142
David Disseldorp (1):
initramfs: avoid filename buffer overrun
init/initramfs.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--
2.34.1
2
2
CVE-2024-53142
David Disseldorp (1):
initramfs: avoid filename buffer overrun
init/initramfs.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--
2.34.1
2
2
CVE-2024-53142
David Disseldorp (1):
[Backport] initramfs: avoid filename buffer overrun
init/initramfs.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--
2.34.1
2
2
This path set revert fix patchs about attr inactive.
Long Li (2):
Revert "xfs: atomic drop extent entries when inactiving attr"
Revert "xfs: factor out __xfs_da3_node_read()"
fs/xfs/libxfs/xfs_da_btree.c | 5 ++-
fs/xfs/libxfs/xfs_da_btree.h | 15 ++-------
fs/xfs/xfs_attr_inactive.c | 62 ++++++++++--------------------------
3 files changed, 20 insertions(+), 62 deletions(-)
--
2.39.2
2
3
CVE-2024-53142
David Disseldorp (1):
initramfs: avoid filename buffer overrun
init/initramfs.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--
2.34.1
2
2

[PATCH OLK-5.10] x86/CPU/AMD: Clear virtualized VMLOAD/VMSAVE on Zen4 client
by Heyuan Wang 12 Dec '24
by Heyuan Wang 12 Dec '24
12 Dec '24
From: Mario Limonciello <mario.limonciello(a)amd.com>
mainline inclusion
from mainline-v6.12
commit a5ca1dc46a6b610dd4627d8b633d6c84f9724ef0
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8IUH
CVE: CVE-2024-53114
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
A number of Zen4 client SoCs advertise the ability to use virtualized
VMLOAD/VMSAVE, but using these instructions is reported to be a cause
of a random host reboot.
These instructions aren't intended to be advertised on Zen4 client
so clear the capability.
Signed-off-by: Mario Limonciello <mario.limonciello(a)amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp(a)alien8.de>
Cc: stable(a)vger.kernel.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219009
Signed-off-by: Heyuan Wang <wangheyuan2(a)h-partners.com>
---
arch/x86/kernel/cpu/amd.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 688c9ca69852..7f9ad035220e 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1102,6 +1102,17 @@ static void init_amd_zen4(struct cpuinfo_x86 *c)
if (!cpu_has(c, X86_FEATURE_HYPERVISOR))
msr_set_bit(MSR_ZEN4_BP_CFG, MSR_ZEN4_BP_CFG_SHARED_BTB_FIX_BIT);
+
+ /*
+ * These Zen4 SoCs advertise support for virtualized VMLOAD/VMSAVE
+ * in some BIOS versions but they can lead to random host reboots.
+ */
+ switch (c->x86_model) {
+ case 0x18 ... 0x1f:
+ case 0x60 ... 0x7f:
+ clear_cpu_cap(c, X86_FEATURE_V_VMSAVE_VMLOAD);
+ break;
+ }
}
static void init_amd_zen5(struct cpuinfo_x86 *c)
--
2.25.1
2
1

[PATCH OLK-6.6 0/2] kabi: restrict the KABI fix to a specific architecture and dist
by Xie XiuQi 12 Dec '24
by Xie XiuQi 12 Dec '24
12 Dec '24
Some distributions need to maintain and fix KABI compatibility so
that drivers do not need to be recompiled during kernel upgrades.
Fixing KABI compatibility is a dangerous and hacking job.
Developers need to know clearly what they are doing and the risks
they may face. KABI fix actions are closely related to the
processor architecture. Fixes may not be appropriate for all
architectures. Improper fix may cause kernel panic or unexpected
error.
Only for expert users, and select N by default.
Xie XiuQi (2):
kabi: restrict the KABI fix to a specific architecture and dist
kabi: enable KABI_COMPAT series by default on x86_64 & ARM64
arch/arm64/configs/openeuler_defconfig | 5 +--
arch/x86/configs/openeuler_defconfig | 5 +--
include/linux/kabi.h | 2 +-
init/Kconfig | 50 +++++++++++++++++---------
4 files changed, 41 insertions(+), 21 deletions(-)
--
2.20.1
2
3

[openeuler:openEuler-1.0-LTS 0/219] kernel/hung_task.c:148:7: error: use of undeclared identifier 'sysctl_hung_task_all_cpu_backtrace'
by kernel test robot 12 Dec '24
by kernel test robot 12 Dec '24
12 Dec '24
Hi Guilherme,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: 190aae97bcddbed131a203f829257b168f5058ce [0/219] kernel/hung_task.c: introduce sysctl to print all traces when a hung task is detected
config: x86_64-buildonly-randconfig-003-20240112 (https://download.01.org/0day-ci/archive/20241212/202412120546.1VT9HCPP-lkp@…)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241212/202412120546.1VT9HCPP-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412120546.1VT9HCPP-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/hung_task.c:148:7: error: use of undeclared identifier 'sysctl_hung_task_all_cpu_backtrace'
148 | if (sysctl_hung_task_all_cpu_backtrace)
| ^
kernel/hung_task.c:235:5: warning: no previous prototype for function 'proc_dohung_task_timeout_secs' [-Wmissing-prototypes]
235 | int proc_dohung_task_timeout_secs(struct ctl_table *table, int write,
| ^
kernel/hung_task.c:235:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
235 | int proc_dohung_task_timeout_secs(struct ctl_table *table, int write,
| ^
| static
1 warning and 1 error generated.
vim +/sysctl_hung_task_all_cpu_backtrace +148 kernel/hung_task.c
94
95 static void check_hung_task(struct task_struct *t, unsigned long timeout)
96 {
97 unsigned long switch_count = t->nvcsw + t->nivcsw;
98
99 /*
100 * Ensure the task is not frozen.
101 * Also, skip vfork and any other user process that freezer should skip.
102 */
103 if (unlikely(t->flags & (PF_FROZEN | PF_FREEZER_SKIP)))
104 return;
105
106 /*
107 * When a freshly created task is scheduled once, changes its state to
108 * TASK_UNINTERRUPTIBLE without having ever been switched out once, it
109 * musn't be checked.
110 */
111 if (unlikely(!switch_count))
112 return;
113
114 if (switch_count != t->last_switch_count) {
115 t->last_switch_count = switch_count;
116 t->last_switch_time = jiffies;
117 return;
118 }
119 if (time_is_after_jiffies(t->last_switch_time + timeout * HZ))
120 return;
121
122 trace_sched_process_hang(t);
123
124 if (sysctl_hung_task_panic) {
125 console_verbose();
126 hung_task_show_lock = true;
127 hung_task_call_panic = true;
128 }
129
130 /*
131 * Ok, the task did not get scheduled for more than 2 minutes,
132 * complain:
133 */
134 if (sysctl_hung_task_warnings) {
135 if (sysctl_hung_task_warnings > 0)
136 sysctl_hung_task_warnings--;
137 pr_err("INFO: task %s:%d blocked for more than %ld seconds.\n",
138 t->comm, t->pid, timeout);
139 pr_err(" %s %s %.*s\n",
140 print_tainted(), init_utsname()->release,
141 (int)strcspn(init_utsname()->version, " "),
142 init_utsname()->version);
143 pr_err("\"echo 0 > /proc/sys/kernel/hung_task_timeout_secs\""
144 " disables this message.\n");
145 sched_show_task(t);
146 hung_task_show_lock = true;
147
> 148 if (sysctl_hung_task_all_cpu_backtrace)
149 hung_task_show_all_bt = true;
150 }
151
152 touch_nmi_watchdog();
153 }
154
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-1.0-LTS] ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
by Heyuan Wang 11 Dec '24
by Heyuan Wang 11 Dec '24
11 Dec '24
From: Edward Adam Davis <eadavis(a)qq.com>
mainline inclusion
from mainline-v6.12-rc6
commit bc0a2f3a73fcdac651fca64df39306d1e5ebe3b0
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB37AI
CVE: CVE-2024-50218
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Syzbot reported a kernel BUG in ocfs2_truncate_inline. There are two
reasons for this: first, the parameter value passed is greater than
ocfs2_max_inline_data_with_xattr, second, the start and end parameters of
ocfs2_truncate_inline are "unsigned int".
So, we need to add a sanity check for byte_start and byte_len right before
ocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater
than ocfs2_max_inline_data_with_xattr return -EINVAL.
Link: https://lkml.kernel.org/r/tencent_D48DB5122ADDAEDDD11918CFB68D93258C07@qq.c…
Fixes: 1afc32b95233 ("ocfs2: Write support for inline data")
Signed-off-by: Edward Adam Davis <eadavis(a)qq.com>
Reported-by: syzbot+81092778aac03460d6b7(a)syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=81092778aac03460d6b7
Reviewed-by: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Joel Becker <jlbec(a)evilplan.org>
Cc: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Mark Fasheh <mark(a)fasheh.com>
Cc: Junxiao Bi <junxiao.bi(a)oracle.com>
Cc: Changwei Ge <gechangwei(a)live.cn>
Cc: Gang He <ghe(a)suse.com>
Cc: Jun Piao <piaojun(a)huawei.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Heyuan Wang <wangheyuan2(a)h-partners.com>
---
fs/ocfs2/file.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index da209f81c9ee..135b7334be7d 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1790,6 +1790,14 @@ int ocfs2_remove_inode_range(struct inode *inode,
return 0;
if (OCFS2_I(inode)->ip_dyn_features & OCFS2_INLINE_DATA_FL) {
+ int id_count = ocfs2_max_inline_data_with_xattr(inode->i_sb, di);
+
+ if (byte_start > id_count || byte_start + byte_len > id_count) {
+ ret = -EINVAL;
+ mlog_errno(ret);
+ goto out;
+ }
+
ret = ocfs2_truncate_inline(inode, di_bh, byte_start,
byte_start + byte_len, 0);
if (ret) {
--
2.25.1
2
1

[PATCH openEuler-22.03-LTS-SP1] ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
by Heyuan Wang 11 Dec '24
by Heyuan Wang 11 Dec '24
11 Dec '24
From: Edward Adam Davis <eadavis(a)qq.com>
mainline inclusion
from mainline-v6.12-rc6
commit bc0a2f3a73fcdac651fca64df39306d1e5ebe3b0
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB37AI
CVE: CVE-2024-50218
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Syzbot reported a kernel BUG in ocfs2_truncate_inline. There are two
reasons for this: first, the parameter value passed is greater than
ocfs2_max_inline_data_with_xattr, second, the start and end parameters of
ocfs2_truncate_inline are "unsigned int".
So, we need to add a sanity check for byte_start and byte_len right before
ocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater
than ocfs2_max_inline_data_with_xattr return -EINVAL.
Link: https://lkml.kernel.org/r/tencent_D48DB5122ADDAEDDD11918CFB68D93258C07@qq.c…
Fixes: 1afc32b95233 ("ocfs2: Write support for inline data")
Signed-off-by: Edward Adam Davis <eadavis(a)qq.com>
Reported-by: syzbot+81092778aac03460d6b7(a)syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=81092778aac03460d6b7
Reviewed-by: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Joel Becker <jlbec(a)evilplan.org>
Cc: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Mark Fasheh <mark(a)fasheh.com>
Cc: Junxiao Bi <junxiao.bi(a)oracle.com>
Cc: Changwei Ge <gechangwei(a)live.cn>
Cc: Gang He <ghe(a)suse.com>
Cc: Jun Piao <piaojun(a)huawei.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Heyuan Wang <wangheyuan2(a)h-partners.com>
---
fs/ocfs2/file.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index a12f35d15032..9f36b17feb1a 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1790,6 +1790,14 @@ int ocfs2_remove_inode_range(struct inode *inode,
return 0;
if (OCFS2_I(inode)->ip_dyn_features & OCFS2_INLINE_DATA_FL) {
+ int id_count = ocfs2_max_inline_data_with_xattr(inode->i_sb, di);
+
+ if (byte_start > id_count || byte_start + byte_len > id_count) {
+ ret = -EINVAL;
+ mlog_errno(ret);
+ goto out;
+ }
+
ret = ocfs2_truncate_inline(inode, di_bh, byte_start,
byte_start + byte_len, 0);
if (ret) {
--
2.25.1
2
1

11 Dec '24
From: Edward Adam Davis <eadavis(a)qq.com>
mainline inclusion
from mainline-v6.12-rc6
commit bc0a2f3a73fcdac651fca64df39306d1e5ebe3b0
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB37AI
CVE: CVE-2024-50218
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Syzbot reported a kernel BUG in ocfs2_truncate_inline. There are two
reasons for this: first, the parameter value passed is greater than
ocfs2_max_inline_data_with_xattr, second, the start and end parameters of
ocfs2_truncate_inline are "unsigned int".
So, we need to add a sanity check for byte_start and byte_len right before
ocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater
than ocfs2_max_inline_data_with_xattr return -EINVAL.
Link: https://lkml.kernel.org/r/tencent_D48DB5122ADDAEDDD11918CFB68D93258C07@qq.c…
Fixes: 1afc32b95233 ("ocfs2: Write support for inline data")
Signed-off-by: Edward Adam Davis <eadavis(a)qq.com>
Reported-by: syzbot+81092778aac03460d6b7(a)syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=81092778aac03460d6b7
Reviewed-by: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Joel Becker <jlbec(a)evilplan.org>
Cc: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Mark Fasheh <mark(a)fasheh.com>
Cc: Junxiao Bi <junxiao.bi(a)oracle.com>
Cc: Changwei Ge <gechangwei(a)live.cn>
Cc: Gang He <ghe(a)suse.com>
Cc: Jun Piao <piaojun(a)huawei.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Heyuan Wang <wangheyuan2(a)h-partners.com>
---
fs/ocfs2/file.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 43ce41404e72..294fc98a900e 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -1790,6 +1790,14 @@ int ocfs2_remove_inode_range(struct inode *inode,
return 0;
if (OCFS2_I(inode)->ip_dyn_features & OCFS2_INLINE_DATA_FL) {
+ int id_count = ocfs2_max_inline_data_with_xattr(inode->i_sb, di);
+
+ if (byte_start > id_count || byte_start + byte_len > id_count) {
+ ret = -EINVAL;
+ mlog_errno(ret);
+ goto out;
+ }
+
ret = ocfs2_truncate_inline(inode, di_bh, byte_start,
byte_start + byte_len, 0);
if (ret) {
--
2.25.1
2
1
This path set revert fix patchs about attr inactive.
Long Li (2):
Revert "xfs: atomic drop extent entries when inactiving attr"
Revert "xfs: factor out __xfs_da3_node_read()"
fs/xfs/libxfs/xfs_da_btree.c | 5 ++-
fs/xfs/libxfs/xfs_da_btree.h | 15 ++-------
fs/xfs/xfs_attr_inactive.c | 62 ++++++++++--------------------------
3 files changed, 20 insertions(+), 62 deletions(-)
--
2.39.2
2
3

[PATCH OLK-6.6 V4 00/15] erofs/fscache/cachefiles: Add ondemand loading support
by Zizhi Wo 11 Dec '24
by Zizhi Wo 11 Dec '24
11 Dec '24
Changes since V1:
- Modify the bugzilla link to synchronize with 5.10.
- Fix comment syntax errors in patch 9.
Changes since V2:
- Merge the introduced problem patch with the subsequent bugfix patches.
Changes since V3:
- Fix a missing merge patch.
Baokun Li (1):
cachefiles: add support for buffer I/O in ondemand mode
Yang Erkun (1):
erofs: remove EXPERIMENTAL feature warning for fscache-based
Zizhi Wo (13):
fscache: add a memory barrier for FSCACHE_VOLUME_CREATING
cachefiles: modify inappropriate error return value in
cachefiles_daemon_secctx
fscache: modify the waiting mechanism with duplicate volumes
erofs: add erofs switch to better control it
erofs: add erofs_ondemand switch
cachefiles: Add restrictions to cachefiles_daemon_cull()
cachefiles: Introduce "dir_has_put" in cachefiles_volume
fscache: Add the synchronous waiting mechanism for the volume unhash
in erofs ondemand mode
fscache: clean up for fscache_clear_volume_priv
cachefiles: Fix NULL pointer dereference in object->file
cachefiles: Clean up in cachefiles_commit_tmpfile()
cachefiles: Fix incorrect length return value in
cachefiles_ondemand_fd_write_iter()
cachefiles: Fix missing pos updates in
cachefiles_ondemand_fd_write_iter()
fs/Makefile | 1 +
fs/cachefiles/cache.c | 2 +
fs/cachefiles/daemon.c | 12 +++++-
fs/cachefiles/interface.c | 26 ++++++++++---
fs/cachefiles/internal.h | 5 +++
fs/cachefiles/io.c | 12 ++++++
fs/cachefiles/namei.c | 5 ---
fs/cachefiles/ondemand.c | 39 ++++++++++++++-----
fs/cachefiles/volume.c | 51 ++++++++++++++++++++++---
fs/erofs/fscache.c | 4 ++
fs/erofs/internal.h | 1 +
fs/erofs/super.c | 20 ++++++++--
fs/fs_ctl.c | 43 +++++++++++++++++++++
fs/fscache/cache.c | 1 -
fs/fscache/cookie.c | 28 ++++++++++++++
fs/fscache/volume.c | 70 +++++++++++++++++++++++++----------
include/linux/fs.h | 17 +++++++++
include/linux/fscache-cache.h | 28 +++++++++++++-
include/linux/fscache.h | 2 +-
19 files changed, 315 insertions(+), 52 deletions(-)
create mode 100644 fs/fs_ctl.c
--
2.46.1
2
16

[PATCH OLK-6.6] x86/CPU/AMD: Clear virtualized VMLOAD/VMSAVE on Zen4 client
by Heyuan Wang 11 Dec '24
by Heyuan Wang 11 Dec '24
11 Dec '24
From: Mario Limonciello <mario.limonciello(a)amd.com>
mainline inclusion
from mainline-v6.12
commit a5ca1dc46a6b610dd4627d8b633d6c84f9724ef0
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8IUH
CVE: CVE-2024-53114
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
A number of Zen4 client SoCs advertise the ability to use virtualized
VMLOAD/VMSAVE, but using these instructions is reported to be a cause
of a random host reboot.
These instructions aren't intended to be advertised on Zen4 client
so clear the capability.
Signed-off-by: Mario Limonciello <mario.limonciello(a)amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp(a)alien8.de>
Cc: stable(a)vger.kernel.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219009
Signed-off-by: Heyuan Wang <wangheyuan2(a)h-partners.com>
---
arch/x86/kernel/cpu/amd.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index c25f10b70e02..5d090ae1c110 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1048,6 +1048,17 @@ static void init_amd_zen4(struct cpuinfo_x86 *c)
{
if (!cpu_has(c, X86_FEATURE_HYPERVISOR))
msr_set_bit(MSR_ZEN4_BP_CFG, MSR_ZEN4_BP_CFG_SHARED_BTB_FIX_BIT);
+
+ /*
+ * These Zen4 SoCs advertise support for virtualized VMLOAD/VMSAVE
+ * in some BIOS versions but they can lead to random host reboots.
+ */
+ switch (c->x86_model) {
+ case 0x18 ... 0x1f:
+ case 0x60 ... 0x7f:
+ clear_cpu_cap(c, X86_FEATURE_V_VMSAVE_VMLOAD);
+ break;
+ }
}
static void init_amd_zen5(struct cpuinfo_x86 *c)
--
2.25.1
2
1
CVE-2024-53114
Borislav Petkov (AMD) (1):
x86/CPU/AMD: Do the common init on future Zens too
Mario Limonciello (1):
x86/CPU/AMD: Clear virtualized VMLOAD/VMSAVE on Zen4 client
arch/x86/kernel/cpu/amd.c | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
--
2.25.1
2
3

[openeuler:OLK-5.10] BUILD REGRESSION 5c3dff2dbd96a0929b37a4f5331b76089f8f6285
by kernel test robot 11 Dec '24
by kernel test robot 11 Dec '24
11 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: 5c3dff2dbd96a0929b37a4f5331b76089f8f6285 !14129 bus: integrator-lm: fix OF node leak in probe()
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412110343.SnsYTxbB-lkp@intel.com
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:3719:18: warning: address of array 'chip_node->rt_cmd' will always evaluate to 'true' [-Wpointer-bool-conversion]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-001-20241210
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-002-20241210
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-003-20241210
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-004-20241210
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-x16-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-051-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-allnoconfig
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-001-20241210
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- x86_64-buildonly-randconfig-002-20241210
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- security-integrity-ima-ima.h:warning:declaration-of-struct-ima_digest-will-not-be-visible-outside-of-this-function
| `-- security-integrity-ima-ima_main.c:error:too-few-arguments-to-function-call-expected-have
|-- x86_64-buildonly-randconfig-003-20241210
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_timing_generator.o:warning:objtool:dce110_timing_generator_set_test_pattern:unreachable-instruction
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_transform_v.o:warning:objtool:dce110_xfmv_set_scaler:unreachable-instruction
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce120-dce120_timing_generator.o:warning:objtool:dce120_timing_generator_set_test_pattern:unreachable-instruction
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn20-dcn20_hwseq.o:warning:objtool:dcn20_init_vm_ctx:unreachable-instruction
| |-- drivers-gpu-drm-i915-gt-uc-intel_guc_ct.o:warning:objtool:intel_guc_ct_event_handler:unreachable-instruction
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
|-- x86_64-buildonly-randconfig-005-20241210
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- x86_64-buildonly-randconfig-006-20241210
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
`-- x86_64-defconfig
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
`-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
elapsed time: 782m
configs tested: 14
configs skipped: 86
tested configs:
arm64 allmodconfig clang-18
arm64 randconfig-001-20241210 clang-20
arm64 randconfig-002-20241210 clang-20
arm64 randconfig-003-20241210 clang-20
arm64 randconfig-004-20241210 clang-20
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241210 gcc-12
x86_64 buildonly-randconfig-002-20241210 clang-19
x86_64 buildonly-randconfig-003-20241210 clang-19
x86_64 buildonly-randconfig-004-20241210 gcc-12
x86_64 buildonly-randconfig-005-20241210 gcc-12
x86_64 buildonly-randconfig-006-20241210 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2574/2574] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_timing_generator.o: warning: objtool: dce110_timing_generator_set_test_pattern()+0x40d: unreachable instruction
by kernel test robot 11 Dec '24
by kernel test robot 11 Dec '24
11 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 5c3dff2dbd96a0929b37a4f5331b76089f8f6285
commit: f2c902d8c653f8021f9761092a27f7b9db42b662 [2574/2574] tracing: Make tracepoint lockdep check actually test something
config: x86_64-buildonly-randconfig-003-20241210 (https://download.01.org/0day-ci/archive/20241211/202412110343.SnsYTxbB-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241211/202412110343.SnsYTxbB-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412110343.SnsYTxbB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_timing_generator.o: warning: objtool: dce110_timing_generator_set_test_pattern()+0x40d: unreachable instruction
--
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_transform_v.o: warning: objtool: dce110_xfmv_set_scaler()+0x1047: unreachable instruction
--
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_timing_generator.o: warning: objtool: dce120_timing_generator_set_test_pattern()+0x96d: unreachable instruction
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6] BUILD REGRESSION c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
by kernel test robot 11 Dec '24
by kernel test robot 11 Dec '24
11 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5 !14106 uacce: some bugfix and cleanup
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412101347.Sow2DxhA-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412101536.8w9KRuyo-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412101859.KXPZLAMD-lkp@intel.com
<instantiation>:1:5: error: expected absolute expression
drivers/crypto/montage/tsse/tsse_ipc_api.c:62:36: warning: variable 'device_handle' is uninitialized when used here [-Wuninitialized]
rnpgbevf_main.c:(.text+0xb6bc): multiple definition of `remove_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc0b0): first defined here
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-001-20241210
| |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-function-fast_syscall_enabled
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-psi.c:error:function-definition-is-not-allowed-here
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- mm-page_alloc.c:error:call-to-undeclared-function-dynamic_pool_should_alloc-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
|-- arm64-randconfig-002-20241210
| |-- instantiation:error:expected-absolute-expression
| |-- mm-mem_reliable.c:error:call-to-undeclared-function-mem_reliable_ctrl_bit_disable-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- mm-page_alloc.c:error:call-to-undeclared-function-dynamic_pool_should_alloc-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- arm64-randconfig-003-20241210
| |-- arch-arm64-kernel-ipi_nmi.c:error:call-to-undeclared-function-__printk_safe_enter-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- arch-arm64-kernel-ipi_nmi.c:error:call-to-undeclared-function-__printk_safe_exit-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-char-ipmi-ipmi_bt_sm.c:error:call-to-undeclared-function-acpi_evaluate_integer-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-pde_data-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-proc_create_data-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-remove_proc_entry-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-seq_printf-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-single_open-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:incomplete-definition-of-type-struct-seq_file
| |-- drivers-irqchip-irq-gic-v3.c:error:no-member-named-dir-in-struct-irq_desc
| |-- drivers-irqchip-irq-gic-v3.c:error:use-of-undeclared-identifier-seq_lseek
| |-- drivers-irqchip-irq-gic-v3.c:error:use-of-undeclared-identifier-seq_read
| |-- drivers-irqchip-irq-gic-v3.c:error:use-of-undeclared-identifier-single_release
| |-- drivers-irqchip-irq-gic-v3.c:error:variable-has-incomplete-type-const-struct-proc_ops
| |-- instantiation:error:expected-absolute-expression
| |-- mm-mem_reliable.c:error:call-to-undeclared-function-mem_reliable_ctrl_bit_disable-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- arm64-randconfig-004-20241210
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- mm-page_alloc.c:error:call-to-undeclared-function-dynamic_pool_should_alloc-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| `-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
|-- loongarch-allmodconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allyesconfig
| `-- multiple-definition-of-remove_mbx_irq-drivers-net-ethernet-mucse-rnpvf-rnpvf_main.o:rnpvf_main.c:(.text):first-defined-here
|-- loongarch-randconfig-001-20241210
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-002-20241210
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-r111-20241210
| |-- arch-loongarch-kernel-kfpu.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-bool-noderef-__percpu
| `-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-int-noderef-__percpu
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_func.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_os.c:linux-version.h-not-needed.
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allyesconfig
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-sm3_generic_block_fn
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_finup
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_update
| |-- arch-x86-crypto-sm4-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-gmi_sm4_set_key
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- arch-x86-kvm-svm-csv.c:warning:no-previous-prototype-for-function-csv_vm_attestation
| |-- arch-x86-kvm-svm-sev.c:warning:no-previous-prototype-for-function-sev_install_hooks
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-crypto-montage-tsse-tsse_ipc_api.c:warning:variable-device_handle-is-uninitialized-when-used-here
| |-- drivers-gpu-drm-amd-amdgpu-..-amdkfd-kfd_topology.c:warning:stack-frame-size-()-exceeds-limit-()-in-kfd_topology_add_device
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-calcs-dcn_calc_auto.c:warning:stack-frame-size-()-exceeds-limit-()-in-mode_support_and_system_configuration
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-dcn30-display_mode_vba_30.c:warning:stack-frame-size-()-exceeds-limit-()-in-dml30_ModeSupportAndSystemConfigurationFull
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-001-20241210
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241210
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:use-of-undeclared-identifier-setup_max_cpus
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-004-20241210
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:setup_max_cpus-undeclared-(first-use-in-this-function)
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- x86_64-defconfig
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 730m
configs tested: 19
configs skipped: 98
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241210 clang-20
arm64 randconfig-002-20241210 clang-20
arm64 randconfig-003-20241210 clang-20
arm64 randconfig-004-20241210 clang-20
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
loongarch randconfig-001-20241210 gcc-14.2.0
loongarch randconfig-002-20241210 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241210 gcc-12
x86_64 buildonly-randconfig-002-20241210 clang-19
x86_64 buildonly-randconfig-003-20241210 clang-19
x86_64 buildonly-randconfig-004-20241210 gcc-12
x86_64 buildonly-randconfig-005-20241210 gcc-12
x86_64 buildonly-randconfig-006-20241210 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1610/1610] rnpgbevf_main.c:(.text+0xb6bc): multiple definition of `remove_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc0b0): first defined here
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
commit: bf177ad1d8f72824180b44563c09f37562f645de [1610/1610] drivers: initial support for rnpgbevf drivers from Mucse Technology
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101859.KXPZLAMD-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101859.KXPZLAMD-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101859.KXPZLAMD-lkp@intel.com/
All errors (new ones prefixed by >>):
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnp/rnp_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_main.o: in function `.LANCHOR3':
rnpm_main.c:(.bss+0x110): multiple definition of `mpe_pkt_version'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.bss+0x60): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_main.o: in function `.LANCHOR3':
rnpm_main.c:(.bss+0x114): multiple definition of `mpe_src_port'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.bss+0x64): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_pcs.o:(.data.rel.local+0x0): multiple definition of `pcs_ops_generic'; drivers/net/ethernet/mucse/rnp/rnp_pcs.o:(.data.rel.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_ptp.o: in function `.LANCHOR1':
rnpm_ptp.c:(.data.rel.ro.local+0x0): multiple definition of `mac_ptp'; drivers/net/ethernet/mucse/rnp/rnp_ptp.o:rnp_ptp.c:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.o: in function `.LANCHOR7':
rnpgbe_main.c:(.data.rel.ro+0x0): multiple definition of `rnp10_netdev_ops'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.data.rel.ro+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.o: in function `mbx_cookie_zalloc':
rnpgbe_mbx_fw.c:(.text+0x128): multiple definition of `mbx_cookie_zalloc'; drivers/net/ethernet/mucse/rnpm/rnpm_mbx_fw.o:rnpm_mbx_fw.c:(.text+0x6a4): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.o: in function `check_ari_mode':
rnpgbe_sriov.c:(.text+0x2acc): multiple definition of `check_ari_mode'; drivers/net/ethernet/mucse/rnp/rnp_sriov.o:rnp_sriov.c:(.text+0x2af8): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ptp.o: in function `.LANCHOR1':
rnpgbe_ptp.c:(.data.rel.ro.local+0x0): multiple definition of `mac_ptp'; drivers/net/ethernet/mucse/rnp/rnp_ptp.o:rnp_ptp.c:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.o: in function `remove_mbx_irq':
>> rnpgbevf_main.c:(.text+0xb6bc): multiple definition of `remove_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc0b0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.o: in function `register_mbx_irq':
rnpgbevf_main.c:(.text+0xbc28): multiple definition of `register_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc61c): first defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] <instantiation>:1:5: error: expected absolute expression
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Yipeng,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
commit: cf5f2d9ff017873c792298693e593dc358db6035 [1613/1613] arm64: Faster SVC exception handler with xcall
config: arm64-randconfig-002-20241210 (https://download.01.org/0day-ci/archive/20241210/202412101536.8w9KRuyo-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101536.8w9KRuyo-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101536.8w9KRuyo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
arch/arm64/kernel/entry.S:587:2: note: while in macro instantiation
kernel_entry 1
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:686:2: note: while in macro instantiation
entry_handler 1, t, 64, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:687:2: note: while in macro instantiation
entry_handler 1, t, 64, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:688:2: note: while in macro instantiation
entry_handler 1, t, 64, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:689:2: note: while in macro instantiation
entry_handler 1, t, 64, error
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:691:2: note: while in macro instantiation
entry_handler 1, h, 64, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:692:2: note: while in macro instantiation
entry_handler 1, h, 64, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:693:2: note: while in macro instantiation
entry_handler 1, h, 64, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:694:2: note: while in macro instantiation
entry_handler 1, h, 64, error
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:11:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:21:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:26:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:30:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:55:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:75:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_PRELOAD
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n]
Selected by [y]:
- PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y]
WARNING: unmet direct dependencies detected for RESCTRL_FS
Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
Selected by [y]:
- ARM64_MPAM [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1609/1609] drivers/crypto/montage/tsse/tsse_ipc_api.c:62:36: warning: variable 'device_handle' is uninitialized when used here
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Carrie.Cai,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
commit: 914854f2adb6988ac3b6521088ec96833d6743e2 [1609/1609] driver: crypto - update support for Mont-TSSE Driver
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101347.Sow2DxhA-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101347.Sow2DxhA-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101347.Sow2DxhA-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/crypto/montage/tsse/tsse_ipc_api.c:10:
In file included from drivers/crypto/montage/tsse/tsse_dev.h:13:
In file included from include/linux/pci.h:1669:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2243:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/crypto/montage/tsse/tsse_ipc_api.c:62:36: warning: variable 'device_handle' is uninitialized when used here [-Wuninitialized]
62 | service_instance->device_handle = device_handle;
| ^~~~~~~~~~~~~
drivers/crypto/montage/tsse/tsse_ipc_api.c:56:19: note: initialize the variable 'device_handle' to silence this warning
56 | int device_handle;
| ^
| = 0
6 warnings generated.
vim +/device_handle +62 drivers/crypto/montage/tsse/tsse_ipc_api.c
41
42 /**
43 * tsse_im_service_handle_alloc() - Allocate IPC Message service handle for specific service.
44 * @name: IPC Message service name
45 * @cb: request callback for the service
46 * @handle: function output for the service handle
47 * Return: 0 if allocated successfully, other values for failure
48 */
49 int tsse_im_service_handle_alloc(
50 const char *name,
51 tsse_im_cb_func cb,
52 tsse_im_service_handle *handle)
53 {
54 struct tsse_service_instance *service_instance;
55 int ret;
56 int device_handle;
57
58 service_instance = kzalloc(sizeof(struct tsse_service_instance), GFP_ATOMIC);
59 if (!service_instance)
60 return -ENOMEM;
61 service_instance->service_opened = 0;
> 62 service_instance->device_handle = device_handle;
63 service_instance->cb = cb;
64 strscpy(service_instance->service_name, name, TSSE_IM_SERVICE_NAME_LEN);
65
66 ret = tsse_schedule_device_handle(service_instance);
67 if (ret) {
68 kfree(service_instance);
69 return ret;
70 }
71
72 ret = tsse_service_open(service_instance);
73 if (ret) {
74 pr_err("%s(): open service: %s failed: %d\n",
75 __func__, service_instance->service_name, ret);
76 kfree(service_instance);
77 return ret;
78 }
79 *handle = service_instance;
80 return 0;
81 }
82 EXPORT_SYMBOL_GPL(tsse_im_service_handle_alloc);
83
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-5.10 v2 0/4]ACPI: APEI: handle synchronous errors in task work
by Tong Tiangen 10 Dec '24
by Tong Tiangen 10 Dec '24
10 Dec '24
There are two major types of uncorrected recoverable (UCR) errors :
- Synchronous error: The error is detected and raised at the point of the
consumption in the execution flow, e.g. when a CPU tries to access
a poisoned cache line. The CPU will take a synchronous error exception
such as Synchronous External Abort (SEA) on Arm64 and Machine Check
Exception (MCE) on X86. OS requires to take action (for example, offline
failure page/kill failure thread) to recover this uncorrectable error.
- Asynchronous error: The error is detected out of processor execution
context, e.g. when an error is detected by a background scrubber. Some data
in the memory are corrupted. But the data have not been consumed. OS is
optional to take action to recover this uncorrectable error.
Currently, both synchronous and asynchronous error use
memory_failure_queue() to schedule memory_failure() exectute in kworker
context. As a result, when a user-space process is accessing a poisoned
data, a data abort is taken and the memory_failure() is executed in the
kworker context:
- will send wrong si_code by SIGBUS signal in early_kill mode, and
- can not kill the user-space in some cases resulting a synchronous
error infinite loop
Issue 1: send wrong si_code in early_kill mode
Since commit a70297d22132 ("ACPI: APEI: set memory failure flags as
MF_ACTION_REQUIRED on synchronous events")', the flag MF_ACTION_REQUIRED
could be used to determine whether a synchronous exception occurs on
ARM64 platform. When a synchronous exception is detected, the kernel is
expected to terminate the current process which has accessed poisoned
page. This is done by sending a SIGBUS signal with an error code
BUS_MCEERR_AR, indicating an action-required machine check error on
read.
However, when kill_proc() is called to terminate the processes who have
the poisoned page mapped, it sends the incorrect SIGBUS error code
BUS_MCEERR_AO because the context in which it operates is not the one
where the error was triggered.
To reproduce this problem:
# STEP1: enable early kill mode
#sysctl -w vm.memory_failure_early_kill=1
vm.memory_failure_early_kill = 1
# STEP2: inject an UCE error and consume it to trigger a synchronous error
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 5 addr 0xffffb0d75000
page not present
Test passed
The si_code (code 5) from einj_mem_uc indicates that it is BUS_MCEERR_AO
error and it is not fact.
To fix it, queue memory_failure() as a task_work so that it runs in
the context of the process that is actually consuming the poisoned data.
After this patch set:
# STEP1: enable early kill mode
#sysctl -w vm.memory_failure_early_kill=1
vm.memory_failure_early_kill = 1
# STEP2: inject an UCE error and consume it to trigger a synchronous error
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 4 addr 0xffffb0d75000
page not present
Test passed
The si_code (code 4) from einj_mem_uc indicates that it is BUS_MCEERR_AR
error as we expected.
Issue 2: a synchronous error infinite loop due to memory_failure() failed
If a user-space process, e.g. devmem, a poisoned page which has been set
HWPosion flag, kill_accessing_process() is called to send SIGBUS to the
current processs with error info. Because the memory_failure() is
executed in the kworker contex, it will just do nothing but return
EFAULT. So, devmem will access the posioned page and trigger an
excepction again, resulting in a synchronous error infinite loop. Such
loop may cause platform firmware to exceed some threshold and reboot
when Linux could have recovered from this error.
To reproduce this problem:
# STEP 1: inject an UCE error, and kernel will set HWPosion flag for related page
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 4 addr 0xffffb0d75000
page not present
Test passed
# STEP 2: access the same page and it will trigger a synchronous error infinite loop
devmem 0x4092d55b400
To fix it, if memory_failure() failed, perform a force kill to current process.
Issue 3: a synchronous error infinite loop due to no memory_failure() queued
No memory_failure() work is queued unless all bellow preconditions check passed:
- `if (!(mem_err->validation_bits & CPER_MEM_VALID_PA))` in ghes_handle_memory_failure()
- `if (flags == -1)` in ghes_handle_memory_failure()
- `if (!IS_ENABLED(CONFIG_ACPI_APEI_MEMORY_FAILURE))` in ghes_do_memory_failure()
- `if (!pfn_valid(pfn) && !arch_is_platform_page(physical_addr)) ` in ghes_do_memory_failure()
If the preconditions are not passed, the user-space process will trigger SEA again.
This loop can potentially exceed the platform firmware threshold or even
trigger a kernel hard lockup, leading to a system reboot.
To fix it, if no memory_failure() queued, perform a force kill to current process.
And the the memory errors triggered in kernel-mode[5], also relies on this
patchset to kill the failure thread.
Lv Ying and XiuQi from Huawei also proposed to address similar problem[2][4].
Acknowledge to discussion with them.
[1] Add ARMv8 RAS virtualization support in QEMU https://patchew.org/QEMU/20200512030609.19593-1-gengdongjiu@huawei.com/
[2] https://lore.kernel.org/lkml/20221205115111.131568-3-lvying6@huawei.com/
[3] https://lkml.kernel.org/r/20220914064935.7851-1-xueshuai@linux.alibaba.com
[4] https://lore.kernel.org/lkml/20221209095407.383211-1-lvying6@huawei.com/
[5] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20240528085915.…
Shuai Xue (4):
ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on
synchronous events
ACPI: APEI: send SIGBUS to current task if synchronous memory error
not recovered
mm: memory-failure: move return value documentation to function
declaration
ACPI: APEI: handle synchronous exceptions in task work
arch/x86/kernel/cpu/mce/core.c | 5 --
drivers/acpi/apei/ghes.c | 114 ++++++++++++++++++++++-----------
include/acpi/ghes.h | 3 -
include/linux/mm.h | 1 -
mm/memory-failure.c | 19 ++----
5 files changed, 82 insertions(+), 60 deletions(-)
--
2.25.1
2
5

[openeuler:OLK-6.6 1609/1609] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1922:5: warning: stack frame size (2200) exceeds limit (2048) in 'kfd_topology_add_device'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi xiajingze,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 241ad43fe7e9c24d5ba4cdd1ec22e731cdd22d14 [1609/1609] Compiler: Add clang's PGO support for kernel.
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101126.LSCSnI7W-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101126.LSCSnI7W-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101126.LSCSnI7W-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26:
In file included from include/linux/pci.h:1666:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2235:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1922:5: warning: stack frame size (2200) exceeds limit (2048) in 'kfd_topology_add_device' [-Wframe-larger-than]
1922 | int kfd_topology_add_device(struct kfd_node *gpu)
| ^
6 warnings generated.
--
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dml/calcs/dcn_calc_auto.c:26:
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:35:
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:29:
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:31:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2235:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/calcs/dcn_calc_auto.c:121:6: warning: stack frame size (2568) exceeds limit (2048) in 'mode_support_and_system_configuration' [-Wframe-larger-than]
121 | void mode_support_and_system_configuration(struct dcn_bw_internal_vars *v)
| ^
6 warnings generated.
vim +/kfd_topology_add_device +1922 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c
d230f1bfe7a197 Jonathan Kim 2022-03-25 1921
8dc1db3172ae2f Mukul Joshi 2022-09-14 @1922 int kfd_topology_add_device(struct kfd_node *gpu)
f701acb6a4ed0a Felix Kuehling 2022-11-16 1923 {
f701acb6a4ed0a Felix Kuehling 2022-11-16 1924 uint32_t gpu_id;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1925 struct kfd_topology_device *dev;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1926 struct kfd_cu_info cu_info;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1927 int res = 0;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1928 int i;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1929 const char *asic_name = amdgpu_asic_name[gpu->adev->asic_type];
f701acb6a4ed0a Felix Kuehling 2022-11-16 1930
f701acb6a4ed0a Felix Kuehling 2022-11-16 1931 gpu_id = kfd_generate_gpu_id(gpu);
400a39f1ec43d2 James Zhu 2023-08-09 1932 if (gpu->xcp && !gpu->xcp->ddev) {
400a39f1ec43d2 James Zhu 2023-08-09 1933 dev_warn(gpu->adev->dev,
400a39f1ec43d2 James Zhu 2023-08-09 1934 "Won't add GPU (ID: 0x%x) to topology since it has no drm node assigned.",
400a39f1ec43d2 James Zhu 2023-08-09 1935 gpu_id);
400a39f1ec43d2 James Zhu 2023-08-09 1936 return 0;
400a39f1ec43d2 James Zhu 2023-08-09 1937 } else {
f701acb6a4ed0a Felix Kuehling 2022-11-16 1938 pr_debug("Adding new GPU (ID: 0x%x) to topology\n", gpu_id);
400a39f1ec43d2 James Zhu 2023-08-09 1939 }
f701acb6a4ed0a Felix Kuehling 2022-11-16 1940
f701acb6a4ed0a Felix Kuehling 2022-11-16 1941 /* Check to see if this gpu device exists in the topology_device_list.
f701acb6a4ed0a Felix Kuehling 2022-11-16 1942 * If so, assign the gpu to that device,
f701acb6a4ed0a Felix Kuehling 2022-11-16 1943 * else create a Virtual CRAT for this gpu device and then parse that
f701acb6a4ed0a Felix Kuehling 2022-11-16 1944 * CRAT to create a new topology device. Once created assign the gpu to
f701acb6a4ed0a Felix Kuehling 2022-11-16 1945 * that topology device
f701acb6a4ed0a Felix Kuehling 2022-11-16 1946 */
f701acb6a4ed0a Felix Kuehling 2022-11-16 1947 down_write(&topology_lock);
f701acb6a4ed0a Felix Kuehling 2022-11-16 1948 dev = kfd_assign_gpu(gpu);
f701acb6a4ed0a Felix Kuehling 2022-11-16 1949 if (!dev)
f701acb6a4ed0a Felix Kuehling 2022-11-16 1950 res = kfd_topology_add_device_locked(gpu, gpu_id, &dev);
c0cc999f3c32e6 Ma Jun 2022-11-02 1951 up_write(&topology_lock);
f701acb6a4ed0a Felix Kuehling 2022-11-16 1952 if (res)
f701acb6a4ed0a Felix Kuehling 2022-11-16 1953 return res;
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 1954
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 1955 dev->gpu_id = gpu_id;
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 1956 gpu->id = gpu_id;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1957
0f28cca87e9afc Ramesh Errabolu 2022-05-26 1958 kfd_dev_create_p2p_links();
0f28cca87e9afc Ramesh Errabolu 2022-05-26 1959
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1960 /* TODO: Move the following lines to function
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1961 * kfd_add_non_crat_information
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1962 */
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1963
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1964 /* Fill-in additional information that is not available in CRAT but
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1965 * needed for the topology
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1966 */
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1967
574c4183ef7511 Graham Sider 2021-10-19 1968 amdgpu_amdkfd_get_cu_info(dev->gpu->adev, &cu_info);
c181159a5b1e1e Yong Zhao 2019-08-01 1969
b7675b7bbc3c4c Graham Sider 2021-11-11 1970 for (i = 0; i < KFD_TOPOLOGY_PUBLIC_NAME_SIZE-1; i++) {
b7675b7bbc3c4c Graham Sider 2021-11-11 1971 dev->node_props.name[i] = __tolower(asic_name[i]);
b7675b7bbc3c4c Graham Sider 2021-11-11 1972 if (asic_name[i] == '\0')
b7675b7bbc3c4c Graham Sider 2021-11-11 1973 break;
b7675b7bbc3c4c Graham Sider 2021-11-11 1974 }
b7675b7bbc3c4c Graham Sider 2021-11-11 1975 dev->node_props.name[i] = '\0';
c181159a5b1e1e Yong Zhao 2019-08-01 1976
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1977 dev->node_props.simd_arrays_per_engine =
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1978 cu_info.num_shader_arrays_per_engine;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1979
8dc1db3172ae2f Mukul Joshi 2022-09-14 1980 dev->node_props.gfx_target_version =
8dc1db3172ae2f Mukul Joshi 2022-09-14 1981 gpu->kfd->device_info.gfx_target_version;
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1982 dev->node_props.vendor_id = gpu->adev->pdev->vendor;
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1983 dev->node_props.device_id = gpu->adev->pdev->device;
c6d1ec4134edc1 Joseph Greathouse 2020-04-16 1984 dev->node_props.capability |=
02274fc0f67259 Graham Sider 2021-11-05 1985 ((dev->gpu->adev->rev_id << HSA_CAP_ASIC_REVISION_SHIFT) &
c6d1ec4134edc1 Joseph Greathouse 2020-04-16 1986 HSA_CAP_ASIC_REVISION_MASK);
92085240ef9c0e Jonathan Kim 2022-05-03 1987
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1988 dev->node_props.location_id = pci_dev_id(gpu->adev->pdev);
92085240ef9c0e Jonathan Kim 2022-05-03 1989 if (KFD_GC_VERSION(dev->gpu->kfd) == IP_VERSION(9, 4, 3))
92085240ef9c0e Jonathan Kim 2022-05-03 1990 dev->node_props.location_id |= dev->gpu->node_id;
92085240ef9c0e Jonathan Kim 2022-05-03 1991
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1992 dev->node_props.domain = pci_domain_nr(gpu->adev->pdev->bus);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1993 dev->node_props.max_engine_clk_fcompute =
574c4183ef7511 Graham Sider 2021-10-19 1994 amdgpu_amdkfd_get_max_engine_clock_in_mhz(dev->gpu->adev);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1995 dev->node_props.max_engine_clk_ccompute =
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1996 cpufreq_quick_get_max(0) / 1000;
a476c0c645535c Philip Yang 2023-02-23 1997
a476c0c645535c Philip Yang 2023-02-23 1998 if (gpu->xcp)
a476c0c645535c Philip Yang 2023-02-23 1999 dev->node_props.drm_render_minor = gpu->xcp->ddev->render->index;
a476c0c645535c Philip Yang 2023-02-23 2000 else
7c9b717196b1af Oak Zeng 2018-03-15 2001 dev->node_props.drm_render_minor =
8dc1db3172ae2f Mukul Joshi 2022-09-14 2002 gpu->kfd->shared_resources.drm_render_minor;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2003
8dc1db3172ae2f Mukul Joshi 2022-09-14 2004 dev->node_props.hive_id = gpu->kfd->hive_id;
ee2f17f4d02b14 Amber Lin 2021-11-18 2005 dev->node_props.num_sdma_engines = kfd_get_num_sdma_engines(gpu);
14568cf6583e9d Oak Zeng 2019-02-08 2006 dev->node_props.num_sdma_xgmi_engines =
ee2f17f4d02b14 Amber Lin 2021-11-18 2007 kfd_get_num_xgmi_sdma_engines(gpu);
bb71c74db3c554 Huang Rui 2019-12-16 2008 dev->node_props.num_sdma_queues_per_engine =
8dc1db3172ae2f Mukul Joshi 2022-09-14 2009 gpu->kfd->device_info.num_sdma_queues_per_engine -
8dc1db3172ae2f Mukul Joshi 2022-09-14 2010 gpu->kfd->device_info.num_reserved_sdma_queues_per_engine;
29633d0e204df1 Joseph Greathouse 2020-01-15 2011 dev->node_props.num_gws = (dev->gpu->gws &&
29e764621bbcd4 Oak Zeng 2019-05-03 2012 dev->gpu->dqm->sched_policy != KFD_SCHED_POLICY_NO_HWS) ?
02274fc0f67259 Graham Sider 2021-11-05 2013 dev->gpu->adev->gds.gws_size : 0;
e6945304187dea Yong Zhao 2020-01-30 2014 dev->node_props.num_cp_queues = get_cp_queues_num(dev->gpu->dqm);
0c1690e38b5e68 Shaoyun Liu 2018-07-06 2015
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2016 kfd_fill_mem_clk_max_info(dev);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2017 kfd_fill_iolink_non_crat_info(dev);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2018
7eb0502ac0538e Graham Sider 2021-11-10 2019 switch (dev->gpu->adev->asic_type) {
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2020 case CHIP_KAVERI:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2021 case CHIP_HAWAII:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2022 case CHIP_TONGA:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2023 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_PRE_1_0 <<
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2024 HSA_CAP_DOORBELL_TYPE_TOTALBITS_SHIFT) &
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2025 HSA_CAP_DOORBELL_TYPE_TOTALBITS_MASK);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2026 break;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2027 case CHIP_CARRIZO:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2028 case CHIP_FIJI:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2029 case CHIP_POLARIS10:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2030 case CHIP_POLARIS11:
846a44d7e918a4 Gang Ba 2018-09-05 2031 case CHIP_POLARIS12:
ed81cd6e0e9f37 Kent Russell 2019-03-21 2032 case CHIP_VEGAM:
42aa8793d795f1 Felix Kuehling 2017-12-08 2033 pr_debug("Adding doorbell packet type capability\n");
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2034 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_1_0 <<
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2035 HSA_CAP_DOORBELL_TYPE_TOTALBITS_SHIFT) &
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2036 HSA_CAP_DOORBELL_TYPE_TOTALBITS_MASK);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2037 break;
e4804a39ba5f72 Graham Sider 2021-10-28 2038 default:
d230f1bfe7a197 Jonathan Kim 2022-03-25 2039 if (KFD_GC_VERSION(dev->gpu) < IP_VERSION(9, 0, 1))
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2040 WARN(1, "Unexpected ASIC family %u",
7eb0502ac0538e Graham Sider 2021-11-10 2041 dev->gpu->adev->asic_type);
d230f1bfe7a197 Jonathan Kim 2022-03-25 2042 else
d230f1bfe7a197 Jonathan Kim 2022-03-25 2043 kfd_topology_set_capabilities(dev);
7639a8c420f04c Ben Goz 2015-06-07 2044 }
7639a8c420f04c Ben Goz 2015-06-07 2045
1ae99eab34f90c Oak Zeng 2019-06-10 2046 /*
1ae99eab34f90c Oak Zeng 2019-06-10 2047 * Overwrite ATS capability according to needs_iommu_device to fix
1ae99eab34f90c Oak Zeng 2019-06-10 2048 * potential missing corresponding bit in CRAT of BIOS.
1ae99eab34f90c Oak Zeng 2019-06-10 2049 */
1ae99eab34f90c Oak Zeng 2019-06-10 2050 dev->node_props.capability &= ~HSA_CAP_ATS_PRESENT;
1ae99eab34f90c Oak Zeng 2019-06-10 2051
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2052 /* Fix errors in CZ CRAT.
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2053 * simd_count: Carrizo CRAT reports wrong simd_count, probably
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2054 * because it doesn't consider masked out CUs
70f372bffcc84c Philip Cox 2017-12-08 2055 * max_waves_per_simd: Carrizo reports wrong max_waves_per_simd
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2056 */
7eb0502ac0538e Graham Sider 2021-11-10 2057 if (dev->gpu->adev->asic_type == CHIP_CARRIZO) {
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2058 dev->node_props.simd_count =
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2059 cu_info.simd_per_cu * cu_info.cu_active_number;
70f372bffcc84c Philip Cox 2017-12-08 2060 dev->node_props.max_waves_per_simd = 10;
70f372bffcc84c Philip Cox 2017-12-08 2061 }
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2062
5436ab94cd9460 Stanley.Yang 2020-08-17 2063 /* kfd only concerns sram ecc on GFX and HBM ecc on UMC */
0dee45a25a63f7 Eric Huang 2019-01-11 2064 dev->node_props.capability |=
56c5977eae8799 Graham Sider 2021-10-19 2065 ((dev->gpu->adev->ras_enabled & BIT(AMDGPU_RAS_BLOCK__GFX)) != 0) ?
0dee45a25a63f7 Eric Huang 2019-01-11 2066 HSA_CAP_SRAM_EDCSUPPORTED : 0;
56c5977eae8799 Graham Sider 2021-10-19 2067 dev->node_props.capability |=
56c5977eae8799 Graham Sider 2021-10-19 2068 ((dev->gpu->adev->ras_enabled & BIT(AMDGPU_RAS_BLOCK__UMC)) != 0) ?
0dee45a25a63f7 Eric Huang 2019-01-11 2069 HSA_CAP_MEM_EDCSUPPORTED : 0;
0dee45a25a63f7 Eric Huang 2019-01-11 2070
046e674b961594 Graham Sider 2021-11-09 2071 if (KFD_GC_VERSION(dev->gpu) != IP_VERSION(9, 0, 1))
56c5977eae8799 Graham Sider 2021-10-19 2072 dev->node_props.capability |= (dev->gpu->adev->ras_enabled != 0) ?
0dee45a25a63f7 Eric Huang 2019-01-11 2073 HSA_CAP_RASEVENTNOTIFY : 0;
0dee45a25a63f7 Eric Huang 2019-01-11 2074
610dab118ff501 Philip Yang 2023-03-31 2075 if (KFD_IS_SVM_API_SUPPORTED(dev->gpu->adev))
4c166eb95decf0 Philip Yang 2020-12-09 2076 dev->node_props.capability |= HSA_CAP_SVMAPI_SUPPORTED;
4c166eb95decf0 Philip Yang 2020-12-09 2077
03d400e7605e3d Alex Sierra 2023-06-15 2078 if (dev->gpu->adev->gmc.is_app_apu ||
03d400e7605e3d Alex Sierra 2023-06-15 2079 dev->gpu->adev->gmc.xgmi.connected_to_cpu)
03d400e7605e3d Alex Sierra 2023-06-15 2080 dev->node_props.capability |= HSA_CAP_FLAGS_COHERENTHOSTACCESS;
03d400e7605e3d Alex Sierra 2023-06-15 2081
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2082 kfd_debug_print_topology();
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2083
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 2084 kfd_notify_gpu_change(gpu_id, 1);
f701acb6a4ed0a Felix Kuehling 2022-11-16 2085
7d4f8db4a1448e Dan Carpenter 2022-11-25 2086 return 0;
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 2087 }
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 2088
:::::: The code at line 1922 was first introduced by commit
:::::: 8dc1db3172ae2f17ae71e33b608a33411ce8a1aa drm/amdkfd: Introduce kfd_node struct (v5)
:::::: TO: Mukul Joshi <mukul.joshi(a)amd.com>
:::::: CC: Alex Deucher <alexander.deucher(a)amd.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1610/1610] drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:371:3: error: a randomized struct can only be initialized with a designated initializer
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Shuai,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 4213ff7957de370c1cfe528c2bad1eb2e499038a [1610/1610] net/ethernet/huawei/hinic3: Add the CQM on which the RDMA depends
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101054.7uczAWCS-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101054.7uczAWCS-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101054.7uczAWCS-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:6:
In file included from include/linux/pci.h:1663:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2204:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:371:3: error: a randomized struct can only be initialized with a designated initializer
371 | {check_for_use_node_alloc, cqm_buf_use_node_alloc_page},
| ^
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:372:3: error: a randomized struct can only be initialized with a designated initializer
372 | {check_for_nouse_node_alloc, cqm_buf_unused_node_alloc_page}
| ^
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:376:3: error: a randomized struct can only be initialized with a designated initializer
376 | {check_use_non_vram, cqm_buf_free_page_common}
| ^
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:382:25: error: invalid application of 'sizeof' to an incomplete type 'const struct malloc_memory[]'
382 | u32 malloc_funcs_num = ARRAY_SIZE(g_malloc_funcs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:57:32: note: expanded from macro 'ARRAY_SIZE'
57 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:399:23: error: invalid application of 'sizeof' to an incomplete type 'const struct free_memory[]'
399 | u32 free_funcs_num = ARRAY_SIZE(g_free_funcs);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:57:32: note: expanded from macro 'ARRAY_SIZE'
57 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~
5 warnings and 5 errors generated.
vim +371 drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c
369
370 static const struct malloc_memory g_malloc_funcs[] = {
> 371 {check_for_use_node_alloc, cqm_buf_use_node_alloc_page},
372 {check_for_nouse_node_alloc, cqm_buf_unused_node_alloc_page}
373 };
374
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

10 Dec '24
There are two major types of uncorrected recoverable (UCR) errors :
- Synchronous error: The error is detected and raised at the point of the
consumption in the execution flow, e.g. when a CPU tries to access
a poisoned cache line. The CPU will take a synchronous error exception
such as Synchronous External Abort (SEA) on Arm64 and Machine Check
Exception (MCE) on X86. OS requires to take action (for example, offline
failure page/kill failure thread) to recover this uncorrectable error.
- Asynchronous error: The error is detected out of processor execution
context, e.g. when an error is detected by a background scrubber. Some data
in the memory are corrupted. But the data have not been consumed. OS is
optional to take action to recover this uncorrectable error.
Currently, both synchronous and asynchronous error use
memory_failure_queue() to schedule memory_failure() exectute in kworker
context. As a result, when a user-space process is accessing a poisoned
data, a data abort is taken and the memory_failure() is executed in the
kworker context:
- will send wrong si_code by SIGBUS signal in early_kill mode, and
- can not kill the user-space in some cases resulting a synchronous
error infinite loop
Issue 1: send wrong si_code in early_kill mode
Since commit a70297d22132 ("ACPI: APEI: set memory failure flags as
MF_ACTION_REQUIRED on synchronous events")', the flag MF_ACTION_REQUIRED
could be used to determine whether a synchronous exception occurs on
ARM64 platform. When a synchronous exception is detected, the kernel is
expected to terminate the current process which has accessed poisoned
page. This is done by sending a SIGBUS signal with an error code
BUS_MCEERR_AR, indicating an action-required machine check error on
read.
However, when kill_proc() is called to terminate the processes who have
the poisoned page mapped, it sends the incorrect SIGBUS error code
BUS_MCEERR_AO because the context in which it operates is not the one
where the error was triggered.
To reproduce this problem:
# STEP1: enable early kill mode
#sysctl -w vm.memory_failure_early_kill=1
vm.memory_failure_early_kill = 1
# STEP2: inject an UCE error and consume it to trigger a synchronous error
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 5 addr 0xffffb0d75000
page not present
Test passed
The si_code (code 5) from einj_mem_uc indicates that it is BUS_MCEERR_AO
error and it is not fact.
To fix it, queue memory_failure() as a task_work so that it runs in
the context of the process that is actually consuming the poisoned data.
After this patch set:
# STEP1: enable early kill mode
#sysctl -w vm.memory_failure_early_kill=1
vm.memory_failure_early_kill = 1
# STEP2: inject an UCE error and consume it to trigger a synchronous error
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 4 addr 0xffffb0d75000
page not present
Test passed
The si_code (code 4) from einj_mem_uc indicates that it is BUS_MCEERR_AR
error as we expected.
Issue 2: a synchronous error infinite loop due to memory_failure() failed
If a user-space process, e.g. devmem, a poisoned page which has been set
HWPosion flag, kill_accessing_process() is called to send SIGBUS to the
current processs with error info. Because the memory_failure() is
executed in the kworker contex, it will just do nothing but return
EFAULT. So, devmem will access the posioned page and trigger an
excepction again, resulting in a synchronous error infinite loop. Such
loop may cause platform firmware to exceed some threshold and reboot
when Linux could have recovered from this error.
To reproduce this problem:
# STEP 1: inject an UCE error, and kernel will set HWPosion flag for related page
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 4 addr 0xffffb0d75000
page not present
Test passed
# STEP 2: access the same page and it will trigger a synchronous error infinite loop
devmem 0x4092d55b400
To fix it, if memory_failure() failed, perform a force kill to current process.
Issue 3: a synchronous error infinite loop due to no memory_failure() queued
No memory_failure() work is queued unless all bellow preconditions check passed:
- `if (!(mem_err->validation_bits & CPER_MEM_VALID_PA))` in ghes_handle_memory_failure()
- `if (flags == -1)` in ghes_handle_memory_failure()
- `if (!IS_ENABLED(CONFIG_ACPI_APEI_MEMORY_FAILURE))` in ghes_do_memory_failure()
- `if (!pfn_valid(pfn) && !arch_is_platform_page(physical_addr)) ` in ghes_do_memory_failure()
If the preconditions are not passed, the user-space process will trigger SEA again.
This loop can potentially exceed the platform firmware threshold or even
trigger a kernel hard lockup, leading to a system reboot.
To fix it, if no memory_failure() queued, perform a force kill to current process.
And the the memory errors triggered in kernel-mode[5], also relies on this
patchset to kill the failure thread.
Lv Ying and XiuQi from Huawei also proposed to address similar problem[2][4].
Acknowledge to discussion with them.
[1] Add ARMv8 RAS virtualization support in QEMU https://patchew.org/QEMU/20200512030609.19593-1-gengdongjiu@huawei.com/
[2] https://lore.kernel.org/lkml/20221205115111.131568-3-lvying6@huawei.com/
[3] https://lkml.kernel.org/r/20220914064935.7851-1-xueshuai@linux.alibaba.com
[4] https://lore.kernel.org/lkml/20221209095407.383211-1-lvying6@huawei.com/
[5] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20240528085915.…
Shuai Xue (4):
ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on
synchronous events
ACPI: APEI: send SIGBUS to current task if synchronous memory error
not recovered
mm: memory-failure: move return value documentation to function
declaration
ACPI: APEI: handle synchronous exceptions in task work
arch/x86/kernel/cpu/mce/core.c | 5 --
drivers/acpi/apei/ghes.c | 114 ++++++++++++++++++++++-----------
include/acpi/ghes.h | 3 -
include/linux/mm.h | 1 -
mm/memory-failure.c | 19 ++----
5 files changed, 82 insertions(+), 60 deletions(-)
--
2.25.1
2
5

[openeuler:OLK-6.6 1613/1613] WARNING: modpost: vmlinux: section mismatch in reference: virtio_fs_init+0x79 (section: .init.text) -> virtio_fs_sysfs_exit (section: .exit.text)
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: cc6009cb24f9754275aa850a61fd12554acdec36 [1613/1613] virtiofs: export filesystem tags through sysfs
config: x86_64-buildonly-randconfig-005-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100915.WfanJ73e-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100915.WfanJ73e-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100915.WfanJ73e-lkp@intel.com/
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux: section mismatch in reference: virtio_fs_init+0x79 (section: .init.text) -> virtio_fs_sysfs_exit (section: .exit.text)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION fbaada49082c23aa4e4ed43386a1ad4a457a0354
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: fbaada49082c23aa4e4ed43386a1ad4a457a0354 !14124 media: cx24116: prevent overflows on SNR calculus
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412092317.DIsy2Dp4-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100013.zF4K3d9s-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100301.fVrumCik-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100625.1CDZ0rpT-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100719.EfO2Bdyg-lkp@intel.com
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x0' in asm
arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/stack_pointer.h:8:51: error: register 'sp' unsuitable for global register variables on this target
arch/x86/kernel/paravirt.c:65:29: error: use of undeclared identifier 'CALL_INSN_OPCODE'
arch/x86/kernel/paravirt.c:65:2: error: implicit declaration of function '__text_gen_insn' [-Werror,-Wimplicit-function-declaration]
arch/x86/kernel/paravirt.c:65:36: error: 'CALL_INSN_OPCODE' undeclared (first use in this function)
arch/x86/kernel/paravirt.c:66:26: error: use of undeclared identifier 'CALL_INSN_SIZE'
arch/x86/kernel/paravirt.c:66:47: error: 'CALL_INSN_SIZE' undeclared (first use in this function)
drivers/net/dsa/mv88e6xxx/chip.c:2320:4: error: implicit declaration of function 'mv88e6xxx_g2_eeprom_wait' [-Werror,-Wimplicit-function-declaration]
drivers/tty/tty_buffer.c:177:2: error: implicit declaration of function 'printk_safe_exit' [-Werror,-Wimplicit-function-declaration]
fs/eulerfs/euler_def.h:199:13: warning: redefinition of typedef 'hashlen_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/euler_def.h:92:12: warning: redefinition of typedef 'page_info_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/namei.c:422:47: warning: variable 'de' is uninitialized when used here [-Wuninitialized]
kernel/workqueue.c:4821:5: error: implicit declaration of function 'printk_safe_enter' [-Werror,-Wimplicit-function-declaration]
kernel/workqueue.c:4823:5: error: implicit declaration of function 'printk_safe_exit' [-Werror,-Wimplicit-function-declaration]
ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined
make[2]: *** [Documentation/devicetree/bindings/Makefile:52: Documentation/devicetree/bindings/processed-schema-examples.json] Error 123
Unverified Error/Warning (likely false positive, kindly check if interested):
Warning: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio:599 ./Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371:0
Warning: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio:588 ./Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371:36
drivers/gpu/drm/radeon/si.o: warning: objtool: si_irq_process() falls through to next function si_resume()
drivers/gpu/drm/radeon/si.o: warning: objtool: si_irq_suspend() falls through to next function si_pcie_gart_disable()
drivers/net/ethernet/pensando/ionic/ionic_lif.c:855 ionic_adminq_napi() error: we previously assumed 'lif->adminqcq' could be null (see line 848)
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-allnoconfig
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| `-- kismet:WARNING:unmet-direct-dependencies-detected-for-CPPC_CPUFREQ_SYSFS_INTERFACE-when-selected-by-CPU_FREQ_GOV_SEEP
|-- arm64-defconfig
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_create_ttt_levels
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_get_num_brps
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_get_num_wrps
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_ipa_limit
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_populate_par_region
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_supports_pmu
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_supports_sve
| |-- arch-arm64-kvm-hyp-nvhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- arch-arm64-kvm-hyp-vhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-crypto-hisilicon-qm.c:warning:strncpy-specified-bound-depends-on-the-length-of-the-source-argument
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:label-err_init_guid_fail-defined-but-not-used
| `-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:label-out_dbg_init-defined-but-not-used
|-- arm64-randconfig-001-20241209
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-crypto-hisilicon-qm.c:warning:strncpy-specified-bound-depends-on-the-length-of-the-source-argument
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
| |-- mm-kasan-common.c:error:void-value-not-ignored-as-it-ought-to-be
| |-- mm-kasan-common.c:warning:control-reaches-end-of-non-void-function
| `-- mm-kasan-kasan.h:warning:return-with-a-value-in-function-returning-void
|-- arm64-randconfig-003-20241209
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-x16-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-004-20241209
| |-- lib-..-mm-kasan-kasan.h:warning:return-with-a-value-in-function-returning-void
| |-- mm-kasan-common.c:error:void-value-not-ignored-as-it-ought-to-be
| |-- mm-kasan-common.c:warning:control-reaches-end-of-non-void-function
| `-- mm-kasan-kasan.h:warning:return-with-a-value-in-function-returning-void
|-- arm64-randconfig-051-20241210
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241210
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241210
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241210
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241209
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241210
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-r063-20241210
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-x16-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- x86_64-allnoconfig
| |-- Warning:sys-bus-iio-devices-iio:deviceX-out_altvoltageY_frequency-is-defined-times:.-Documentation-ABI-testing-sysfs-bus-iio-.-Documentation-ABI-testing-sysfs-bus-iio-frequency-adf4371
| `-- Warning:sys-bus-iio-devices-iio:deviceX-out_altvoltageY_powerdown-is-defined-times:.-Documentation-ABI-testing-sysfs-bus-iio-.-Documentation-ABI-testing-sysfs-bus-iio-frequency-adf4371
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-001-20241209
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-002-20241209
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-003-20241209
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| `-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
|-- x86_64-buildonly-randconfig-004-20241209
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- x86_64-buildonly-randconfig-005-20241209
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
|-- x86_64-defconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| `-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
|-- x86_64-randconfig-101-20241209
| |-- drivers-gpu-drm-radeon-si.o:warning:objtool:si_irq_process-falls-through-to-next-function-si_resume()
| `-- drivers-gpu-drm-radeon-si.o:warning:objtool:si_irq_suspend-falls-through-to-next-function-si_pcie_gart_disable()
|-- x86_64-randconfig-161-20241204
| `-- drivers-net-ethernet-pensando-ionic-ionic_lif.c-ionic_adminq_napi()-error:we-previously-assumed-lif-adminqcq-could-be-null-(see-line-)
`-- x86_64-randconfig-161-20241210
`-- drivers-net-dsa-mv88e6xxx-chip.c:error:implicit-declaration-of-function-mv88e6xxx_g2_eeprom_wait-Werror-Wimplicit-function-declaration
elapsed time: 735m
configs tested: 16
configs skipped: 129
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 defconfig gcc-14.2.0
arm64 randconfig-001-20241209 gcc-14.2.0
arm64 randconfig-002-20241209 clang-20
arm64 randconfig-003-20241209 clang-19
arm64 randconfig-004-20241209 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241209 gcc-12
x86_64 buildonly-randconfig-002-20241209 gcc-12
x86_64 buildonly-randconfig-003-20241209 clang-19
x86_64 buildonly-randconfig-004-20241209 gcc-12
x86_64 buildonly-randconfig-005-20241209 clang-19
x86_64 buildonly-randconfig-006-20241209 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] drivers/irqchip/irq-gic-v3.c:1036:23: error: call to undeclared function 'pde_data'; ISO C99 and later do not support implicit function declarations
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 3053668e6b211924bb67c19d791a5a532eca2ad8 [1613/1613] arm64: Introduce Xint software solution
config: arm64-randconfig-003-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100826.ymHdQKlB-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100826.ymHdQKlB-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100826.ymHdQKlB-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/irqchip/irq-gic-v3.c:25:
In file included from include/linux/irqchip/arm-gic-v3.h:632:
In file included from arch/arm64/include/asm/arch_gicv3.h:17:
In file included from arch/arm64/include/asm/cacheflush.h:11:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2247:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/irqchip/irq-gic-v3.c:1036:23: error: call to undeclared function 'pde_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1036 | int irq = (int)(long)pde_data(file_inode(file));
| ^
>> drivers/irqchip/irq-gic-v3.c:1074:2: error: call to undeclared function 'seq_printf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1074 | seq_printf(m, "%d\n", xint_transform((long)m->private, XINT_SET_CHECK));
| ^
>> drivers/irqchip/irq-gic-v3.c:1074:46: error: incomplete definition of type 'struct seq_file'
1074 | seq_printf(m, "%d\n", xint_transform((long)m->private, XINT_SET_CHECK));
| ~^
arch/arm64/include/asm/smp.h:56:8: note: forward declaration of 'struct seq_file'
56 | struct seq_file;
| ^
>> drivers/irqchip/irq-gic-v3.c:1080:9: error: call to undeclared function 'single_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1080 | return single_open(file, xint_proc_show, pde_data(inode));
| ^
drivers/irqchip/irq-gic-v3.c:1080:9: note: did you mean 'simple_open'?
include/linux/fs.h:3226:12: note: 'simple_open' declared here
3226 | extern int simple_open(struct inode *inode, struct file *file);
| ^
drivers/irqchip/irq-gic-v3.c:1080:43: error: call to undeclared function 'pde_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1080 | return single_open(file, xint_proc_show, pde_data(inode));
| ^
>> drivers/irqchip/irq-gic-v3.c:1085:15: error: use of undeclared identifier 'seq_read'
1085 | .proc_read = seq_read,
| ^
>> drivers/irqchip/irq-gic-v3.c:1086:16: error: use of undeclared identifier 'seq_lseek'
1086 | .proc_lseek = seq_lseek,
| ^
>> drivers/irqchip/irq-gic-v3.c:1087:18: error: use of undeclared identifier 'single_release'
1087 | .proc_release = single_release,
| ^
>> drivers/irqchip/irq-gic-v3.c:1083:30: error: variable has incomplete type 'const struct proc_ops'
1083 | static const struct proc_ops xint_proc_ops = {
| ^
drivers/irqchip/irq-gic-v3.c:1083:21: note: forward declaration of 'struct proc_ops'
1083 | static const struct proc_ops xint_proc_ops = {
| ^
>> drivers/irqchip/irq-gic-v3.c:1097:2: error: call to undeclared function 'proc_create_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1097 | proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp);
| ^
>> drivers/irqchip/irq-gic-v3.c:1097:39: error: no member named 'dir' in 'struct irq_desc'
1097 | proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp);
| ~~~~ ^
>> drivers/irqchip/irq-gic-v3.c:1105:2: error: call to undeclared function 'remove_proc_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1105 | remove_proc_entry("xint", desc->dir);
| ^
drivers/irqchip/irq-gic-v3.c:1105:34: error: no member named 'dir' in 'struct irq_desc'
1105 | remove_proc_entry("xint", desc->dir);
| ~~~~ ^
5 warnings and 13 errors generated.
vim +/pde_data +1036 drivers/irqchip/irq-gic-v3.c
1032
1033 static ssize_t xint_proc_write(struct file *file,
1034 const char __user *buffer, size_t count, loff_t *pos)
1035 {
> 1036 int irq = (int)(long)pde_data(file_inode(file));
1037 bool xint_state = false;
1038 unsigned long val;
1039 char *buf = NULL;
1040
1041 if (!xint_transform(irq, XINT_RANGE_CHECK))
1042 return -EPERM;
1043
1044 buf = memdup_user_nul(buffer, count);
1045 if (IS_ERR(buf))
1046 return PTR_ERR(buf);
1047
1048 if (kstrtoul(buf, 0, &val) || (val != 0 && val != 1)) {
1049 kfree(buf);
1050 return -EINVAL;
1051 }
1052
1053 xint_state = xint_transform(irq, XINT_SET_CHECK);
1054 if (xint_state == val) {
1055 kfree(buf);
1056 return -EBUSY;
1057 }
1058
1059 local_irq_disable();
1060 disable_irq(irq);
1061
1062 xint_transform(irq, xint_state ? XINT_TO_IRQ : IRQ_TO_XINT);
1063
1064 enable_irq(irq);
1065 local_irq_enable();
1066
1067 kfree(buf);
1068
1069 return count;
1070 }
1071
1072 static int xint_proc_show(struct seq_file *m, void *v)
1073 {
> 1074 seq_printf(m, "%d\n", xint_transform((long)m->private, XINT_SET_CHECK));
1075 return 0;
1076 }
1077
1078 static int xint_proc_open(struct inode *inode, struct file *file)
1079 {
> 1080 return single_open(file, xint_proc_show, pde_data(inode));
1081 }
1082
> 1083 static const struct proc_ops xint_proc_ops = {
1084 .proc_open = xint_proc_open,
> 1085 .proc_read = seq_read,
> 1086 .proc_lseek = seq_lseek,
> 1087 .proc_release = single_release,
1088 .proc_write = xint_proc_write,
1089 };
1090
1091 void register_irqchip_proc(struct irq_desc *desc, void *irqp)
1092 {
1093 if (!is_xint_support)
1094 return;
1095
1096 /* create /proc/irq/<irq>/xint */
> 1097 proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp);
1098 }
1099
1100 void unregister_irqchip_proc(struct irq_desc *desc)
1101 {
1102 if (!is_xint_support)
1103 return;
1104
> 1105 remove_proc_entry("xint", desc->dir);
1106 }
1107 #endif /* CONFIG_FAST_IRQ */
1108
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1321/1321] arch/x86/power/cpu.o: warning: objtool: missing symbol for section .exit.text
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Borislav,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: 27dd57ae7b305c8c1bcf55eab82c45d85b605149 [1321/1321] x86/cpu: Load microcode during restore_processor_state()
config: x86_64-buildonly-randconfig-002-20241205 (https://download.01.org/0day-ci/archive/20241210/202412100840.h8kOEWMA-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100840.h8kOEWMA-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100840.h8kOEWMA-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/power/cpu.c:27:
In file included from arch/x86/include/asm/mmu_context.h:12:
In file included from arch/x86/include/asm/pgalloc.h:7:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
arch/x86/power/cpu.c:78: warning: Function parameter or member 'ctxt' not described in '__save_processor_state'
arch/x86/power/cpu.c:200: warning: Function parameter or member 'ctxt' not described in '__restore_processor_state'
>> arch/x86/power/cpu.o: warning: objtool: missing symbol for section .exit.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] arch/arm64/kernel/cpufeature.c:2387:6: warning: no previous prototype for function 'fast_syscall_enabled'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 5c3cf22892983304b18d87296ed96ff0ab7d6c95 [1613/1613] arm64: Introduce xcall a faster svc exception handling
config: arm64-randconfig-001-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100701.gJFnUZcV-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100701.gJFnUZcV-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100701.gJFnUZcV-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/arm64/kernel/cpufeature.c:67:
In file included from include/linux/crash_dump.h:5:
In file included from include/linux/kexec.h:18:
In file included from include/linux/crash_core.h:6:
In file included from include/linux/elfcore.h:11:
In file included from include/linux/ptrace.h:10:
In file included from include/linux/pid_namespace.h:7:
In file included from include/linux/mm.h:2247:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kernel/cpufeature.c:2387:6: warning: no previous prototype for function 'fast_syscall_enabled' [-Wmissing-prototypes]
2387 | bool fast_syscall_enabled(void)
| ^
arch/arm64/kernel/cpufeature.c:2387:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2387 | bool fast_syscall_enabled(void)
| ^
| static
6 warnings generated.
vim +/fast_syscall_enabled +2387 arch/arm64/kernel/cpufeature.c
2386
> 2387 bool fast_syscall_enabled(void)
2388 {
2389 return is_xcall_support;
2390 }
2391
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2570/2570] drivers/net/dsa/mv88e6xxx/chip.c:2320:4: error: implicit declaration of function 'mv88e6xxx_g2_eeprom_wait'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Fabio,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: fbaada49082c23aa4e4ed43386a1ad4a457a0354
commit: 02956abc74ede6549249eb21e5b319b92dd147f3 [2570/2570] net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
config: x86_64-randconfig-161-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100719.EfO2Bdyg-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100719.EfO2Bdyg-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100719.EfO2Bdyg-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/dsa/mv88e6xxx/chip.c:15:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:14:
In file included from include/linux/mm.h:1581:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from drivers/net/dsa/mv88e6xxx/chip.c:32:
In file included from include/net/dsa.h:22:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mv88e6xxx/chip.c:2320:4: error: implicit declaration of function 'mv88e6xxx_g2_eeprom_wait' [-Werror,-Wimplicit-function-declaration]
2320 | mv88e6xxx_g2_eeprom_wait(chip);
| ^
drivers/net/dsa/mv88e6xxx/chip.c:2320:4: note: did you mean 'mv88e6xxx_g2_pvt_write'?
drivers/net/dsa/mv88e6xxx/global2.h:457:19: note: 'mv88e6xxx_g2_pvt_write' declared here
457 | static inline int mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip,
| ^
3 warnings and 1 error generated.
vim +/mv88e6xxx_g2_eeprom_wait +2320 drivers/net/dsa/mv88e6xxx/chip.c
2306
2307 static void mv88e6xxx_hardware_reset(struct mv88e6xxx_chip *chip)
2308 {
2309 struct gpio_desc *gpiod = chip->reset;
2310
2311 /* If there is a GPIO connected to the reset pin, toggle it */
2312 if (gpiod) {
2313 /* If the switch has just been reset and not yet completed
2314 * loading EEPROM, the reset may interrupt the I2C transaction
2315 * mid-byte, causing the first EEPROM read after the reset
2316 * from the wrong location resulting in the switch booting
2317 * to wrong mode and inoperable.
2318 */
2319 if (chip->info->ops->get_eeprom)
> 2320 mv88e6xxx_g2_eeprom_wait(chip);
2321
2322 gpiod_set_value_cansleep(gpiod, 1);
2323 usleep_range(10000, 20000);
2324 gpiod_set_value_cansleep(gpiod, 0);
2325 usleep_range(10000, 20000);
2326
2327 if (chip->info->ops->get_eeprom)
2328 mv88e6xxx_g2_eeprom_wait(chip);
2329 }
2330 }
2331
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] kernel/sched/psi.c:387:1: error: function definition is not allowed here
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Lu,
First bad commit (maybe != root cause):
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 654944510822988390470cbc5b6f914c19dd9b88 [1613/1613] sched/psi: add cpu fine grained stall tracking in pressure.stat
config: arm64-randconfig-001-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100613.fwDO1CD0-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100613.fwDO1CD0-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100613.fwDO1CD0-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_utility.c:24:
In file included from include/linux/cpuset.h:17:
In file included from include/linux/mm.h:2181:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/sched/build_utility.c:97:
>> kernel/sched/psi.c:387:1: error: function definition is not allowed here
387 | {
| ^
kernel/sched/psi.c:421:1: error: function definition is not allowed here
421 | {
| ^
kernel/sched/psi.c:449:1: error: function definition is not allowed here
449 | {
| ^
kernel/sched/psi.c:471:1: error: function definition is not allowed here
471 | {
| ^
kernel/sched/psi.c:517:17: error: function definition is not allowed here
517 | bool next) {}
| ^
kernel/sched/psi.c:523:1: error: function definition is not allowed here
523 | {
| ^
kernel/sched/psi.c:590:1: error: function definition is not allowed here
590 | {
| ^
kernel/sched/psi.c:608:1: error: function definition is not allowed here
608 | {
| ^
kernel/sched/psi.c:635:1: error: function definition is not allowed here
635 | {
| ^
kernel/sched/psi.c:707:1: error: function definition is not allowed here
707 | {
| ^
kernel/sched/psi.c:772:1: error: function definition is not allowed here
772 | {
| ^
kernel/sched/psi.c:808:1: error: function definition is not allowed here
808 | {
| ^
kernel/sched/psi.c:822:1: error: function definition is not allowed here
822 | {
| ^
kernel/sched/psi.c:848:1: error: function definition is not allowed here
848 | {
| ^
kernel/sched/psi.c:932:1: error: function definition is not allowed here
932 | {
| ^
kernel/sched/psi.c:950:1: error: function definition is not allowed here
950 | {
| ^
kernel/sched/psi.c:958:1: error: function definition is not allowed here
958 | {
| ^
kernel/sched/psi.c:993:1: error: function definition is not allowed here
993 | {
| ^
kernel/sched/psi.c:1107:1: error: function definition is not allowed here
1107 | {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
5 warnings and 20 errors generated.
vim +387 kernel/sched/psi.c
a65983d90bfb5e Lu Jialin 2024-01-04 383
a65983d90bfb5e Lu Jialin 2024-01-04 384 static bool test_fine_grained_stat(unsigned int *stat_tasks,
a65983d90bfb5e Lu Jialin 2024-01-04 385 unsigned int nr_running,
a65983d90bfb5e Lu Jialin 2024-01-04 386 enum psi_stat_states state)
a65983d90bfb5e Lu Jialin 2024-01-04 @387 {
a65983d90bfb5e Lu Jialin 2024-01-04 388 switch (state) {
a65983d90bfb5e Lu Jialin 2024-01-04 389 case PSI_MEMCG_RECLAIM_SOME:
a65983d90bfb5e Lu Jialin 2024-01-04 390 return unlikely(stat_tasks[NR_MEMCG_RECLAIM]);
a65983d90bfb5e Lu Jialin 2024-01-04 391 case PSI_MEMCG_RECLAIM_FULL:
a65983d90bfb5e Lu Jialin 2024-01-04 392 return unlikely(stat_tasks[NR_MEMCG_RECLAIM] &&
a65983d90bfb5e Lu Jialin 2024-01-04 393 nr_running == stat_tasks[NR_MEMCG_RECLAIM_RUNNING]);
25d00f6853c3c6 Lu Jialin 2024-01-04 394 case PSI_GLOBAL_RECLAIM_SOME:
25d00f6853c3c6 Lu Jialin 2024-01-04 395 return unlikely(stat_tasks[NR_GLOBAL_RECLAIM]);
25d00f6853c3c6 Lu Jialin 2024-01-04 396 case PSI_GLOBAL_RECLAIM_FULL:
25d00f6853c3c6 Lu Jialin 2024-01-04 397 return unlikely(stat_tasks[NR_GLOBAL_RECLAIM] &&
25d00f6853c3c6 Lu Jialin 2024-01-04 398 nr_running == stat_tasks[NR_GLOBAL_RECLAIM_RUNNING]);
25d00f6853c3c6 Lu Jialin 2024-01-04 399 case PSI_COMPACT_SOME:
25d00f6853c3c6 Lu Jialin 2024-01-04 400 return unlikely(stat_tasks[NR_COMPACT]);
25d00f6853c3c6 Lu Jialin 2024-01-04 401 case PSI_COMPACT_FULL:
25d00f6853c3c6 Lu Jialin 2024-01-04 402 return unlikely(stat_tasks[NR_COMPACT] &&
25d00f6853c3c6 Lu Jialin 2024-01-04 403 nr_running == stat_tasks[NR_COMPACT_RUNNING]);
25d00f6853c3c6 Lu Jialin 2024-01-04 404 case PSI_ASYNC_MEMCG_RECLAIM_SOME:
25d00f6853c3c6 Lu Jialin 2024-01-04 405 return unlikely(stat_tasks[NR_ASYNC_MEMCG_RECLAIM]);
25d00f6853c3c6 Lu Jialin 2024-01-04 406 case PSI_ASYNC_MEMCG_RECLAIM_FULL:
25d00f6853c3c6 Lu Jialin 2024-01-04 407 return unlikely(stat_tasks[NR_ASYNC_MEMCG_RECLAIM] &&
25d00f6853c3c6 Lu Jialin 2024-01-04 408 nr_running == stat_tasks[NR_ASYNC_MEMCG_RECLAIM_RUNNING]);
25d00f6853c3c6 Lu Jialin 2024-01-04 409 case PSI_SWAP_SOME:
25d00f6853c3c6 Lu Jialin 2024-01-04 410 return unlikely(stat_tasks[NR_SWAP]);
25d00f6853c3c6 Lu Jialin 2024-01-04 411 case PSI_SWAP_FULL:
25d00f6853c3c6 Lu Jialin 2024-01-04 412 return unlikely(stat_tasks[NR_SWAP] &&
25d00f6853c3c6 Lu Jialin 2024-01-04 413 nr_running == stat_tasks[NR_SWAP_RUNNING]);
a65983d90bfb5e Lu Jialin 2024-01-04 414 default:
a65983d90bfb5e Lu Jialin 2024-01-04 415 return false;
a65983d90bfb5e Lu Jialin 2024-01-04 416 }
a65983d90bfb5e Lu Jialin 2024-01-04 417 }
a65983d90bfb5e Lu Jialin 2024-01-04 418
:::::: The code at line 387 was first introduced by commit
:::::: a65983d90bfb5e031444fea492b32f931c83ffcf sched/psi: Introduce fine grained stall time collect for cgroup reclaim
:::::: TO: Lu Jialin <lujialin4(a)huawei.com>
:::::: CC: yanhaitao <yanhaitao2(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2568/2568] ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Sean,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: fbaada49082c23aa4e4ed43386a1ad4a457a0354
commit: 5476cb89ef2297bd36f8b38e27b54617b6f63236 [2568/2568] x86/vdso: Implement a vDSO for Intel SGX enclave call
config: x86_64-buildonly-randconfig-005-20241209 (https://download.01.org/0day-ci/archive/20241210/202412100625.1CDZ0rpT-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100625.1CDZ0rpT-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100625.1CDZ0rpT-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined
llvm-objdump: error: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file or directory
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] kernel/sched/isolation.c:134:46: error: use of undeclared identifier 'setup_max_cpus'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 54bee36be952f18f6a9e8303822459e89daaa336 [1613/1613] sched/isolation: Fix boot crash when maxcpus < first housekeeping CPU
config: x86_64-buildonly-randconfig-002-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100528.PZ0hrNzD-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100528.PZ0hrNzD-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100528.PZ0hrNzD-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_utility.c:24:
In file included from include/linux/cpuset.h:17:
In file included from include/linux/mm.h:2242:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from kernel/sched/build_utility.c:105:
>> kernel/sched/isolation.c:134:46: error: use of undeclared identifier 'setup_max_cpus'
134 | if (first_cpu >= nr_cpu_ids || first_cpu >= setup_max_cpus) {
| ^
1 warning and 1 error generated.
vim +/setup_max_cpus +134 kernel/sched/isolation.c
108
109 static int __init housekeeping_setup(char *str, unsigned long flags)
110 {
111 cpumask_var_t non_housekeeping_mask, housekeeping_staging;
112 unsigned int first_cpu;
113 int err = 0;
114
115 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK)) {
116 if (!IS_ENABLED(CONFIG_NO_HZ_FULL)) {
117 pr_warn("Housekeeping: nohz unsupported."
118 " Build with CONFIG_NO_HZ_FULL\n");
119 return 0;
120 }
121 }
122
123 alloc_bootmem_cpumask_var(&non_housekeeping_mask);
124 if (cpulist_parse(str, non_housekeeping_mask) < 0) {
125 pr_warn("Housekeeping: nohz_full= or isolcpus= incorrect CPU range\n");
126 goto free_non_housekeeping_mask;
127 }
128
129 alloc_bootmem_cpumask_var(&housekeeping_staging);
130 cpumask_andnot(housekeeping_staging,
131 cpu_possible_mask, non_housekeeping_mask);
132
133 first_cpu = cpumask_first_and(cpu_present_mask, housekeeping_staging);
> 134 if (first_cpu >= nr_cpu_ids || first_cpu >= setup_max_cpus) {
135 __cpumask_set_cpu(smp_processor_id(), housekeeping_staging);
136 __cpumask_clear_cpu(smp_processor_id(), non_housekeeping_mask);
137 if (!housekeeping.flags) {
138 pr_warn("Housekeeping: must include one present CPU, "
139 "using boot CPU:%d\n", smp_processor_id());
140 }
141 }
142
143 if (cpumask_empty(non_housekeeping_mask))
144 goto free_housekeeping_staging;
145
146 if (!housekeeping.flags) {
147 /* First setup call ("nohz_full=" or "isolcpus=") */
148 enum hk_type type;
149
150 for_each_set_bit(type, &flags, HK_TYPE_MAX)
151 housekeeping_setup_type(type, housekeeping_staging);
152 } else {
153 /* Second setup call ("nohz_full=" after "isolcpus=" or the reverse) */
154 enum hk_type type;
155 unsigned long iter_flags = flags & housekeeping.flags;
156
157 for_each_set_bit(type, &iter_flags, HK_TYPE_MAX) {
158 if (!cpumask_equal(housekeeping_staging,
159 housekeeping.cpumasks[type])) {
160 pr_warn("Housekeeping: nohz_full= must match isolcpus=\n");
161 goto free_housekeeping_staging;
162 }
163 }
164
165 iter_flags = flags & ~housekeeping.flags;
166
167 for_each_set_bit(type, &iter_flags, HK_TYPE_MAX)
168 housekeeping_setup_type(type, housekeeping_staging);
169 }
170
171 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK))
172 tick_nohz_full_setup(non_housekeeping_mask);
173
174 housekeeping.flags |= flags;
175 err = 1;
176
177 free_housekeeping_staging:
178 free_bootmem_cpumask_var(housekeeping_staging);
179 free_non_housekeeping_mask:
180 free_bootmem_cpumask_var(non_housekeeping_mask);
181
182 return err;
183 }
184
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1610/1610] rnpm_ptp.c:(.data.rel.ro.local+0x0): multiple definition of `mac_ptp'; drivers/net/ethernet/mucse/rnp/rnp_ptp.o:rnp_ptp.c:(.data.rel.ro.local+0x0): first defined here
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 5deaf74c4b3edcf88f67f18aa352690deb9dc212 [1610/1610] drivers: initial support for rnpm drivers from Mucse Technology
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412100554.9O1I0kbd-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100554.9O1I0kbd-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100554.9O1I0kbd-lkp@intel.com/
All errors (new ones prefixed by >>):
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnp/rnp_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_main.o: in function `.LANCHOR3':
rnpm_main.c:(.bss+0x110): multiple definition of `mpe_pkt_version'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.bss+0x60): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_main.o: in function `.LANCHOR3':
rnpm_main.c:(.bss+0x114): multiple definition of `mpe_src_port'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.bss+0x64): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_pcs.o:(.data.rel.local+0x0): multiple definition of `pcs_ops_generic'; drivers/net/ethernet/mucse/rnp/rnp_pcs.o:(.data.rel.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_ptp.o: in function `.LANCHOR1':
>> rnpm_ptp.c:(.data.rel.ro.local+0x0): multiple definition of `mac_ptp'; drivers/net/ethernet/mucse/rnp/rnp_ptp.o:rnp_ptp.c:(.data.rel.ro.local+0x0): first defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] arch/arm64/kernel/ipi_nmi.c:39:2: error: call to undeclared function '__printk_safe_enter'; ISO C99 and later do not support implicit function declarations
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Li,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 5e3e94b1477ca3f6cb47ae8137a4a99fe0ef6147 [1613/1613] arm64: Add non nmi ipi backtrace support
config: arm64-randconfig-003-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100446.uHjEIMnM-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100446.uHjEIMnM-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100446.uHjEIMnM-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm64/kernel/ipi_nmi.c:11:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2181:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kernel/ipi_nmi.c:39:2: error: call to undeclared function '__printk_safe_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
39 | __printk_safe_enter();
| ^
>> arch/arm64/kernel/ipi_nmi.c:41:2: error: call to undeclared function '__printk_safe_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
41 | __printk_safe_exit();
| ^
5 warnings and 2 errors generated.
vim +/__printk_safe_enter +39 arch/arm64/kernel/ipi_nmi.c
35
36 #ifdef CONFIG_NON_NMI_IPI_BACKTRACE
37 static void ipi_cpu_backtrace(void *info)
38 {
> 39 __printk_safe_enter();
40 nmi_cpu_backtrace(get_irq_regs());
> 41 __printk_safe_exit();
42 }
43
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] kernel/sched/isolation.c:134:53: error: 'setup_max_cpus' undeclared
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Oleg,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 54bee36be952f18f6a9e8303822459e89daaa336 [1613/1613] sched/isolation: Fix boot crash when maxcpus < first housekeeping CPU
config: x86_64-buildonly-randconfig-004-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100312.eJPOmnjW-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100312.eJPOmnjW-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100312.eJPOmnjW-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_utility.c:105:
kernel/sched/isolation.c: In function 'housekeeping_setup':
>> kernel/sched/isolation.c:134:53: error: 'setup_max_cpus' undeclared (first use in this function)
134 | if (first_cpu >= nr_cpu_ids || first_cpu >= setup_max_cpus) {
| ^~~~~~~~~~~~~~
kernel/sched/isolation.c:134:53: note: each undeclared identifier is reported only once for each function it appears in
vim +/setup_max_cpus +134 kernel/sched/isolation.c
108
109 static int __init housekeeping_setup(char *str, unsigned long flags)
110 {
111 cpumask_var_t non_housekeeping_mask, housekeeping_staging;
112 unsigned int first_cpu;
113 int err = 0;
114
115 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK)) {
116 if (!IS_ENABLED(CONFIG_NO_HZ_FULL)) {
117 pr_warn("Housekeeping: nohz unsupported."
118 " Build with CONFIG_NO_HZ_FULL\n");
119 return 0;
120 }
121 }
122
123 alloc_bootmem_cpumask_var(&non_housekeeping_mask);
124 if (cpulist_parse(str, non_housekeeping_mask) < 0) {
125 pr_warn("Housekeeping: nohz_full= or isolcpus= incorrect CPU range\n");
126 goto free_non_housekeeping_mask;
127 }
128
129 alloc_bootmem_cpumask_var(&housekeeping_staging);
130 cpumask_andnot(housekeeping_staging,
131 cpu_possible_mask, non_housekeeping_mask);
132
133 first_cpu = cpumask_first_and(cpu_present_mask, housekeeping_staging);
> 134 if (first_cpu >= nr_cpu_ids || first_cpu >= setup_max_cpus) {
135 __cpumask_set_cpu(smp_processor_id(), housekeeping_staging);
136 __cpumask_clear_cpu(smp_processor_id(), non_housekeeping_mask);
137 if (!housekeeping.flags) {
138 pr_warn("Housekeeping: must include one present CPU, "
139 "using boot CPU:%d\n", smp_processor_id());
140 }
141 }
142
143 if (cpumask_empty(non_housekeeping_mask))
144 goto free_housekeeping_staging;
145
146 if (!housekeeping.flags) {
147 /* First setup call ("nohz_full=" or "isolcpus=") */
148 enum hk_type type;
149
150 for_each_set_bit(type, &flags, HK_TYPE_MAX)
151 housekeeping_setup_type(type, housekeeping_staging);
152 } else {
153 /* Second setup call ("nohz_full=" after "isolcpus=" or the reverse) */
154 enum hk_type type;
155 unsigned long iter_flags = flags & housekeeping.flags;
156
157 for_each_set_bit(type, &iter_flags, HK_TYPE_MAX) {
158 if (!cpumask_equal(housekeeping_staging,
159 housekeeping.cpumasks[type])) {
160 pr_warn("Housekeeping: nohz_full= must match isolcpus=\n");
161 goto free_housekeeping_staging;
162 }
163 }
164
165 iter_flags = flags & ~housekeeping.flags;
166
167 for_each_set_bit(type, &iter_flags, HK_TYPE_MAX)
168 housekeeping_setup_type(type, housekeeping_staging);
169 }
170
171 if ((flags & HK_FLAG_TICK) && !(housekeeping.flags & HK_FLAG_TICK))
172 tick_nohz_full_setup(non_housekeeping_mask);
173
174 housekeeping.flags |= flags;
175 err = 1;
176
177 free_housekeeping_staging:
178 free_bootmem_cpumask_var(housekeeping_staging);
179 free_non_housekeeping_mask:
180 free_bootmem_cpumask_var(non_housekeeping_mask);
181
182 return err;
183 }
184
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1321/1321] drivers/md/dm-verity-verify-sig.o: warning: objtool: missing symbol for section .text
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: 193a981127632c7d4c26a0674881dea0c208640c [1321/1321] dm verity: add root hash pkcs#7 signature verification
config: x86_64-buildonly-randconfig-002-20241205 (https://download.01.org/0day-ci/archive/20241210/202412100348.mRc9n69R-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100348.mRc9n69R-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100348.mRc9n69R-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/md/dm-verity-verify-sig.c:8:
In file included from include/linux/device-mapper.h:12:
In file included from include/linux/blkdev.h:16:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
>> drivers/md/dm-verity-verify-sig.o: warning: objtool: missing symbol for section .text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2570/2570] kernel/workqueue.c:4821:5: error: implicit declaration of function 'printk_safe_enter'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Johan,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: fbaada49082c23aa4e4ed43386a1ad4a457a0354
commit: 3d01105a68b1318bdc3cef3bbcfcb544e2da856e [2570/2570] workqueue: fix state-dump console deadlock
config: x86_64-buildonly-randconfig-003-20241209 (https://download.01.org/0day-ci/archive/20241210/202412100301.fVrumCik-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100301.fVrumCik-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100301.fVrumCik-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/workqueue.c:40:
In file included from include/linux/mempolicy.h:11:
In file included from include/linux/dax.h:6:
In file included from include/linux/mm.h:1571:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> kernel/workqueue.c:4821:5: error: implicit declaration of function 'printk_safe_enter' [-Werror,-Wimplicit-function-declaration]
4821 | printk_safe_enter();
| ^
kernel/workqueue.c:4821:5: note: did you mean 'printk_nmi_enter'?
include/linux/printk.h:158:20: note: 'printk_nmi_enter' declared here
158 | static inline void printk_nmi_enter(void) { }
| ^
>> kernel/workqueue.c:4823:5: error: implicit declaration of function 'printk_safe_exit' [-Werror,-Wimplicit-function-declaration]
4823 | printk_safe_exit();
| ^
kernel/workqueue.c:4847:3: error: implicit declaration of function 'printk_safe_enter' [-Werror,-Wimplicit-function-declaration]
4847 | printk_safe_enter();
| ^
kernel/workqueue.c:4862:3: error: implicit declaration of function 'printk_safe_exit' [-Werror,-Wimplicit-function-declaration]
4862 | printk_safe_exit();
| ^
1 warning and 4 errors generated.
vim +/printk_safe_enter +4821 kernel/workqueue.c
4780
4781 /**
4782 * show_workqueue_state - dump workqueue state
4783 *
4784 * Called from a sysrq handler or try_to_freeze_tasks() and prints out
4785 * all busy workqueues and pools.
4786 */
4787 void show_workqueue_state(void)
4788 {
4789 struct workqueue_struct *wq;
4790 struct worker_pool *pool;
4791 unsigned long flags;
4792 int pi;
4793
4794 rcu_read_lock();
4795
4796 pr_info("Showing busy workqueues and worker pools:\n");
4797
4798 list_for_each_entry_rcu(wq, &workqueues, list) {
4799 struct pool_workqueue *pwq;
4800 bool idle = true;
4801
4802 for_each_pwq(pwq, wq) {
4803 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) {
4804 idle = false;
4805 break;
4806 }
4807 }
4808 if (idle)
4809 continue;
4810
4811 pr_info("workqueue %s: flags=0x%x\n", wq->name, wq->flags);
4812
4813 for_each_pwq(pwq, wq) {
4814 raw_spin_lock_irqsave(&pwq->pool->lock, flags);
4815 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) {
4816 /*
4817 * Defer printing to avoid deadlocks in console
4818 * drivers that queue work while holding locks
4819 * also taken in their write paths.
4820 */
> 4821 printk_safe_enter();
4822 show_pwq(pwq);
> 4823 printk_safe_exit();
4824 }
4825 raw_spin_unlock_irqrestore(&pwq->pool->lock, flags);
4826 /*
4827 * We could be printing a lot from atomic context, e.g.
4828 * sysrq-t -> show_workqueue_state(). Avoid triggering
4829 * hard lockup.
4830 */
4831 touch_nmi_watchdog();
4832 }
4833 }
4834
4835 for_each_pool(pool, pi) {
4836 struct worker *worker;
4837 bool first = true;
4838
4839 raw_spin_lock_irqsave(&pool->lock, flags);
4840 if (pool->nr_workers == pool->nr_idle)
4841 goto next_pool;
4842 /*
4843 * Defer printing to avoid deadlocks in console drivers that
4844 * queue work while holding locks also taken in their write
4845 * paths.
4846 */
4847 printk_safe_enter();
4848 pr_info("pool %d:", pool->id);
4849 pr_cont_pool_info(pool);
4850 pr_cont(" hung=%us workers=%d",
4851 jiffies_to_msecs(jiffies - pool->watchdog_ts) / 1000,
4852 pool->nr_workers);
4853 if (pool->manager)
4854 pr_cont(" manager: %d",
4855 task_pid_nr(pool->manager->task));
4856 list_for_each_entry(worker, &pool->idle_list, entry) {
4857 pr_cont(" %s%d", first ? "idle: " : "",
4858 task_pid_nr(worker->task));
4859 first = false;
4860 }
4861 pr_cont("\n");
4862 printk_safe_exit();
4863 next_pool:
4864 raw_spin_unlock_irqrestore(&pool->lock, flags);
4865 /*
4866 * We could be printing a lot from atomic context, e.g.
4867 * sysrq-t -> show_workqueue_state(). Avoid triggering
4868 * hard lockup.
4869 */
4870 touch_nmi_watchdog();
4871 }
4872
4873 rcu_read_unlock();
4874 }
4875
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] include/linux/suspend.h:36:60: error: expected ')' before numeric constant
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Jianmin,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 1f46f3a128f21c190281c72cad99267bcc177e34 [1613/1613] PCI: PM: fix pcie mrrs restoring
config: loongarch-randconfig-001-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100354.AFJ414Ch-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100354.AFJ414Ch-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100354.AFJ414Ch-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/pci/pci.c:35:
>> include/linux/suspend.h:36:60: error: expected ')' before numeric constant
36 | #define PM_SUSPEND_ON ((__force suspend_state_t) 0)
| ^
include/linux/suspend.h:341:34: note: in expansion of macro 'PM_SUSPEND_ON'
341 | #define pm_suspend_target_state (PM_SUSPEND_ON)
| ^~~~~~~~~~~~~
drivers/pci/pci.c:177:17: note: in expansion of macro 'pm_suspend_target_state'
177 | suspend_state_t pm_suspend_target_state;
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +36 include/linux/suspend.h
95d9ffbe01fb21d Rafael J. Wysocki 2007-10-18 35
95d9ffbe01fb21d Rafael J. Wysocki 2007-10-18 @36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0)
690cbb90a709c1b Rafael J. Wysocki 2017-08-10 37 #define PM_SUSPEND_TO_IDLE ((__force suspend_state_t) 1)
7e73c5ae6e7991a Zhang Rui 2013-02-06 38 #define PM_SUSPEND_STANDBY ((__force suspend_state_t) 2)
95d9ffbe01fb21d Rafael J. Wysocki 2007-10-18 39 #define PM_SUSPEND_MEM ((__force suspend_state_t) 3)
690cbb90a709c1b Rafael J. Wysocki 2017-08-10 40 #define PM_SUSPEND_MIN PM_SUSPEND_TO_IDLE
95d9ffbe01fb21d Rafael J. Wysocki 2007-10-18 41 #define PM_SUSPEND_MAX ((__force suspend_state_t) 4)
95d9ffbe01fb21d Rafael J. Wysocki 2007-10-18 42
:::::: The code at line 36 was first introduced by commit
:::::: 95d9ffbe01fb21d524c86bf77871255066bc6e55 PM: Move definition of struct pm_ops to suspend.h
:::::: TO: Rafael J. Wysocki <rjw(a)sisk.pl>
:::::: CC: Linus Torvalds <torvalds(a)woody.linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2570/2570] arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x0' in asm
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: fbaada49082c23aa4e4ed43386a1ad4a457a0354
commit: 78568d28ad62c586e32e3989de5354fcb014c09f [2570/2570] scripts: Fix issue of module signing with openssl 3.x
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20241210/202412100013.zF4K3d9s-lkp@…)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100013.zF4K3d9s-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100013.zF4K3d9s-lkp@intel.com/
All errors (new ones prefixed by >>):
| ^
7 warnings generated.
scripts/extract-cert.c:46:14: warning: 'ERR_get_error_line' is deprecated [-Wdeprecated-declarations]
46 | while ((e = ERR_get_error_line(&file, &line))) {
| ^
/usr/include/openssl/err.h:422:1: note: 'ERR_get_error_line' has been explicitly marked deprecated here
422 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/extract-cert.c:59:9: warning: 'ERR_get_error_line' is deprecated [-Wdeprecated-declarations]
59 | while (ERR_get_error_line(&file, &line)) {}
| ^
/usr/include/openssl/err.h:422:1: note: 'ERR_get_error_line' has been explicitly marked deprecated here
422 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/extract-cert.c:124:3: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations]
124 | ENGINE_load_builtin_engines();
| ^
/usr/include/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engines' has been explicitly marked deprecated here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/extract-cert.c:126:7: warning: 'ENGINE_by_id' is deprecated [-Wdeprecated-declarations]
126 | e = ENGINE_by_id("pkcs11");
| ^
/usr/include/openssl/engine.h:336:1: note: 'ENGINE_by_id' has been explicitly marked deprecated here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/extract-cert.c:128:7: warning: 'ENGINE_init' is deprecated [-Wdeprecated-declarations]
128 | if (ENGINE_init(e))
| ^
/usr/include/openssl/engine.h:620:1: note: 'ENGINE_init' has been explicitly marked deprecated here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/extract-cert.c:133:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated [-Wdeprecated-declarations]
133 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
| ^
/usr/include/openssl/engine.h:478:1: note: 'ENGINE_ctrl_cmd_string' has been explicitly marked deprecated here
478 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/extract-cert.c:134:3: warning: 'ENGINE_ctrl_cmd' is deprecated [-Wdeprecated-declarations]
134 | ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
| ^
/usr/include/openssl/engine.h:450:1: note: 'ENGINE_ctrl_cmd' has been explicitly marked deprecated here
450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
7 warnings generated.
In file included from kernel/bounds.c:10:
In file included from include/linux/page-flags.h:10:
In file included from include/linux/bug.h:5:
In file included from arch/arm64/include/asm/bug.h:26:
In file included from include/asm-generic/bug.h:20:
In file included from include/linux/kernel.h:12:
In file included from include/linux/bitops.h:29:
In file included from arch/arm64/include/asm/bitops.h:26:
In file included from include/asm-generic/bitops/atomic.h:5:
In file included from include/linux/atomic.h:7:
In file included from arch/arm64/include/asm/atomic.h:16:
In file included from arch/arm64/include/asm/cmpxchg.h:14:
In file included from arch/arm64/include/asm/lse.h:16:
>> arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x0' in asm
364 | __CMPXCHG_CASE(w, b, , 8, )
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
>> arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:347:25: note: expanded from macro '__CMPXCHG_CASE'
347 | register u##sz x1 asm ("x1") = old; \
| ^
>> arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/atomic_lse.h:348:25: note: expanded from macro '__CMPXCHG_CASE'
348 | register u##sz x2 asm ("x2") = new; \
| ^
arch/arm64/include/asm/atomic_lse.h:365:1: error: unknown register name 'x0' in asm
365 | __CMPXCHG_CASE(w, h, , 16, )
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
arch/arm64/include/asm/atomic_lse.h:365:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:347:25: note: expanded from macro '__CMPXCHG_CASE'
347 | register u##sz x1 asm ("x1") = old; \
| ^
arch/arm64/include/asm/atomic_lse.h:365:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/atomic_lse.h:348:25: note: expanded from macro '__CMPXCHG_CASE'
348 | register u##sz x2 asm ("x2") = new; \
| ^
arch/arm64/include/asm/atomic_lse.h:366:1: error: unknown register name 'x0' in asm
366 | __CMPXCHG_CASE(w, , , 32, )
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
arch/arm64/include/asm/atomic_lse.h:366:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:347:25: note: expanded from macro '__CMPXCHG_CASE'
347 | register u##sz x1 asm ("x1") = old; \
| ^
arch/arm64/include/asm/atomic_lse.h:366:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/atomic_lse.h:348:25: note: expanded from macro '__CMPXCHG_CASE'
348 | register u##sz x2 asm ("x2") = new; \
| ^
arch/arm64/include/asm/atomic_lse.h:367:1: error: unknown register name 'x0' in asm
367 | __CMPXCHG_CASE(x, , , 64, )
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
arch/arm64/include/asm/atomic_lse.h:367:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:347:25: note: expanded from macro '__CMPXCHG_CASE'
347 | register u##sz x1 asm ("x1") = old; \
| ^
arch/arm64/include/asm/atomic_lse.h:367:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/atomic_lse.h:348:25: note: expanded from macro '__CMPXCHG_CASE'
348 | register u##sz x2 asm ("x2") = new; \
| ^
arch/arm64/include/asm/atomic_lse.h:368:1: error: unknown register name 'x0' in asm
368 | __CMPXCHG_CASE(w, b, acq_, 8, a, "memory")
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
arch/arm64/include/asm/atomic_lse.h:368:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:347:25: note: expanded from macro '__CMPXCHG_CASE'
347 | register u##sz x1 asm ("x1") = old; \
| ^
arch/arm64/include/asm/atomic_lse.h:368:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/atomic_lse.h:348:25: note: expanded from macro '__CMPXCHG_CASE'
348 | register u##sz x2 asm ("x2") = new; \
| ^
arch/arm64/include/asm/atomic_lse.h:369:1: error: unknown register name 'x0' in asm
369 | __CMPXCHG_CASE(w, h, acq_, 16, a, "memory")
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
arch/arm64/include/asm/atomic_lse.h:369:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:347:25: note: expanded from macro '__CMPXCHG_CASE'
347 | register u##sz x1 asm ("x1") = old; \
| ^
arch/arm64/include/asm/atomic_lse.h:369:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/atomic_lse.h:348:25: note: expanded from macro '__CMPXCHG_CASE'
348 | register u##sz x2 asm ("x2") = new; \
| ^
arch/arm64/include/asm/atomic_lse.h:370:1: error: unknown register name 'x0' in asm
370 | __CMPXCHG_CASE(w, , acq_, 32, a, "memory")
| ^
arch/arm64/include/asm/atomic_lse.h:346:33: note: expanded from macro '__CMPXCHG_CASE'
346 | register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1238: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:187: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/x0 +364 arch/arm64/include/asm/atomic_lse.h
c0385b24af15020 Will Deacon 2015-02-03 339
5ef3fe4cecdf82f Will Deacon 2018-09-13 340 #define __CMPXCHG_CASE(w, sfx, name, sz, mb, cl...) \
a48e61de758c6b4 Will Deacon 2019-10-01 341 static __always_inline u##sz \
a48e61de758c6b4 Will Deacon 2019-10-01 342 __lse__cmpxchg_case_##name##sz(volatile void *ptr, \
b4f9209bfcd5964 Will Deacon 2018-09-13 343 u##sz old, \
5ef3fe4cecdf82f Will Deacon 2018-09-13 344 u##sz new) \
c342f78217e822d Will Deacon 2015-04-23 345 { \
c342f78217e822d Will Deacon 2015-04-23 @346 register unsigned long x0 asm ("x0") = (unsigned long)ptr; \
b4f9209bfcd5964 Will Deacon 2018-09-13 347 register u##sz x1 asm ("x1") = old; \
5ef3fe4cecdf82f Will Deacon 2018-09-13 348 register u##sz x2 asm ("x2") = new; \
3337cb5aea594e4 Andrew Murray 2019-08-28 349 unsigned long tmp; \
c342f78217e822d Will Deacon 2015-04-23 350 \
addfc38672c73ef Andrew Murray 2019-08-28 351 asm volatile( \
e0d5896bd356cd5 Sami Tolvanen 2019-10-31 352 __LSE_PREAMBLE \
3337cb5aea594e4 Andrew Murray 2019-08-28 353 " mov %" #w "[tmp], %" #w "[old]\n" \
3337cb5aea594e4 Andrew Murray 2019-08-28 354 " cas" #mb #sfx "\t%" #w "[tmp], %" #w "[new], %[v]\n" \
3337cb5aea594e4 Andrew Murray 2019-08-28 355 " mov %" #w "[ret], %" #w "[tmp]" \
3337cb5aea594e4 Andrew Murray 2019-08-28 356 : [ret] "+r" (x0), [v] "+Q" (*(unsigned long *)ptr), \
3337cb5aea594e4 Andrew Murray 2019-08-28 357 [tmp] "=&r" (tmp) \
c342f78217e822d Will Deacon 2015-04-23 358 : [old] "r" (x1), [new] "r" (x2) \
3337cb5aea594e4 Andrew Murray 2019-08-28 359 : cl); \
c342f78217e822d Will Deacon 2015-04-23 360 \
c342f78217e822d Will Deacon 2015-04-23 361 return x0; \
c342f78217e822d Will Deacon 2015-04-23 362 }
c342f78217e822d Will Deacon 2015-04-23 363
5ef3fe4cecdf82f Will Deacon 2018-09-13 @364 __CMPXCHG_CASE(w, b, , 8, )
5ef3fe4cecdf82f Will Deacon 2018-09-13 365 __CMPXCHG_CASE(w, h, , 16, )
5ef3fe4cecdf82f Will Deacon 2018-09-13 366 __CMPXCHG_CASE(w, , , 32, )
5ef3fe4cecdf82f Will Deacon 2018-09-13 367 __CMPXCHG_CASE(x, , , 64, )
5ef3fe4cecdf82f Will Deacon 2018-09-13 368 __CMPXCHG_CASE(w, b, acq_, 8, a, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 369 __CMPXCHG_CASE(w, h, acq_, 16, a, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 370 __CMPXCHG_CASE(w, , acq_, 32, a, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 371 __CMPXCHG_CASE(x, , acq_, 64, a, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 372 __CMPXCHG_CASE(w, b, rel_, 8, l, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 373 __CMPXCHG_CASE(w, h, rel_, 16, l, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 374 __CMPXCHG_CASE(w, , rel_, 32, l, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 375 __CMPXCHG_CASE(x, , rel_, 64, l, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 376 __CMPXCHG_CASE(w, b, mb_, 8, al, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 377 __CMPXCHG_CASE(w, h, mb_, 16, al, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 378 __CMPXCHG_CASE(w, , mb_, 32, al, "memory")
5ef3fe4cecdf82f Will Deacon 2018-09-13 379 __CMPXCHG_CASE(x, , mb_, 64, al, "memory")
c342f78217e822d Will Deacon 2015-04-23 380
:::::: The code at line 364 was first introduced by commit
:::::: 5ef3fe4cecdf82fdd71ce78988403963d01444d4 arm64: Avoid redundant type conversions in xchg() and cmpxchg()
:::::: TO: Will Deacon <will.deacon(a)arm.com>
:::::: CC: Will Deacon <will.deacon(a)arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1610/1610] kismet: WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC when selected by X86
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 362f33cba6a04a09bcfc47ade55ace95e8a51c5b [1610/1610] ACPI: Add _OSC bits to advertise OS support for toggling CPU present/enabled
config: x86_64-kismet-CONFIG_ACPI_HOTPLUG_IGNORE_OSC-CONFIG_X86-0-0 (https://download.01.org/0day-ci/archive/20241210/202412100011.1MOBC26l-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20241210/202412100011.1MOBC26l-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412100011.1MOBC26l-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC when selected by X86
WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC
Depends on [n]: ACPI [=y] && ACPI_HOTPLUG_PRESENT_CPU [=n]
Selected by [y]:
- X86 [=y] && ACPI [=y] && HOTPLUG_CPU [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2570/2570] arch/arm64/include/asm/stack_pointer.h:8:51: error: register 'sp' unsuitable for global register variables on this target
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: fbaada49082c23aa4e4ed43386a1ad4a457a0354
commit: 78568d28ad62c586e32e3989de5354fcb014c09f [2570/2570] scripts: Fix issue of module signing with openssl 3.x
config: arm64-randconfig-003-20241209 (https://download.01.org/0day-ci/archive/20241209/202412092317.DIsy2Dp4-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241209/202412092317.DIsy2Dp4-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412092317.DIsy2Dp4-lkp@intel.com/
All errors (new ones prefixed by >>):
/usr/include/openssl/err.h:422:1: note: 'ERR_get_error_line' has been explicitly marked deprecated here
422 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/sign-file.c:102:9: warning: 'ERR_get_error_line' is deprecated [-Wdeprecated-declarations]
102 | while (ERR_get_error_line(&file, &line)) {}
| ^
/usr/include/openssl/err.h:422:1: note: 'ERR_get_error_line' has been explicitly marked deprecated here
422 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/sign-file.c:142:3: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations]
142 | ENGINE_load_builtin_engines();
| ^
/usr/include/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engines' has been explicitly marked deprecated here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/sign-file.c:144:7: warning: 'ENGINE_by_id' is deprecated [-Wdeprecated-declarations]
144 | e = ENGINE_by_id("pkcs11");
| ^
/usr/include/openssl/engine.h:336:1: note: 'ENGINE_by_id' has been explicitly marked deprecated here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/sign-file.c:146:7: warning: 'ENGINE_init' is deprecated [-Wdeprecated-declarations]
146 | if (ENGINE_init(e))
| ^
/usr/include/openssl/engine.h:620:1: note: 'ENGINE_init' has been explicitly marked deprecated here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/sign-file.c:151:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated [-Wdeprecated-declarations]
151 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0),
| ^
/usr/include/openssl/engine.h:478:1: note: 'ENGINE_ctrl_cmd_string' has been explicitly marked deprecated here
478 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
scripts/sign-file.c:153:17: warning: 'ENGINE_load_private_key' is deprecated [-Wdeprecated-declarations]
153 | private_key = ENGINE_load_private_key(e, private_key_name,
| ^
/usr/include/openssl/engine.h:637:1: note: 'ENGINE_load_private_key' has been explicitly marked deprecated here
637 | OSSL_DEPRECATEDIN_3_0
| ^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
| ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
| ^
7 warnings generated.
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:17:
In file included from include/linux/lockdep.h:14:
In file included from include/linux/smp.h:102:
In file included from include/linux/preempt.h:78:
In file included from arch/arm64/include/asm/preempt.h:5:
In file included from include/linux/thread_info.h:14:
In file included from include/linux/thread_bits.h:32:
In file included from arch/arm64/include/asm/thread_info.h:18:
>> arch/arm64/include/asm/stack_pointer.h:8:51: error: register 'sp' unsuitable for global register variables on this target
8 | register unsigned long current_stack_pointer asm ("sp");
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
20 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_VERSION, &res);
| ^
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:369:33: note: expanded from macro '__arm_smccc_1_1'
369 | register unsigned long r0 asm("r0"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:370:33: note: expanded from macro '__arm_smccc_1_1'
370 | register unsigned long r1 asm("r1"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:371:33: note: expanded from macro '__arm_smccc_1_1'
371 | register unsigned long r2 asm("r2"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:372:33: note: expanded from macro '__arm_smccc_1_1'
372 | register unsigned long r3 asm("r3"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:373:3: note: expanded from macro '__arm_smccc_1_1'
373 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
| ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/arm-smccc.h:354:37: note: expanded from macro '___declare_args'
354 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:114:1: note: expanded from here
114 | __declare_arg_0
| ^
include/linux/arm-smccc.h:308:34: note: expanded from macro '__declare_arg_0'
308 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:377:9: note: expanded from macro '__arm_smccc_1_1'
377 | __constraints(__count_args(__VA_ARGS__))); \
| ^
include/linux/arm-smccc.h:360:30: note: expanded from macro '__constraints'
360 | #define __constraints(count) ___constraints(count)
| ^
include/linux/arm-smccc.h:359:4: note: expanded from macro '___constraints'
359 | : smccc_sve_clobbers "memory"
| ^
include/linux/arm-smccc.h:283:28: note: expanded from macro 'smccc_sve_clobbers'
283 | #define smccc_sve_clobbers "x16", "x30", "cc",
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:369:33: note: expanded from macro '__arm_smccc_1_1'
369 | register unsigned long r0 asm("r0"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:370:33: note: expanded from macro '__arm_smccc_1_1'
370 | register unsigned long r1 asm("r1"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:371:33: note: expanded from macro '__arm_smccc_1_1'
371 | register unsigned long r2 asm("r2"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:372:33: note: expanded from macro '__arm_smccc_1_1'
372 | register unsigned long r3 asm("r3"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:373:3: note: expanded from macro '__arm_smccc_1_1'
373 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
| ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/arm-smccc.h:354:37: note: expanded from macro '___declare_args'
354 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:122:1: note: expanded from here
122 | __declare_arg_0
| ^
include/linux/arm-smccc.h:308:34: note: expanded from macro '__declare_arg_0'
308 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
include/linux/arm-smccc.h:449:4: note: expanded from macro 'arm_smccc_1_1_invoke'
449 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:32: note: expanded from macro 'arm_smccc_1_1_smc'
396 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:377:9: note: expanded from macro '__arm_smccc_1_1'
377 | __constraints(__count_args(__VA_ARGS__))); \
| ^
include/linux/arm-smccc.h:360:30: note: expanded from macro '__constraints'
360 | #define __constraints(count) ___constraints(count)
| ^
include/linux/arm-smccc.h:359:4: note: expanded from macro '___constraints'
359 | : smccc_sve_clobbers "memory"
| ^
include/linux/arm-smccc.h:283:28: note: expanded from macro 'smccc_sve_clobbers'
283 | #define smccc_sve_clobbers "x16", "x30", "cc",
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:452:4: note: expanded from macro 'arm_smccc_1_1_invoke'
452 | __fail_smccc_1_1(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:421:3: note: expanded from macro '__fail_smccc_1_1'
421 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
| ^
include/linux/arm-smccc.h:355:37: note: expanded from macro '__declare_args'
355 | #define __declare_args(count, ...) ___declare_args(count, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:354:37: note: expanded from macro '___declare_args'
354 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:130:1: note: expanded from here
130 | __declare_arg_0
| ^
include/linux/arm-smccc.h:308:34: note: expanded from macro '__declare_arg_0'
308 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
include/linux/arm-smccc.h:452:4: note: expanded from macro 'arm_smccc_1_1_invoke'
452 | __fail_smccc_1_1(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:422:13: note: expanded from macro '__fail_smccc_1_1'
422 | asm ("" : __constraints(__count_args(__VA_ARGS__))); \
| ^
include/linux/arm-smccc.h:360:30: note: expanded from macro '__constraints'
360 | #define __constraints(count) ___constraints(count)
| ^
include/linux/arm-smccc.h:359:4: note: expanded from macro '___constraints'
359 | : smccc_sve_clobbers "memory"
| ^
include/linux/arm-smccc.h:283:28: note: expanded from macro 'smccc_sve_clobbers'
283 | #define smccc_sve_clobbers "x16", "x30", "cc",
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r0' in asm
66 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND64, 64, &res);
| ^
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:369:33: note: expanded from macro '__arm_smccc_1_1'
369 | register unsigned long r0 asm("r0"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:370:33: note: expanded from macro '__arm_smccc_1_1'
370 | register unsigned long r1 asm("r1"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:446:4: note: expanded from macro 'arm_smccc_1_1_invoke'
446 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:412:32: note: expanded from macro 'arm_smccc_1_1_hvc'
412 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:371:33: note: expanded from macro '__arm_smccc_1_1'
371 | register unsigned long r2 asm("r2"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
vim +/sp +8 arch/arm64/include/asm/stack_pointer.h
a9ea0017ebe8889 Mark Rutland 2016-11-03 4
a9ea0017ebe8889 Mark Rutland 2016-11-03 5 /*
a9ea0017ebe8889 Mark Rutland 2016-11-03 6 * how to get the current stack pointer from C
a9ea0017ebe8889 Mark Rutland 2016-11-03 7 */
a9ea0017ebe8889 Mark Rutland 2016-11-03 @8 register unsigned long current_stack_pointer asm ("sp");
a9ea0017ebe8889 Mark Rutland 2016-11-03 9
:::::: The code at line 8 was first introduced by commit
:::::: a9ea0017ebe8889dfa136cac2aa7ae0ee6915e1f arm64: factor out current_stack_pointer
:::::: TO: Mark Rutland <mark.rutland(a)arm.com>
:::::: CC: Catalin Marinas <catalin.marinas(a)arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

09 Dec '24
From: Krzysztof Kozlowski <krzysztof.kozlowski(a)linaro.org>
mainline inclusion
from mainline-v6.12-rc1
commit 15a62b81175885b5adfcaf49870466e3603f06c7
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBA2U1
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
---------------------------------------------------------
Driver code is leaking OF node reference from of_find_matching_node() in
probe().
Fixes: ccea5e8a5918 ("bus: Add driver for Integrator/AP logic modules")
Cc: stable(a)vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski(a)linaro.org>
Acked-by: Liviu Dudau <liviu.dudau(a)arm.com>
Link: https://lore.kernel.org/20240826054934.10724-2-krzysztof.kozlowski@linaro.o…
Signed-off-by: Linus Walleij <linus.walleij(a)linaro.org>
Signed-off-by: Zhang Zekun <zhangzekun11(a)huawei.com>
---
drivers/bus/arm-integrator-lm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bus/arm-integrator-lm.c b/drivers/bus/arm-integrator-lm.c
index 2344d560b144..ab5fad8aaa99 100644
--- a/drivers/bus/arm-integrator-lm.c
+++ b/drivers/bus/arm-integrator-lm.c
@@ -85,6 +85,7 @@ static int integrator_ap_lm_probe(struct platform_device *pdev)
return -ENODEV;
}
map = syscon_node_to_regmap(syscon);
+ of_node_put(syscon);
if (IS_ERR(map)) {
dev_err(dev,
"could not find Integrator/AP system controller\n");
--
2.22.0
2
1

[PATCH OLK-6.6] sched: Optimize the latency of select_task_rq and pick_next_task.
by He Yujie 09 Dec '24
by He Yujie 09 Dec '24
09 Dec '24
hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBA1PI
--------------------------------
Reducing the select_task_rq run time by Checking the enable status of
dynamic affinity before attempting to hold rcu_lock and deleting the
enable check int dynamic_affinity_mode function.
Inline functions are used to reduce the execution time of pick_next_time
functions.
Fixes: 6eb07f9925a9 ("sched: Introduce smart grid scheduling strategy for cfs")
Signed-off-by: He Yujie <coka.heyujie(a)huawei.com>
---
kernel/sched/fair.c | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index f1cd57e70f1f..88ff8783978b 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6844,9 +6844,6 @@ static inline struct cpumask *task_prefer_cpus(struct task_struct *p)
static inline int dynamic_affinity_mode(struct task_struct *p)
{
- if (!prefer_cpus_valid(p))
- return -1;
-
if (smart_grid_used())
return task_group(p)->auto_affinity->mode == 0 ? -1 : 1;
@@ -7307,9 +7304,6 @@ static inline struct cpumask *task_prefer_cpus(struct task_struct *p)
static inline int dynamic_affinity_mode(struct task_struct *p)
{
- if (!prefer_cpus_valid(p))
- return -1;
-
return 0;
}
#endif /* CONFIG_QOS_SCHED_DYNAMIC_AFFINITY */
@@ -9038,6 +9032,9 @@ static void set_task_select_cpus(struct task_struct *p, int *idlest_cpu,
int cpu, mode;
p->select_cpus = p->cpus_ptr;
+ if (!prefer_cpus_valid(p))
+ return;
+
rcu_read_lock();
mode = dynamic_affinity_mode(p);
if (mode == -1) {
@@ -9721,7 +9718,7 @@ static int __init qos_sched_smt_noexpell_setup(char *__unused)
}
__setup("nosmtexpell", qos_sched_smt_noexpell_setup);
-static bool qos_smt_check_siblings_status(int this_cpu)
+static __always_inline bool qos_smt_check_siblings_status(int this_cpu)
{
int cpu;
--
2.34.1
2
1

[openeuler:OLK-6.6 1609/1609] arch/x86/kvm/svm/sev.c:2198:6: warning: no previous prototype for function 'sev_install_hooks'
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 31c4fffa86e17e8a946c944e91e7412db7f8427b
commit: 0f13b8634792cff1f2fb18bf35e5a24d7a8cbf8e [1609/1609] KVM: x86: Support VM_ATTESTATION hypercall
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241209/202412091737.uk2gKO2t-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241209/202412091737.uk2gKO2t-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412091737.uk2gKO2t-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kvm/svm/sev.c:12:
In file included from include/linux/kvm_host.h:16:
In file included from include/linux/mm.h:2234:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kvm/svm/sev.c:2198:6: warning: no previous prototype for function 'sev_install_hooks' [-Wmissing-prototypes]
2198 | void sev_install_hooks(void)
| ^
arch/x86/kvm/svm/sev.c:2198:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2198 | void sev_install_hooks(void)
| ^
| static
6 warnings generated.
--
In file included from arch/x86/kvm/svm/csv.c:10:
In file included from include/linux/kvm_host.h:16:
In file included from include/linux/mm.h:2234:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kvm/svm/csv.c:30:5: warning: no previous prototype for function 'csv_vm_attestation' [-Wmissing-prototypes]
30 | int csv_vm_attestation(struct kvm *kvm, unsigned long gpa, unsigned long len)
| ^
arch/x86/kvm/svm/csv.c:30:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
30 | int csv_vm_attestation(struct kvm *kvm, unsigned long gpa, unsigned long len)
| ^
| static
6 warnings generated.
vim +/sev_install_hooks +2198 arch/x86/kvm/svm/sev.c
2195
2196 #ifdef CONFIG_HYGON_CSV
2197 /* Code to set all of the function and vaiable pointers */
> 2198 void sev_install_hooks(void)
2199 {
2200 hygon_kvm_hooks.sev_issue_cmd = sev_issue_cmd;
2201 hygon_kvm_hooks.get_num_contig_pages = get_num_contig_pages;
2202 hygon_kvm_hooks.sev_pin_memory = sev_pin_memory;
2203 hygon_kvm_hooks.sev_unpin_memory = sev_unpin_memory;
2204
2205 hygon_kvm_hooks.sev_hooks_installed = true;
2206 }
2207 #endif
2208
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-22.03-LTS-SP1] media: cx24116: prevent overflows on SNR calculus
by Li Nan 09 Dec '24
by Li Nan 09 Dec '24
09 Dec '24
From: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
stable inclusion
from stable-v5.10.230
commit 828047c70f4716fde4b1316f7b610e97a4e83824
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB5AVY
CVE: CVE-2024-50290
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit 576a307a7650bd544fbb24df801b9b7863b85e2f upstream.
as reported by Coverity, if reading SNR registers fail, a negative
number will be returned, causing an underflow when reading SNR
registers.
Prevent that.
Fixes: 8953db793d5b ("V4L/DVB (9178): cx24116: Add module parameter to return SNR as ESNO.")
Cc: stable(a)vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Li Nan <linan122(a)huawei.com>
---
drivers/media/dvb-frontends/cx24116.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/media/dvb-frontends/cx24116.c b/drivers/media/dvb-frontends/cx24116.c
index ea8264ccbb4e..191645a86550 100644
--- a/drivers/media/dvb-frontends/cx24116.c
+++ b/drivers/media/dvb-frontends/cx24116.c
@@ -741,6 +741,7 @@ static int cx24116_read_snr_pct(struct dvb_frontend *fe, u16 *snr)
{
struct cx24116_state *state = fe->demodulator_priv;
u8 snr_reading;
+ int ret;
static const u32 snr_tab[] = { /* 10 x Table (rounded up) */
0x00000, 0x0199A, 0x03333, 0x04ccD, 0x06667,
0x08000, 0x0999A, 0x0b333, 0x0cccD, 0x0e667,
@@ -749,7 +750,11 @@ static int cx24116_read_snr_pct(struct dvb_frontend *fe, u16 *snr)
dprintk("%s()\n", __func__);
- snr_reading = cx24116_readreg(state, CX24116_REG_QUALITY0);
+ ret = cx24116_readreg(state, CX24116_REG_QUALITY0);
+ if (ret < 0)
+ return ret;
+
+ snr_reading = ret;
if (snr_reading >= 0xa0 /* 100% */)
*snr = 0xffff;
--
2.39.2
2
1
From: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
stable inclusion
from stable-v5.10.230
commit 828047c70f4716fde4b1316f7b610e97a4e83824
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB5AVY
CVE: CVE-2024-50290
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit 576a307a7650bd544fbb24df801b9b7863b85e2f upstream.
as reported by Coverity, if reading SNR registers fail, a negative
number will be returned, causing an underflow when reading SNR
registers.
Prevent that.
Fixes: 8953db793d5b ("V4L/DVB (9178): cx24116: Add module parameter to return SNR as ESNO.")
Cc: stable(a)vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei(a)kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Li Nan <linan122(a)huawei.com>
---
drivers/media/dvb-frontends/cx24116.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/media/dvb-frontends/cx24116.c b/drivers/media/dvb-frontends/cx24116.c
index ea8264ccbb4e..191645a86550 100644
--- a/drivers/media/dvb-frontends/cx24116.c
+++ b/drivers/media/dvb-frontends/cx24116.c
@@ -741,6 +741,7 @@ static int cx24116_read_snr_pct(struct dvb_frontend *fe, u16 *snr)
{
struct cx24116_state *state = fe->demodulator_priv;
u8 snr_reading;
+ int ret;
static const u32 snr_tab[] = { /* 10 x Table (rounded up) */
0x00000, 0x0199A, 0x03333, 0x04ccD, 0x06667,
0x08000, 0x0999A, 0x0b333, 0x0cccD, 0x0e667,
@@ -749,7 +750,11 @@ static int cx24116_read_snr_pct(struct dvb_frontend *fe, u16 *snr)
dprintk("%s()\n", __func__);
- snr_reading = cx24116_readreg(state, CX24116_REG_QUALITY0);
+ ret = cx24116_readreg(state, CX24116_REG_QUALITY0);
+ if (ret < 0)
+ return ret;
+
+ snr_reading = ret;
if (snr_reading >= 0xa0 /* 100% */)
*snr = 0xffff;
--
2.39.2
2
1

09 Dec '24
From: David Gow <davidgow(a)google.com>
stable inclusion
from stable-v5.10.227
commit 52f7cab2903959316c907441100adef85eba88a7
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB8I85
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit 69b50d4351ed924f29e3d46b159e28f70dfc707f upstream.
The generic mmap_base code tries to leave a gap between the top of the
stack and the mmap base address, but enforces a minimum gap size (MIN_GAP)
of 128MB, which is too large on some setups. In particular, on arm tasks
without ADDR_LIMIT_32BIT, the STACK_TOP value is less than 128MB, so it's
impossible to fit such a gap in.
Only enforce this minimum if MIN_GAP < MAX_GAP, as we'd prefer to honour
MAX_GAP, which is defined proportionally, so scales better and always
leaves us with both _some_ stack space and some room for mmap.
This fixes the usercopy KUnit test suite on 32-bit arm, as it doesn't set
any personality flags so gets the default (in this case 26-bit) task size.
This test can be run with: ./tools/testing/kunit/kunit.py run --arch arm
usercopy --make_options LLVM=1
Link: https://lkml.kernel.org/r/20240803074642.1849623-2-davidgow@google.com
Fixes: dba79c3df4a2 ("arm: use generic mmap top-down layout and brk randomization")
Signed-off-by: David Gow <davidgow(a)google.com>
Reviewed-by: Kees Cook <kees(a)kernel.org>
Cc: Alexandre Ghiti <alex(a)ghiti.fr>
Cc: Linus Walleij <linus.walleij(a)linaro.org>
Cc: Luis Chamberlain <mcgrof(a)kernel.org>
Cc: Mark Rutland <mark.rutland(a)arm.com>
Cc: Russell King <linux(a)armlinux.org.uk>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Liu Shixin <liushixin2(a)huawei.com>
---
mm/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/util.c b/mm/util.c
index 63d510d39c47..b2e0ae3c65aa 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -420,7 +420,7 @@ static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack)
if (gap + pad > gap)
gap += pad;
- if (gap < MIN_GAP)
+ if (gap < MIN_GAP && MIN_GAP < MAX_GAP)
gap = MIN_GAP;
else if (gap > MAX_GAP)
gap = MAX_GAP;
--
2.34.1
2
1

09 Dec '24
Return early if ctx is NULL for dup_userfaultfd() or if anon_vma is NULL
for anon_vma_fork().
Jinjie Ruan (2):
fork: Return early if ctx is NULL for dup_userfaultfd()
fork: Return early if anon_vma is NULL for anon_vma_fork()
fs/userfaultfd.c | 2 --
kernel/fork.c | 17 ++++++++++++-----
mm/rmap.c | 4 ----
3 files changed, 12 insertions(+), 11 deletions(-)
--
2.34.1
2
3
From: Eduard Zingerman <eddyz87(a)gmail.com>
mainline inclusion
from mainline-v6.12-rc4
commit e9bd9c498cb0f5843996dbe5cbce7a1836a83c70
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB9533
CVE: CVE-2024-53125
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Range propagation must not affect subreg_def marks, otherwise the
following example is rewritten by verifier incorrectly when
BPF_F_TEST_RND_HI32 flag is set:
0: call bpf_ktime_get_ns call bpf_ktime_get_ns
1: r0 &= 0x7fffffff after verifier r0 &= 0x7fffffff
2: w1 = w0 rewrites w1 = w0
3: if w0 < 10 goto +0 --------------> r11 = 0x2f5674a6 (r)
4: r1 >>= 32 r11 <<= 32 (r)
5: r0 = r1 r1 |= r11 (r)
6: exit; if w0 < 0xa goto pc+0
r1 >>= 32
r0 = r1
exit
(or zero extension of w1 at (2) is missing for architectures that
require zero extension for upper register half).
The following happens w/o this patch:
- r0 is marked as not a subreg at (0);
- w1 is marked as subreg at (2);
- w1 subreg_def is overridden at (3) by copy_register_state();
- w1 is read at (5) but mark_insn_zext() does not mark (2)
for zero extension, because w1 subreg_def is not set;
- because of BPF_F_TEST_RND_HI32 flag verifier inserts random
value for hi32 bits of (2) (marked (r));
- this random value is read at (5).
Fixes: 75748837b7e5 ("bpf: Propagate scalar ranges through register assignments.")
Reported-by: Lonial Con <kongln9170(a)gmail.com>
Signed-off-by: Lonial Con <kongln9170(a)gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87(a)gmail.com>
Signed-off-by: Andrii Nakryiko <andrii(a)kernel.org>
Signed-off-by: Daniel Borkmann <daniel(a)iogearbox.net>
Acked-by: Daniel Borkmann <daniel(a)iogearbox.net>
Closes: https://lore.kernel.org/bpf/7e2aa30a62d740db182c170fdd8f81c596df280d.camel@…
Link: https://lore.kernel.org/bpf/20240924210844.1758441-1-eddyz87@gmail.com
Conflicts:
kernel/bpf/verifier.c
[The conflicts were due to not merge commit 98d7ca374ba4 and 4bf79f9be434e]
Signed-off-by: Pu Lehui <pulehui(a)huawei.com>
---
kernel/bpf/verifier.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 4e3f3ce2abdd..8fa7b37152c0 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -14551,8 +14551,12 @@ static void find_equal_scalars(struct bpf_verifier_state *vstate,
struct bpf_reg_state *reg;
bpf_for_each_reg_in_vstate(vstate, state, reg, ({
- if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
+ if (reg->type == SCALAR_VALUE && reg->id == known_reg->id) {
+ s32 saved_subreg_def = reg->subreg_def;
+
copy_register_state(reg, known_reg);
+ reg->subreg_def = saved_subreg_def;
+ }
}));
}
--
2.34.1
2
1
From: Eduard Zingerman <eddyz87(a)gmail.com>
mainline inclusion
from mainline-v6.12-rc4
commit e9bd9c498cb0f5843996dbe5cbce7a1836a83c70
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB9533
CVE: CVE-2024-53125
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Range propagation must not affect subreg_def marks, otherwise the
following example is rewritten by verifier incorrectly when
BPF_F_TEST_RND_HI32 flag is set:
0: call bpf_ktime_get_ns call bpf_ktime_get_ns
1: r0 &= 0x7fffffff after verifier r0 &= 0x7fffffff
2: w1 = w0 rewrites w1 = w0
3: if w0 < 10 goto +0 --------------> r11 = 0x2f5674a6 (r)
4: r1 >>= 32 r11 <<= 32 (r)
5: r0 = r1 r1 |= r11 (r)
6: exit; if w0 < 0xa goto pc+0
r1 >>= 32
r0 = r1
exit
(or zero extension of w1 at (2) is missing for architectures that
require zero extension for upper register half).
The following happens w/o this patch:
- r0 is marked as not a subreg at (0);
- w1 is marked as subreg at (2);
- w1 subreg_def is overridden at (3) by copy_register_state();
- w1 is read at (5) but mark_insn_zext() does not mark (2)
for zero extension, because w1 subreg_def is not set;
- because of BPF_F_TEST_RND_HI32 flag verifier inserts random
value for hi32 bits of (2) (marked (r));
- this random value is read at (5).
Fixes: 75748837b7e5 ("bpf: Propagate scalar ranges through register assignments.")
Reported-by: Lonial Con <kongln9170(a)gmail.com>
Signed-off-by: Lonial Con <kongln9170(a)gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87(a)gmail.com>
Signed-off-by: Andrii Nakryiko <andrii(a)kernel.org>
Signed-off-by: Daniel Borkmann <daniel(a)iogearbox.net>
Acked-by: Daniel Borkmann <daniel(a)iogearbox.net>
Closes: https://lore.kernel.org/bpf/7e2aa30a62d740db182c170fdd8f81c596df280d.camel@…
Link: https://lore.kernel.org/bpf/20240924210844.1758441-1-eddyz87@gmail.com
Conflicts:
kernel/bpf/verifier.c
[The conflicts were due to not merge commit 98d7ca374ba4 and 4bf79f9be434e]
Signed-off-by: Pu Lehui <pulehui(a)huawei.com>
---
kernel/bpf/verifier.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index 46ae1861d385..642746168b33 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -8394,8 +8394,12 @@ static void find_equal_scalars(struct bpf_verifier_state *vstate,
struct bpf_reg_state *reg;
bpf_for_each_reg_in_vstate(vstate, state, reg, ({
- if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
+ if (reg->type == SCALAR_VALUE && reg->id == known_reg->id) {
+ s32 saved_subreg_def = reg->subreg_def;
+
copy_register_state(reg, known_reg);
+ reg->subreg_def = saved_subreg_def;
+ }
}));
}
--
2.34.1
2
1

[PATCH openEuler-22.03-LTS-SP1] bpf: sync_linked_regs() must preserve subreg_def
by Pu Lehui 09 Dec '24
by Pu Lehui 09 Dec '24
09 Dec '24
From: Eduard Zingerman <eddyz87(a)gmail.com>
mainline inclusion
from mainline-v6.12-rc4
commit e9bd9c498cb0f5843996dbe5cbce7a1836a83c70
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB9533
CVE: CVE-2024-53125
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
Range propagation must not affect subreg_def marks, otherwise the
following example is rewritten by verifier incorrectly when
BPF_F_TEST_RND_HI32 flag is set:
0: call bpf_ktime_get_ns call bpf_ktime_get_ns
1: r0 &= 0x7fffffff after verifier r0 &= 0x7fffffff
2: w1 = w0 rewrites w1 = w0
3: if w0 < 10 goto +0 --------------> r11 = 0x2f5674a6 (r)
4: r1 >>= 32 r11 <<= 32 (r)
5: r0 = r1 r1 |= r11 (r)
6: exit; if w0 < 0xa goto pc+0
r1 >>= 32
r0 = r1
exit
(or zero extension of w1 at (2) is missing for architectures that
require zero extension for upper register half).
The following happens w/o this patch:
- r0 is marked as not a subreg at (0);
- w1 is marked as subreg at (2);
- w1 subreg_def is overridden at (3) by copy_register_state();
- w1 is read at (5) but mark_insn_zext() does not mark (2)
for zero extension, because w1 subreg_def is not set;
- because of BPF_F_TEST_RND_HI32 flag verifier inserts random
value for hi32 bits of (2) (marked (r));
- this random value is read at (5).
Fixes: 75748837b7e5 ("bpf: Propagate scalar ranges through register assignments.")
Reported-by: Lonial Con <kongln9170(a)gmail.com>
Signed-off-by: Lonial Con <kongln9170(a)gmail.com>
Signed-off-by: Eduard Zingerman <eddyz87(a)gmail.com>
Signed-off-by: Andrii Nakryiko <andrii(a)kernel.org>
Signed-off-by: Daniel Borkmann <daniel(a)iogearbox.net>
Acked-by: Daniel Borkmann <daniel(a)iogearbox.net>
Closes: https://lore.kernel.org/bpf/7e2aa30a62d740db182c170fdd8f81c596df280d.camel@…
Link: https://lore.kernel.org/bpf/20240924210844.1758441-1-eddyz87@gmail.com
Conflicts:
kernel/bpf/verifier.c
[The conflicts were due to not merge commit 98d7ca374ba4 and 4bf79f9be434e]
Signed-off-by: Pu Lehui <pulehui(a)huawei.com>
---
kernel/bpf/verifier.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c
index c1a03ab632bb..91c33601021d 100644
--- a/kernel/bpf/verifier.c
+++ b/kernel/bpf/verifier.c
@@ -8010,15 +8010,23 @@ static void find_equal_scalars(struct bpf_verifier_state *vstate,
state = vstate->frame[i];
for (j = 0; j < MAX_BPF_REG; j++) {
reg = &state->regs[j];
- if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
+ if (reg->type == SCALAR_VALUE && reg->id == known_reg->id) {
+ s32 saved_subreg_def = reg->subreg_def;
+
*reg = *known_reg;
+ reg->subreg_def = saved_subreg_def;
+ }
}
bpf_for_each_spilled_reg(j, state, reg) {
if (!reg)
continue;
- if (reg->type == SCALAR_VALUE && reg->id == known_reg->id)
+ if (reg->type == SCALAR_VALUE && reg->id == known_reg->id) {
+ s32 saved_subreg_def = reg->subreg_def;
+
*reg = *known_reg;
+ reg->subreg_def = saved_subreg_def;
+ }
}
}
}
--
2.34.1
2
1

[openeuler:OLK-6.6 1610/1610] drivers/crypto/ccp/hygon/tdm-dev.c:340:40: error: incomplete definition of type 'struct module'
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
Hi chench00,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 31c4fffa86e17e8a946c944e91e7412db7f8427b
commit: a1dd4972da4e66d9a9d1a89b3dfd8f742c20193b [1610/1610] crypto: tdm: Add Hygon TDM driver
config: x86_64-buildonly-randconfig-005-20241209 (https://download.01.org/0day-ci/archive/20241209/202412091416.tF5xTUAU-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241209/202412091416.tF5xTUAU-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412091416.tF5xTUAU-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/crypto/ccp/hygon/tdm-dev.c:21:
In file included from include/linux/kfifo.h:42:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2242:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
drivers/crypto/ccp/hygon/tdm-dev.c:94:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
94 | int ret = 0;
| ^
>> drivers/crypto/ccp/hygon/tdm-dev.c:340:40: error: incomplete definition of type 'struct module'
340 | memcpy(ctx_msg.module_name, p_module->name, sizeof(p_module->name));
| ~~~~~~~~^
arch/x86/include/asm/alternative.h:103:8: note: forward declaration of 'struct module'
103 | struct module;
| ^
drivers/crypto/ccp/hygon/tdm-dev.c:340:63: error: incomplete definition of type 'struct module'
340 | memcpy(ctx_msg.module_name, p_module->name, sizeof(p_module->name));
| ~~~~~~~~^
arch/x86/include/asm/alternative.h:103:8: note: forward declaration of 'struct module'
103 | struct module;
| ^
drivers/crypto/ccp/hygon/tdm-dev.c:606:20: warning: variable 'head' set but not used [-Wunused-but-set-variable]
606 | struct list_head *head = NULL;
| ^
7 warnings and 2 errors generated.
vim +340 drivers/crypto/ccp/hygon/tdm-dev.c
323
324 if (!hash) {
325 ret = -DYN_NULL_POINTER;
326 pr_err("Null pointer\n");
327 goto end;
328 }
329
330 ctx_msg.flag = flag;
331 ctx_msg.pid = current->pid;
332 memcpy(ctx_msg.comm, current->comm, sizeof(current->comm));
333
334 return_address = CALLER_ADDR1;
335 if (return_address) {
336 #if IS_BUILTIN(CONFIG_CRYPTO_DEV_CCP_DD)
337 p_module = __module_address(return_address);
338 // caller is module
339 if (p_module)
> 340 memcpy(ctx_msg.module_name, p_module->name, sizeof(p_module->name));
341 // caller is build-in
342 else
343 memset(ctx_msg.module_name, 0, sizeof(ctx_msg.module_name));
344 #elif IS_ENABLED(CONFIG_KALLSYMS)
345 symbol_len = sprint_symbol((char *)symbol_buf, return_address);
346 if (!symbol_len) {
347 ret = -DYN_ERR_API;
348 pr_err("sprint_symbol failed\n");
349 goto end;
350 }
351 symbol_begin = strchr((char *)symbol_buf, '[');
352 if (!symbol_begin) {
353 ret = -DYN_NULL_POINTER;
354 pr_err("module name is not exist\n");
355 goto end;
356 }
357 symbol_end = strchr((char *)symbol_buf, ']');
358 if (!symbol_end) {
359 ret = -DYN_NULL_POINTER;
360 pr_err("module name is not exist\n");
361 goto end;
362 }
363 symbol_begin++;
364 if (symbol_end - symbol_begin)
365 memcpy(ctx_msg.module_name, symbol_begin, symbol_end - symbol_begin);
366 else
367 memset(ctx_msg.module_name, 0, sizeof(ctx_msg.module_name));
368 #else
369 memset(ctx_msg.module_name, 0, sizeof(ctx_msg.module_name));
370 #endif
371 } else
372 memset(ctx_msg.module_name, 0, sizeof(ctx_msg.module_name));
373
374 ret = calc_task_context_hash(ctx_msg, hash);
375 if (ret) {
376 pr_err("calc_task_context_hash failed\n");
377 goto end;
378 }
379
380 end:
381 return ret;
382 }
383
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1610/1610] include/linux/mmzone.h:1788:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
Hi zhangtianyang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 31c4fffa86e17e8a946c944e91e7412db7f8427b
commit: c93eb12529e21dbb59796132f4fdf75fad4eddaf [1610/1610] LoongArch: Adapted SECTION_SIZE_BITS with page size
config: loongarch-randconfig-001-20241209 (https://download.01.org/0day-ci/archive/20241209/202412091235.rrPD4MTM-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241209/202412091235.rrPD4MTM-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412091235.rrPD4MTM-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/gfp.h:7,
from include/linux/mm.h:7,
from arch/loongarch/kernel/asm-offsets.c:9:
>> include/linux/mmzone.h:1788:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
1788 | #error Allocator MAX_ORDER exceeds SECTION_SIZE
| ^~~~~
arch/loongarch/kernel/asm-offsets.c:18:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes]
18 | void output_ptreg_defines(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:65:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes]
65 | void output_task_defines(void)
| ^~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:80:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes]
80 | void output_thread_info_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:96:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes]
96 | void output_thread_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:132:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes]
132 | void output_thread_fpu_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:173:6: warning: no previous prototype for 'output_thread_lbt_defines' [-Wmissing-prototypes]
173 | void output_thread_lbt_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:183:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes]
183 | void output_mm_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:215:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes]
215 | void output_sc_defines(void)
| ^~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:223:6: warning: no previous prototype for 'output_signal_defines' [-Wmissing-prototypes]
223 | void output_signal_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:261:6: warning: no previous prototype for 'output_smpboot_defines' [-Wmissing-prototypes]
261 | void output_smpboot_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:283:6: warning: no previous prototype for 'output_fgraph_ret_regs_defines' [-Wmissing-prototypes]
283 | void output_fgraph_ret_regs_defines(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/loongarch/kernel/asm-offsets.c:294:6: warning: no previous prototype for 'output_kvm_defines' [-Wmissing-prototypes]
294 | void output_kvm_defines(void)
| ^~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:116: arch/loongarch/kernel/asm-offsets.s] Error 1 shuffle=2238233371
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1202: prepare0] Error 2 shuffle=2238233371
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:234: __sub-make] Error 2 shuffle=2238233371
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:234: __sub-make] Error 2 shuffle=2238233371
make: Target 'prepare' not remade because of errors.
vim +1788 include/linux/mmzone.h
d41dee369bff3b Andy Whitcroft 2005-06-23 1783
835c134ec4dd75 Mel Gorman 2007-10-16 1784 #define SECTION_BLOCKFLAGS_BITS \
d9c2340052278d Mel Gorman 2007-10-16 1785 ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS)
835c134ec4dd75 Mel Gorman 2007-10-16 1786
23baf831a32c04 Kirill A. Shutemov 2023-03-15 1787 #if (MAX_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS
d41dee369bff3b Andy Whitcroft 2005-06-23 @1788 #error Allocator MAX_ORDER exceeds SECTION_SIZE
d41dee369bff3b Andy Whitcroft 2005-06-23 1789 #endif
d41dee369bff3b Andy Whitcroft 2005-06-23 1790
:::::: The code at line 1788 was first introduced by commit
:::::: d41dee369bff3b9dcb6328d4d822926c28cc2594 [PATCH] sparsemem memory model
:::::: TO: Andy Whitcroft <apw(a)shadowen.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: a398c3637a33330c134f067e06df959550d44f7b [2544/2544] drivers: initial support for rnpgbe drivers from Mucse Technology
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241209/202412090615.w2vIvo64-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241209/202412090615.w2vIvo64-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412090615.w2vIvo64-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_common.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_common.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_common.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_common.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:148:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:148:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:148:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2477:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2477:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2477:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2509:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2509:17: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2509:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2546:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2546:17: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:2546:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3838:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3838:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3838:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3841:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3841:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3841:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3932:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3932:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3932:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3935:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3935:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:3935:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:4135:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:4135:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:4135:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:4203:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:4203:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:4203:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:6780:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:6780:17: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.c:6780:17: sparse: void *
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c:768:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c:768:9: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_lib.c:768:9: sparse: void *
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ethtool.c: note: in included file (through include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ethtool.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ethtool.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ethtool.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_chip.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_chip.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_chip.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_chip.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/wait.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c:278:25: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c:278:25: sparse: void
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_param.c:278:25: sparse: void *
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ptp.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/timer.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ptp.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ptp.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ptp.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sfc.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sfc.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sfc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sfc.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sysfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sysfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sysfs.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
--
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_debugfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/wait.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_debugfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_debugfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_debugfs.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.h, drivers/net/ethernet/mucse/rnpgbe/rnpgbe_type.h, ...):
>> drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:158:38: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:159:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:160:54: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:161:41: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:162:40: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:163:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:164:35: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:165:39: sparse: sparse: dubious one-bit signed bitfield
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h:166:40: sparse: sparse: dubious one-bit signed bitfield
vim +158 drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h
136
137 struct phy_abilities {
138 unsigned char link_stat;
139 unsigned char lane_mask;
140
141 int speed;
142 short phy_type;
143 short nic_mode;
144 short pfnum;
145 unsigned int fw_version;
146 unsigned int axi_mhz;
147 union {
148 unsigned char port_id[4];
149 unsigned int port_ids;
150 };
151 unsigned int bd_uid;
152 int phy_id;
153 int wol_status;
154
155 union {
156 int ext_ablity;
157 struct {
> 158 int valid : 1;
159 int wol_en : 1;
160 int pci_preset_runtime_en : 1;
161 int smbus_en : 1;
162 int ncsi_en : 1;
163 int rpu_en : 1;
164 int v2 : 1;
165 int pxe_en : 1;
166 int mctp_en : 1;
167 };
168 };
169
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1321/1321] drivers/mailbox/imx-mailbox.o: warning: objtool: missing symbol for section .init.text
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
Hi Oleksij,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: 2bb7005696e2246baa88772341ca032ff09a63cb [1321/1321] mailbox: Add support for i.MX messaging unit
config: x86_64-buildonly-randconfig-002-20241205 (https://download.01.org/0day-ci/archive/20241209/202412090011.eUm2er4P-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241209/202412090011.eUm2er4P-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412090011.eUm2er4P-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/mailbox/imx-mailbox.o: warning: objtool: missing symbol for section .init.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:389:9: sparse: sparse: incompatible types in conditional expression (different types):
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: a0c5bfdbc099daf30cbadb9657803f0cb3f89d0b [2544/2544] drivers: support for rnpm drivers from Mucse Technology N10/N400
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241208/202412081856.3zlECgE7-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412081856.3zlECgE7-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412081856.3zlECgE7-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
>> drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:389:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:389:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:389:9: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:747:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:747:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_lib.c:747:9: sparse: void *
--
drivers/net/ethernet/mucse/rnpm/rnpm_main.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpm/rnpm_main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpm/rnpm_main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpm/rnpm_main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
>> drivers/net/ethernet/mucse/rnpm/rnpm_main.c:296:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:296:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:296:9: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:2845:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:2845:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:2845:9: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:2950:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:2950:17: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:2950:17: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:4748:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:4748:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:4748:9: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:4847:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:4847:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:4847:9: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:5069:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:5069:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:5069:9: sparse: void *
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:5143:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:5143:9: sparse: void
drivers/net/ethernet/mucse/rnpm/rnpm_main.c:5143:9: sparse: void *
vim +389 drivers/net/ethernet/mucse/rnpm/rnpm_lib.c
363
364 /**
365 * rnpm_alloc_q_vector - Allocate memory for a single interrupt vector
366 * @adapter: board private structure to initialize
367 * @v_count: q_vectors allocated on adapter, used for ring interleaving
368 * @v_idx: index of vector in adapter struct
369 * @txr_count: total number of Tx rings to allocate
370 * @txr_idx: index of first Tx ring to allocate
371 * @rxr_count: total number of Rx rings to allocate
372 * @rxr_idx: index of first Rx ring to allocate
373 *
374 * We allocate one q_vector. If allocation fails we return -ENOMEM.
375 **/
376 static int rnpm_alloc_q_vector(struct rnpm_adapter *adapter, int eth_queue_idx,
377 int v_idx, int r_idx, int r_count, int step)
378 {
379 struct rnpm_q_vector *q_vector;
380 struct rnpm_ring *ring;
381 struct rnpm_hw *hw = &adapter->hw;
382 int node = NUMA_NO_NODE;
383 int cpu = -1;
384 int ring_count, size;
385 int txr_count, rxr_count, idx;
386 int rxr_idx = r_idx, txr_idx = r_idx;
387 // u8 tcs = netdev_get_num_tc(adapter->netdev);
388
> 389 DPRINTK(PROBE, INFO,
390 "eth_queue_idx:%d v_idx:%d(off:%d) ring:%d ring_cnt:%d step:%d\n",
391 eth_queue_idx, v_idx, adapter->vector_off, r_idx, r_count,
392 step);
393
394 txr_count = rxr_count = r_count;
395
396 ring_count = txr_count + rxr_count;
397
398 /* alloc ring memory together with q_vector */
399 size = sizeof(struct rnpm_q_vector) +
400 (sizeof(struct rnpm_ring) * ring_count);
401
402 /* should minis adapter->vector_off */
403 if (cpu_online(v_idx - adapter->vector_off)) {
404 /* cpu 1 - 7 */
405 //cpu = 1 + v_idx - adapter->vector_off;
406 cpu = v_idx - adapter->vector_off;
407 node = cpu_to_node(cpu);
408 }
409
410 /* allocate q_vector and rings */
411 q_vector = kzalloc_node(size, GFP_KERNEL, node);
412 if (!q_vector)
413 q_vector = kzalloc(size, GFP_KERNEL);
414 if (!q_vector)
415 return -ENOMEM;
416
417 cpumask_copy(&q_vector->affinity_mask, cpu_possible_mask);
418 /* setup affinity mask and node */
419 q_vector->numa_node = node;
420
421 /* initialize timer */
422 q_vector->irq_check_usecs = RNPM_IRQ_CHECK_USEC;
423 //q_vector->new_rx_count = RNPM_PKT_TIMEOUT;
424 //q_vector->old_rx_count = RNPM_PKT_TIMEOUT;
425
426 hrtimer_init(&q_vector->irq_miss_check_timer, CLOCK_MONOTONIC,
427 HRTIMER_MODE_REL_PINNED);
428 q_vector->irq_miss_check_timer.function = irq_miss_check;
429
430 /* initialize NAPI */
431 netif_napi_add(adapter->netdev, &q_vector->napi, rnpm_poll,
432 adapter->napi_budge);
433
434 /* tie q_vector and adapter together */
435 adapter->q_vector[v_idx - adapter->vector_off] = q_vector;
436 q_vector->adapter = adapter;
437 /* this indicate vector table */
438 q_vector->v_idx = v_idx;
439
440 /* initialize work limits */
441 q_vector->tx.work_limit = adapter->tx_work_limit;
442
443 q_vector->rx.itr = q_vector->itr = adapter->rx_frames;
444 #ifdef CONFIG_HZ
445 q_vector->factor = DIV_ROUND_UP(1000, CONFIG_HZ);
446 #else
447 q_vector->factor = 1;
448 #endif
449
450 /* initialize pointer to rings */
451 ring = q_vector->ring;
452
453 for (idx = 0; idx < txr_count; idx++) {
454 /* assign generic ring traits */
455 ring->dev = &adapter->pdev->dev;
456 ring->netdev = adapter->netdev;
457
458 /* configure backlink on ring */
459 ring->q_vector = q_vector;
460
461 /* update q_vector Tx values */
462 rnpm_add_ring(ring, &q_vector->tx);
463
464 /* apply Tx specific ring traits */
465 ring->count = adapter->tx_ring_item_count;
466 ring->queue_index = eth_queue_idx + idx;
467
468 /* rnpm_queue_idx can be changed after */
469 /* it is used to location hw reg */
470 ring->rnpm_queue_idx = txr_idx;
471 ring->dma_int_stat =
472 hw->hw_addr + RNPM_DMA_INT_STAT(ring->rnpm_queue_idx);
473 ring->dma_int_mask = ring->dma_int_stat + 4;
474 ring->dma_int_clr = ring->dma_int_stat + 8;
475 ring->device_id = adapter->pdev->device;
476 ring->pfvfnum = hw->pfvfnum;
477
478 /* assign ring to adapter */
479 adapter->tx_ring[ring->queue_index] = ring;
480
481 /* update count and index */
482 txr_idx += step;
483
484 rnpm_dbg("\t\t%s:vector[%d] <--RNPM TxRing:%d, eth_queue:%d\n",
485 adapter->netdev->name, v_idx, ring->rnpm_queue_idx,
486 ring->queue_index);
487
488 /* push pointer to next ring */
489 ring++;
490 }
491
492 for (idx = 0; idx < rxr_count; idx++) {
493 /* assign generic ring traits */
494 ring->dev = &adapter->pdev->dev;
495 ring->netdev = adapter->netdev;
496
497 /* configure backlink on ring */
498 ring->q_vector = q_vector;
499
500 /* update q_vector Rx values */
501 rnpm_add_ring(ring, &q_vector->rx);
502
503 /* apply Rx specific ring traits */
504 ring->count = adapter->rx_ring_item_count;
505 /* rnpm_queue_idx can be changed after */
506 /* it is used to location hw reg */
507 ring->queue_index = eth_queue_idx + idx;
508 ring->rnpm_queue_idx = rxr_idx;
509 ring->dma_int_stat =
510 hw->hw_addr + RNPM_DMA_INT_STAT(ring->rnpm_queue_idx);
511 ring->dma_int_mask = ring->dma_int_stat + 4;
512 ring->dma_int_clr = ring->dma_int_stat + 8;
513 ring->device_id = adapter->pdev->device;
514 ring->pfvfnum = hw->pfvfnum;
515
516 /* assign ring to adapter */
517 adapter->rx_ring[ring->queue_index] = ring;
518 rnpm_dbg("\t\t%s:vector[%d] <--RNPM RxRing:%d, eth_queue:%d\n",
519 adapter->netdev->name, v_idx, ring->rnpm_queue_idx,
520 ring->queue_index);
521
522 /* update count and index */
523 rxr_idx += step;
524
525 /* push pointer to next ring */
526 ring++;
527 }
528
529 return 0;
530 }
531
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1321/1321] sound/soc/codecs/simple-amplifier.o: warning: objtool: missing symbol for section .init.text
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
Hi Mark,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: 4aa5db22d35588e1a5d2ee88472348ea73d9fb23 [1321/1321] Merge branch 'asoc-4.19' into asoc-next
config: x86_64-buildonly-randconfig-002-20241205 (https://download.01.org/0day-ci/archive/20241208/202412081030.HpEhO2B9-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412081030.HpEhO2B9-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412081030.HpEhO2B9-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/soc/codecs/simple-amplifier.o: warning: objtool: missing symbol for section .init.text
--
sound/soc/codecs/es7241.c:206:33: warning: unused variable 'es7241_chip' [-Wunused-const-variable]
206 | static const struct es7241_chip es7241_chip = {
| ^~~~~~~~~~~
1 warning generated.
>> sound/soc/codecs/es7241.o: warning: objtool: missing symbol for section .init.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/yunsilicon/xsc/net/main.c:2823:10: error: no member named 'dcbnl_ops' in 'struct net_device'
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: 7a77845c9768ccddbaa26a0fafe594aa756559d2 [2544/2544] drivers: update Yunsilicon driver to version 2406_rc16.2
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241208/202412080904.AHKBbuKD-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412080904.AHKBbuKD-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412080904.AHKBbuKD-lkp@intel.com/
All errors (new ones prefixed by >>):
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:1897:6: warning: no previous prototype for function 'xsc_eth_rss_params_change' [-Wmissing-prototypes]
1897 | void xsc_eth_rss_params_change(struct xsc_adapter *adapter, u32 change, void *modify)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:1897:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1897 | void xsc_eth_rss_params_change(struct xsc_adapter *adapter, u32 change, void *modify)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2206:6: warning: no previous prototype for function 'xsc_build_default_indir_rqt' [-Wmissing-prototypes]
2206 | void xsc_build_default_indir_rqt(u32 *indirection_rqt, int len,
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2206:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2206 | void xsc_build_default_indir_rqt(u32 *indirection_rqt, int len,
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2295:5: warning: no previous prototype for function 'xsc_eth_nic_mtu_changed' [-Wmissing-prototypes]
2295 | int xsc_eth_nic_mtu_changed(struct xsc_adapter *priv)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2295:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2295 | int xsc_eth_nic_mtu_changed(struct xsc_adapter *priv)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2365:5: warning: no previous prototype for function 'xsc_set_vf_mac' [-Wmissing-prototypes]
2365 | int xsc_set_vf_mac(struct net_device *netdev, int vf, u8 *mac)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2365:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2365 | int xsc_set_vf_mac(struct net_device *netdev, int vf, u8 *mac)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2433:5: warning: no previous prototype for function 'xsc_get_vf_config' [-Wmissing-prototypes]
2433 | int xsc_get_vf_config(struct net_device *dev,
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2433:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2433 | int xsc_get_vf_config(struct net_device *dev,
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2450:5: warning: no previous prototype for function 'xsc_set_vf_link_state' [-Wmissing-prototypes]
2450 | int xsc_set_vf_link_state(struct net_device *dev, int vf,
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2450:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2450 | int xsc_set_vf_link_state(struct net_device *dev, int vf,
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2460:5: warning: no previous prototype for function 'set_feature_rxcsum' [-Wmissing-prototypes]
2460 | int set_feature_rxcsum(struct net_device *netdev, bool enable)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2460:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2460 | int set_feature_rxcsum(struct net_device *netdev, bool enable)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2482:5: warning: no previous prototype for function 'set_feature_vlan_offload' [-Wmissing-prototypes]
2482 | int set_feature_vlan_offload(struct net_device *netdev, bool enable)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2482:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2482 | int set_feature_vlan_offload(struct net_device *netdev, bool enable)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2534:5: warning: no previous prototype for function 'xsc_eth_set_features' [-Wmissing-prototypes]
2534 | int xsc_eth_set_features(struct net_device *netdev, netdev_features_t features)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2534:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2534 | int xsc_eth_set_features(struct net_device *netdev, netdev_features_t features)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2561:5: warning: no previous prototype for function 'xsc_select_queue' [-Wmissing-prototypes]
2561 | u16 xsc_select_queue(struct net_device *dev, struct sk_buff *skb,
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2561:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2561 | u16 xsc_select_queue(struct net_device *dev, struct sk_buff *skb,
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2570:10: warning: variable 'txq_ix' is uninitialized when used here [-Wuninitialized]
2570 | return txq_ix;
| ^~~~~~
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2564:12: note: initialize the variable 'txq_ix' to silence this warning
2564 | int txq_ix, up = 0;
| ^
| = 0
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2763:24: warning: no previous prototype for function 'xsc_tirc_get_default_config' [-Wmissing-prototypes]
2763 | struct xsc_tirc_config xsc_tirc_get_default_config(enum xsc_traffic_types tt)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2763:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2763 | struct xsc_tirc_config xsc_tirc_get_default_config(enum xsc_traffic_types tt)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2768:6: warning: no previous prototype for function 'xsc_build_rss_params' [-Wmissing-prototypes]
2768 | void xsc_build_rss_params(struct xsc_rss_params *rss_params, u16 num_channels)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2768:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2768 | void xsc_build_rss_params(struct xsc_rss_params *rss_params, u16 num_channels)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2786:6: warning: no previous prototype for function 'xsc_eth_build_nic_params' [-Wmissing-prototypes]
2786 | void xsc_eth_build_nic_params(struct xsc_adapter *adapter, u32 ch_num, u32 tc_num)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2786:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2786 | void xsc_eth_build_nic_params(struct xsc_adapter *adapter, u32 ch_num, u32 tc_num)
| ^
| static
>> drivers/net/ethernet/yunsilicon/xsc/net/main.c:2823:10: error: no member named 'dcbnl_ops' in 'struct net_device'
2823 | netdev->dcbnl_ops = &xsc_dcbnl_ops;
| ~~~~~~ ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2814:6: warning: no previous prototype for function 'xsc_eth_build_nic_netdev' [-Wmissing-prototypes]
2814 | void xsc_eth_build_nic_netdev(struct xsc_adapter *adapter)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2814:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2814 | void xsc_eth_build_nic_netdev(struct xsc_adapter *adapter)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2880:5: warning: no previous prototype for function 'xsc_eth_create_xdev_resources' [-Wmissing-prototypes]
2880 | int xsc_eth_create_xdev_resources(struct xsc_core_device *xdev)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2880:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2880 | int xsc_eth_create_xdev_resources(struct xsc_core_device *xdev)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2899:5: warning: no previous prototype for function 'xsc_eth_init_nic_rx' [-Wmissing-prototypes]
2899 | int xsc_eth_init_nic_rx(struct xsc_adapter *adapter)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:2899:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2899 | int xsc_eth_init_nic_rx(struct xsc_adapter *adapter)
| ^
| static
drivers/net/ethernet/yunsilicon/xsc/net/main.c:3134:5: warning: no previous prototype for function 'xsc_net_reboot_event_handler' [-Wmissing-prototypes]
3134 | int xsc_net_reboot_event_handler(struct notifier_block *nb, unsigned long action, void *data)
| ^
drivers/net/ethernet/yunsilicon/xsc/net/main.c:3134:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3134 | int xsc_net_reboot_event_handler(struct notifier_block *nb, unsigned long action, void *data)
| ^
| static
52 warnings and 1 error generated.
vim +2823 drivers/net/ethernet/yunsilicon/xsc/net/main.c
d48b7d951d22f7f Wanrenyong 2023-10-27 2813
d48b7d951d22f7f Wanrenyong 2023-10-27 2814 void xsc_eth_build_nic_netdev(struct xsc_adapter *adapter)
d48b7d951d22f7f Wanrenyong 2023-10-27 2815 {
d48b7d951d22f7f Wanrenyong 2023-10-27 2816 struct net_device *netdev = adapter->netdev;
d48b7d951d22f7f Wanrenyong 2023-10-27 2817 struct xsc_core_device *xdev = adapter->xdev;
d48b7d951d22f7f Wanrenyong 2023-10-27 2818
d48b7d951d22f7f Wanrenyong 2023-10-27 2819 /* Set up network device as normal. */
d48b7d951d22f7f Wanrenyong 2023-10-27 2820 netdev->priv_flags |= IFF_UNICAST_FLT | IFF_LIVE_ADDR_CHANGE;
d48b7d951d22f7f Wanrenyong 2023-10-27 2821 netdev->netdev_ops = &xsc_netdev_ops;
d48b7d951d22f7f Wanrenyong 2023-10-27 2822
d48b7d951d22f7f Wanrenyong 2023-10-27 @2823 netdev->dcbnl_ops = &xsc_dcbnl_ops;
d48b7d951d22f7f Wanrenyong 2023-10-27 2824 eth_set_ethtool_ops(netdev);
d48b7d951d22f7f Wanrenyong 2023-10-27 2825
d48b7d951d22f7f Wanrenyong 2023-10-27 2826 netdev->min_mtu = SW_MIN_MTU;
d48b7d951d22f7f Wanrenyong 2023-10-27 2827 netdev->max_mtu = SW_MAX_MTU;
d48b7d951d22f7f Wanrenyong 2023-10-27 2828 /*mtu - macheaderlen - ipheaderlen should be aligned in 8B*/
d48b7d951d22f7f Wanrenyong 2023-10-27 2829 netdev->mtu = SW_DEFAULT_MTU;
d48b7d951d22f7f Wanrenyong 2023-10-27 2830
d48b7d951d22f7f Wanrenyong 2023-10-27 2831 netdev->vlan_features |= NETIF_F_SG;
d48b7d951d22f7f Wanrenyong 2023-10-27 2832 netdev->vlan_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;//NETIF_F_HW_CSUM;
d48b7d951d22f7f Wanrenyong 2023-10-27 2833 netdev->vlan_features |= NETIF_F_GRO;
d48b7d951d22f7f Wanrenyong 2023-10-27 2834 netdev->vlan_features |= NETIF_F_TSO;//NETIF_F_TSO_ECN
d48b7d951d22f7f Wanrenyong 2023-10-27 2835 netdev->vlan_features |= NETIF_F_TSO6;
d48b7d951d22f7f Wanrenyong 2023-10-27 2836 //todo: enable rx csum
d48b7d951d22f7f Wanrenyong 2023-10-27 2837 netdev->vlan_features |= NETIF_F_RXCSUM;
d48b7d951d22f7f Wanrenyong 2023-10-27 2838 netdev->vlan_features |= NETIF_F_RXHASH;
d48b7d951d22f7f Wanrenyong 2023-10-27 2839 netdev->vlan_features |= NETIF_F_GSO_PARTIAL;
d48b7d951d22f7f Wanrenyong 2023-10-27 2840
d48b7d951d22f7f Wanrenyong 2023-10-27 2841 netdev->hw_features = netdev->vlan_features;
23b8024ef459f8b tianx 2024-02-06 2842 netdev->hw_features |= NETIF_F_HW_VLAN_CTAG_FILTER;
7a77845c9768ccd Tian Xin 2024-11-06 2843 netdev->hw_features |= NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_STAG_TX;
d48b7d951d22f7f Wanrenyong 2023-10-27 2844
d48b7d951d22f7f Wanrenyong 2023-10-27 2845 if (xsc_vxlan_allowed(xdev) || xsc_geneve_tx_allowed(xdev) ||
d48b7d951d22f7f Wanrenyong 2023-10-27 2846 xsc_any_tunnel_proto_supported(xdev)) {
d48b7d951d22f7f Wanrenyong 2023-10-27 2847 netdev->hw_enc_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;
d48b7d951d22f7f Wanrenyong 2023-10-27 2848 netdev->hw_enc_features |= NETIF_F_TSO; //NETIF_F_TSO_ECN
d48b7d951d22f7f Wanrenyong 2023-10-27 2849 netdev->hw_enc_features |= NETIF_F_TSO6;
d48b7d951d22f7f Wanrenyong 2023-10-27 2850 netdev->hw_enc_features |= NETIF_F_GSO_PARTIAL;
d48b7d951d22f7f Wanrenyong 2023-10-27 2851 }
d48b7d951d22f7f Wanrenyong 2023-10-27 2852
d48b7d951d22f7f Wanrenyong 2023-10-27 2853 netdev->features |= netdev->hw_features;
d48b7d951d22f7f Wanrenyong 2023-10-27 2854 netdev->features |= NETIF_F_HIGHDMA;
d48b7d951d22f7f Wanrenyong 2023-10-27 2855 }
d48b7d951d22f7f Wanrenyong 2023-10-27 2856
:::::: The code at line 2823 was first introduced by commit
:::::: d48b7d951d22f7f97d68ae7b580769827683d404 drivers: initial support for xsc drivers from Yunsilicon Technology
:::::: TO: Wanrenyong <wanry(a)yunsilicon.com>
:::::: CC: Wanrenyong <wanry(a)yunsilicon.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] arch/x86/kernel/livepatch.c:55:6: warning: no previous prototype for function 'arch_check_jump_insn'
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: 6b65db0bde760a026bd93ae93f5bcacfece087cb [2544/2544] livepatch: Fix huge_depth in arch_klp_check_activeness_func()
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241208/202412080615.LTPtfUgh-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412080615.LTPtfUgh-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412080615.LTPtfUgh-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/livepatch.c:21:
In file included from include/linux/kallsyms.h:12:
In file included from include/linux/mm.h:1581:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> arch/x86/kernel/livepatch.c:55:6: warning: no previous prototype for function 'arch_check_jump_insn' [-Wmissing-prototypes]
55 | bool arch_check_jump_insn(unsigned long func_addr)
| ^
arch/x86/kernel/livepatch.c:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
55 | bool arch_check_jump_insn(unsigned long func_addr)
| ^
| static
arch/x86/kernel/livepatch.c:224:5: warning: no previous prototype for function 'arch_klp_check_calltrace' [-Wmissing-prototypes]
224 | int arch_klp_check_calltrace(bool (*check_func)(void *, int *, unsigned long), void *data)
| ^
arch/x86/kernel/livepatch.c:224:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
224 | int arch_klp_check_calltrace(bool (*check_func)(void *, int *, unsigned long), void *data)
| ^
| static
arch/x86/kernel/livepatch.c:309:6: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
309 | void arch_klp_code_modify_prepare(void)
| ^
arch/x86/kernel/livepatch.c:309:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
309 | void arch_klp_code_modify_prepare(void)
| ^
| static
arch/x86/kernel/livepatch.c:315:6: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
315 | void arch_klp_code_modify_post_process(void)
| ^
arch/x86/kernel/livepatch.c:315:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
315 | void arch_klp_code_modify_post_process(void)
| ^
| static
5 warnings generated.
--
In file included from kernel/livepatch/core.c:16:
In file included from include/linux/kallsyms.h:12:
In file included from include/linux/mm.h:1581:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
kernel/livepatch/core.c:71:16: warning: no previous prototype for function 'klp_check_patch_kprobed' [-Wmissing-prototypes]
71 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
kernel/livepatch/core.c:71:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
71 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
| static
kernel/livepatch/core.c:942:12: warning: no previous prototype for function 'arch_klp_init_func' [-Wmissing-prototypes]
942 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
kernel/livepatch/core.c:942:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
942 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
| static
kernel/livepatch/core.c:1342:12: warning: no previous prototype for function 'arch_klp_check_calltrace' [-Wmissing-prototypes]
1342 | int __weak arch_klp_check_calltrace(bool (*fn)(void *, int *, unsigned long), void *data)
| ^
kernel/livepatch/core.c:1342:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1342 | int __weak arch_klp_check_calltrace(bool (*fn)(void *, int *, unsigned long), void *data)
| ^
| static
>> kernel/livepatch/core.c:1347:13: warning: no previous prototype for function 'arch_check_jump_insn' [-Wmissing-prototypes]
1347 | bool __weak arch_check_jump_insn(unsigned long func_addr)
| ^
kernel/livepatch/core.c:1347:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1347 | bool __weak arch_check_jump_insn(unsigned long func_addr)
| ^
| static
kernel/livepatch/core.c:1352:12: warning: no previous prototype for function 'arch_klp_check_activeness_func' [-Wmissing-prototypes]
1352 | int __weak arch_klp_check_activeness_func(struct klp_func *func, int enable,
| ^
kernel/livepatch/core.c:1352:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1352 | int __weak arch_klp_check_activeness_func(struct klp_func *func, int enable,
| ^
| static
kernel/livepatch/core.c:1621:5: warning: no previous prototype for function 'klp_try_disable_patch' [-Wmissing-prototypes]
1621 | int klp_try_disable_patch(void *data)
| ^
kernel/livepatch/core.c:1621:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1621 | int klp_try_disable_patch(void *data)
| ^
| static
kernel/livepatch/core.c:1655:13: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
1655 | void __weak arch_klp_code_modify_prepare(void)
| ^
kernel/livepatch/core.c:1655:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1655 | void __weak arch_klp_code_modify_prepare(void)
| ^
| static
kernel/livepatch/core.c:1659:13: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
1659 | void __weak arch_klp_code_modify_post_process(void)
| ^
kernel/livepatch/core.c:1659:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1659 | void __weak arch_klp_code_modify_post_process(void)
| ^
| static
kernel/livepatch/core.c:1663:14: warning: no previous prototype for function 'arch_klp_mem_alloc' [-Wmissing-prototypes]
1663 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
kernel/livepatch/core.c:1663:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1663 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
| static
kernel/livepatch/core.c:1668:13: warning: no previous prototype for function 'arch_klp_mem_free' [-Wmissing-prototypes]
1668 | void __weak arch_klp_mem_free(void *mem)
| ^
kernel/livepatch/core.c:1668:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1668 | void __weak arch_klp_mem_free(void *mem)
| ^
| static
kernel/livepatch/core.c:1696:13: warning: no previous prototype for function 'arch_klp_set_brk_func' [-Wmissing-prototypes]
1696 | void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
| ^
kernel/livepatch/core.c:1696:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1696 | void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
| ^
| static
kernel/livepatch/core.c:2108:5: warning: no previous prototype for function 'klp_try_enable_patch' [-Wmissing-prototypes]
2108 | int klp_try_enable_patch(void *data)
| ^
kernel/livepatch/core.c:2108:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2108 | int klp_try_enable_patch(void *data)
| ^
| static
13 warnings generated.
vim +/arch_check_jump_insn +55 arch/x86/kernel/livepatch.c
54
> 55 bool arch_check_jump_insn(unsigned long func_addr)
56 {
57 int len = JMP_E9_INSN_SIZE;
58 struct insn insn;
59 u8 *addr = (u8*)func_addr;
60
61 do {
62 if (is_jump_insn(addr))
63 return true;
64 insn_init(&insn, addr, MAX_INSN_SIZE, 1);
65 insn_get_length(&insn);
66 if (!insn.length || !insn_complete(&insn))
67 return true;
68 len -= insn.length;
69 addr += insn.length;
70 } while (len > 0);
71
72 return false;
73 }
74
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] arch/x86/kernel/livepatch.c:315:5: warning: no previous prototype for function 'arch_klp_check_calltrace'
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: a224a248cd1c2627ea20b02c1a8f33edc217881c [2544/2544] livepatch/x86: Move 'struct klp_func_list' related codes out of arch
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241208/202412080435.e0zBQYor-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412080435.e0zBQYor-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412080435.e0zBQYor-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kernel/livepatch.c:21:
In file included from include/linux/kallsyms.h:12:
In file included from include/linux/mm.h:1581:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
arch/x86/kernel/livepatch.c:137:12: error: implicit declaration of function 'add_func_to_list' [-Werror,-Wimplicit-function-declaration]
137 | ret = add_func_to_list(check_funcs, &pcheck, old_func,
| ^
arch/x86/kernel/livepatch.c:137:29: error: use of undeclared identifier 'check_funcs'
137 | ret = add_func_to_list(check_funcs, &pcheck, old_func,
| ^
arch/x86/kernel/livepatch.c:75:5: warning: no previous prototype for function 'arch_klp_check_activeness_func' [-Wmissing-prototypes]
75 | int arch_klp_check_activeness_func(struct klp_patch *patch, int enable,
| ^
arch/x86/kernel/livepatch.c:75:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
75 | int arch_klp_check_activeness_func(struct klp_patch *patch, int enable,
| ^
| static
>> arch/x86/kernel/livepatch.c:315:5: warning: no previous prototype for function 'arch_klp_check_calltrace' [-Wmissing-prototypes]
315 | int arch_klp_check_calltrace(bool (*check_func)(void *, int *, unsigned long), void *data)
| ^
arch/x86/kernel/livepatch.c:315:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
315 | int arch_klp_check_calltrace(bool (*check_func)(void *, int *, unsigned long), void *data)
| ^
| static
arch/x86/kernel/livepatch.c:400:6: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
400 | void arch_klp_code_modify_prepare(void)
| ^
arch/x86/kernel/livepatch.c:400:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
400 | void arch_klp_code_modify_prepare(void)
| ^
| static
arch/x86/kernel/livepatch.c:406:6: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
406 | void arch_klp_code_modify_post_process(void)
| ^
arch/x86/kernel/livepatch.c:406:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
406 | void arch_klp_code_modify_post_process(void)
| ^
| static
5 warnings and 2 errors generated.
--
In file included from kernel/livepatch/core.c:16:
In file included from include/linux/kallsyms.h:12:
In file included from include/linux/mm.h:1581:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
kernel/livepatch/core.c:71:16: warning: no previous prototype for function 'klp_check_patch_kprobed' [-Wmissing-prototypes]
71 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
kernel/livepatch/core.c:71:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
71 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
| static
kernel/livepatch/core.c:942:12: warning: no previous prototype for function 'arch_klp_init_func' [-Wmissing-prototypes]
942 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
kernel/livepatch/core.c:942:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
942 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
| static
>> kernel/livepatch/core.c:1342:12: warning: no previous prototype for function 'arch_klp_check_calltrace' [-Wmissing-prototypes]
1342 | int __weak arch_klp_check_calltrace(bool (*fn)(void *, int *, unsigned long), void *data)
| ^
kernel/livepatch/core.c:1342:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1342 | int __weak arch_klp_check_calltrace(bool (*fn)(void *, int *, unsigned long), void *data)
| ^
| static
>> kernel/livepatch/core.c:1347:12: warning: no previous prototype for function 'arch_klp_check_activeness_func' [-Wmissing-prototypes]
1347 | int __weak arch_klp_check_activeness_func(struct klp_patch *patch, int enable,
| ^
kernel/livepatch/core.c:1347:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1347 | int __weak arch_klp_check_activeness_func(struct klp_patch *patch, int enable,
| ^
| static
kernel/livepatch/core.c:1412:12: warning: no previous prototype for function 'klp_check_calltrace' [-Wmissing-prototypes]
1412 | int __weak klp_check_calltrace(struct klp_patch *patch, int enable)
| ^
kernel/livepatch/core.c:1412:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1412 | int __weak klp_check_calltrace(struct klp_patch *patch, int enable)
| ^
| static
kernel/livepatch/core.c:1506:5: warning: no previous prototype for function 'klp_try_disable_patch' [-Wmissing-prototypes]
1506 | int klp_try_disable_patch(void *data)
| ^
kernel/livepatch/core.c:1506:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1506 | int klp_try_disable_patch(void *data)
| ^
| static
kernel/livepatch/core.c:1540:13: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
1540 | void __weak arch_klp_code_modify_prepare(void)
| ^
kernel/livepatch/core.c:1540:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1540 | void __weak arch_klp_code_modify_prepare(void)
| ^
| static
kernel/livepatch/core.c:1544:13: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
1544 | void __weak arch_klp_code_modify_post_process(void)
| ^
kernel/livepatch/core.c:1544:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1544 | void __weak arch_klp_code_modify_post_process(void)
| ^
| static
kernel/livepatch/core.c:1548:14: warning: no previous prototype for function 'arch_klp_mem_alloc' [-Wmissing-prototypes]
1548 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
kernel/livepatch/core.c:1548:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1548 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
| static
kernel/livepatch/core.c:1553:13: warning: no previous prototype for function 'arch_klp_mem_free' [-Wmissing-prototypes]
1553 | void __weak arch_klp_mem_free(void *mem)
| ^
kernel/livepatch/core.c:1553:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1553 | void __weak arch_klp_mem_free(void *mem)
| ^
| static
kernel/livepatch/core.c:1581:13: warning: no previous prototype for function 'arch_klp_set_brk_func' [-Wmissing-prototypes]
1581 | void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
| ^
kernel/livepatch/core.c:1581:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1581 | void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
| ^
| static
kernel/livepatch/core.c:1993:5: warning: no previous prototype for function 'klp_try_enable_patch' [-Wmissing-prototypes]
1993 | int klp_try_enable_patch(void *data)
| ^
kernel/livepatch/core.c:1993:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1993 | int klp_try_enable_patch(void *data)
| ^
| static
13 warnings generated.
vim +/arch_klp_check_calltrace +315 arch/x86/kernel/livepatch.c
314
> 315 int arch_klp_check_calltrace(bool (*check_func)(void *, int *, unsigned long), void *data)
316 {
317 return do_check_calltrace(check_func, data);
318 }
319
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: 656d579e9c4f700f9f7debda0c2541f34fc39a35 [2544/2544] drivers: initial support for rnpgbevf drivers from Mucse Technology
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241208/202412080108.TdjUJRNN-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241208/202412080108.TdjUJRNN-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412080108.TdjUJRNN-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
--
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:236:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:236:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:236:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:238:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:238:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:238:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:239:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:239:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:239:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:240:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:240:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:240:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:241:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:241:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:241:9: sparse: void *
--
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
--
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
--
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:111:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:111:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:111:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1969:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1969:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1969:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2026:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2026:17: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2026:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3163:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3163:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3163:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3206:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3206:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3206:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3283:25: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3283:25: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3283:25: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3343:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3343:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3343:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3347:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3347:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3347:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3424:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3424:17: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3424:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3466:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3466:17: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3466:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4031:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4031:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4031:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4035:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4035:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4035:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4133:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4133:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4133:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4137:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4137:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4137:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4277:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4277:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4277:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4367:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4367:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4367:9: sparse: void *
vim +64 drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h
51
52 /* Transmit Descriptor - Advanced */
53 struct rnp_tx_desc {
54 union {
55 __le64 pkt_addr; /* Packet buffer address */
56 struct {
57 __le32 adr_lo;
58 __le32 adr_hi;
59 };
60 };
61 __le16 blen;
62 union {
63 struct {
> 64 __le16 ip_len : 9;
65 __le16 mac_len : 7;
66 };
67 __le16 mac_ip_len; /* used only in tso & csum */
68 };
69 __le16 vlan;
70 #define RNPGBE_TXD_FLAGS_VLAN_PRIO_MASK 0xe000
71 #define RNPGBE_TX_FLAGS_VLAN_PRIO_SHIFT 13
72 #define RNPGBE_TX_FLAGS_VLAN_CFI_SHIFT 12
73
74 __le16 cmd;
75 #define RNPGBE_TXD_VLAN_VALID (0x1 << 15)
76 #define RNPGBE_TXD_SVLAN_TYPE (0x1 << 9)
77 #define RNPGBE_TXD_VLAN_CTRL_NOP (0x00 << 13)
78 #define RNPGBE_TXD_VLAN_CTRL_RM_VLAN (0x01 << 13)
79 #define RNPGBE_TXD_VLAN_CTRL_INSERT_VLAN (0x02 << 13)
80 #define RNPGBE_TXD_L4_CSUM (0x1 << 12)
81 #define RNPGBE_TXD_IP_CSUM (0x1 << 11)
82 #define RNPGBE_TXD_TUNNEL_MASK (0x3000000)
83 #define RNPGBE_TXD_TUNNEL_VXLAN (0x01 << 8)
84 #define RNPGBE_TXD_TUNNEL_NVGRE (0x02 << 8)
85 #define RNPGBE_TXD_L4_TYPE_UDP (0x03 << 6)
86 #define RNPGBE_TXD_L4_TYPE_TCP (0x01 << 6)
87 #define RNPGBE_TXD_L4_TYPE_SCTP (0x02 << 6)
88 #define RNPGBE_TXD_FLAG_IPV4 (0x0 << 5)
89 #define RNPGBE_TXD_FLAG_IPV6 (0x1 << 5)
90 #define RNPGBE_TXD_FLAG_TSO (0x1 << 4)
91 #define RNPGBE_TXD_CMD_RS (0x1 << 2)
92 #define RNPGBE_TXD_STAT_DD (0x1 << 1)
93 #define RNPGBE_TXD_CMD_EOP (0x1 << 0)
94 } __packed;
95
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: 23b8024ef459f8b615c223df6175ea17c6b50c48 [2544/2544] drivers: update yunsilicon drivers to version 1.1.0.375
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241207/202412072336.8Do0o4DT-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412072336.8Do0o4DT-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412072336.8Do0o4DT-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/wait.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/qp.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/kobject.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/timer.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/vport.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, drivers/net/ethernet/yunsilicon/xsc/common/res_obj.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/res_obj.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
vim +913 drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h
910
911 /* vport mbox */
912 struct xsc_nic_vport_context {
> 913 __be32 min_wqe_inline_mode:3;
914 __be32 disable_mc_local_lb:1;
> 915 __be32 disable_uc_local_lb:1;
916 __be32 roce_en:1;
917
918 __be32 arm_change_event:1;
919 __be32 event_on_mtu:1;
920 __be32 event_on_promisc_change:1;
921 __be32 event_on_vlan_change:1;
922 __be32 event_on_mc_address_change:1;
923 __be32 event_on_uc_address_change:1;
924 __be32 affiliation_criteria:4;
925 __be32 affiliated_vhca_id;
926
927 __be16 mtu;
928
929 __be64 system_image_guid;
930 __be64 port_guid;
931 __be64 node_guid;
932
933 __be32 qkey_violation_counter;
934
> 935 __be16 promisc_uc:1;
936 __be16 promisc_mc:1;
937 __be16 promisc_all:1;
938 __be16 vlan_allowed:1;
939 __be16 allowed_list_type:3;
940 __be16 allowed_list_size:10;
941
942 u8 permanent_address[6];
943 u8 current_address[6];
944 u8 current_uc_mac_address[0][2];
945 };
946
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2566/2566] drivers/tty/tty_buffer.c:177:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'?
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
Hi Hongbo,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: 923efc4dc37c1a7cc91f0dd5dbdc87e0943ad1ae [2566/2566] tty: fix possible deadlock in console_unlock
config: x86_64-buildonly-randconfig-006-20241207 (https://download.01.org/0day-ci/archive/20241207/202412072230.rN1VBME9-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412072230.rN1VBME9-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412072230.rN1VBME9-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/tty/tty_buffer.c: In function 'tty_buffer_alloc':
drivers/tty/tty_buffer.c:175:9: error: implicit declaration of function 'printk_safe_enter'; did you mean 'printk_nmi_enter'? [-Werror=implicit-function-declaration]
175 | printk_safe_enter();
| ^~~~~~~~~~~~~~~~~
| printk_nmi_enter
>> drivers/tty/tty_buffer.c:177:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'? [-Werror=implicit-function-declaration]
177 | printk_safe_exit();
| ^~~~~~~~~~~~~~~~
| printk_nmi_exit
cc1: some warnings being treated as errors
vim +177 drivers/tty/tty_buffer.c
142
143 /**
144 * tty_buffer_alloc - allocate a tty buffer
145 * @port: tty port
146 * @size: desired size (characters)
147 *
148 * Allocate a new tty buffer to hold the desired number of characters.
149 * We round our buffers off in 256 character chunks to get better
150 * allocation behaviour.
151 * Return NULL if out of memory or the allocation would exceed the
152 * per device queue
153 */
154
155 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size)
156 {
157 struct llist_node *free;
158 struct tty_buffer *p;
159
160 /* Round the buffer size out */
161 size = __ALIGN_MASK(size, TTYB_ALIGN_MASK);
162
163 if (size <= MIN_TTYB_SIZE) {
164 free = llist_del_first(&port->buf.free);
165 if (free) {
166 p = llist_entry(free, struct tty_buffer, free);
167 goto found;
168 }
169 }
170
171 /* Should possibly check if this fails for the largest buffer we
172 have queued and recycle that ? */
173 if (atomic_read(&port->buf.mem_used) > port->buf.mem_limit)
174 return NULL;
175 printk_safe_enter();
176 p = kmalloc(sizeof(struct tty_buffer) + 2 * size, GFP_ATOMIC);
> 177 printk_safe_exit();
178 if (p == NULL)
179 return NULL;
180
181 found:
182 tty_buffer_reset(p, size);
183 atomic_add(size, &port->buf.mem_used);
184 return p;
185 }
186
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
commit: d48b7d951d22f7f97d68ae7b580769827683d404 [2544/2544] drivers: initial support for xsc drivers from Yunsilicon Technology
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241207/202412072100.cNplmLvN-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412072100.cNplmLvN-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412072100.cNplmLvN-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/wait.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/qp.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/kobject.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/timer.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
vim +272 drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h
263
264 struct xsc_cqe {
265 union {
266 u8 msg_opcode;
267 struct {
268 u8 error_code:7;
269 u8 is_error:1;
270 };
271 };
> 272 __le32 qp_id:15;
273 u8 rsv1:1;
274 u8 se:1;
275 u8 has_pph:1;
276 u8 type:1;
277 u8 with_immdt:1;
278 u8 csum_err:4;
279 __le32 imm_data;
280 __le32 msg_len;
281 __le32 vni;
> 282 __le64 ts:48;
283 __le16 wqe_id;
284 __le16 rsv[3];
> 285 __le16 rsv2:15;
286 u8 owner:1;
287 };
288
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1325/1325] sound/soc/soc-generic-dmaengine-pcm.c:318:25: warning: 'strncpy' accessing 80 bytes at offsets 100 and 36 may overlap up to 0 bytes at offset [9223372036854775807, -9223372036854775808]
by kernel test robot 09 Dec '24
by kernel test robot 09 Dec '24
09 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: a24ec7d8d3462ba48b4bd932960c397d92de8782 [1325/1325] ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
config: arm64-randconfig-004-20241207 (https://download.01.org/0day-ci/archive/20241207/202412071942.X656h6F5-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412071942.X656h6F5-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412071942.X656h6F5-lkp@intel.com/
All warnings (new ones prefixed by >>):
sound/soc/soc-generic-dmaengine-pcm.c: In function 'dmaengine_pcm_new':
>> sound/soc/soc-generic-dmaengine-pcm.c:318:25: warning: 'strncpy' accessing 80 bytes at offsets 100 and 36 may overlap up to 0 bytes at offset [9223372036854775807, -9223372036854775808] [-Wrestrict]
318 | strncpy(rtd->pcm->streams[i].pcm->name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319 | rtd->pcm->streams[i].pcm->id,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
320 | sizeof(rtd->pcm->streams[i].pcm->name));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/strncpy +318 sound/soc/soc-generic-dmaengine-pcm.c
260
261 static int dmaengine_pcm_new(struct snd_soc_pcm_runtime *rtd)
262 {
263 struct snd_soc_component *component =
264 snd_soc_rtdcom_lookup(rtd, SND_DMAENGINE_PCM_DRV_NAME);
265 struct dmaengine_pcm *pcm = soc_component_to_pcm(component);
266 const struct snd_dmaengine_pcm_config *config = pcm->config;
267 struct device *dev = component->dev;
268 struct snd_dmaengine_dai_dma_data *dma_data;
269 struct snd_pcm_substream *substream;
270 size_t prealloc_buffer_size;
271 size_t max_buffer_size;
272 unsigned int i;
273 int ret;
274
275 if (config && config->prealloc_buffer_size) {
276 prealloc_buffer_size = config->prealloc_buffer_size;
277 max_buffer_size = config->pcm_hardware->buffer_bytes_max;
278 } else {
279 prealloc_buffer_size = 512 * 1024;
280 max_buffer_size = SIZE_MAX;
281 }
282
283 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; i++) {
284 substream = rtd->pcm->streams[i].substream;
285 if (!substream)
286 continue;
287
288 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
289
290 if (!pcm->chan[i] &&
291 (pcm->flags & SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME))
292 pcm->chan[i] = dma_request_slave_channel(dev,
293 dma_data->chan_name);
294
295 if (!pcm->chan[i] && (pcm->flags & SND_DMAENGINE_PCM_FLAG_COMPAT)) {
296 pcm->chan[i] = dmaengine_pcm_compat_request_channel(rtd,
297 substream);
298 }
299
300 if (!pcm->chan[i]) {
301 dev_err(component->dev,
302 "Missing dma channel for stream: %d\n", i);
303 return -EINVAL;
304 }
305
306 ret = snd_pcm_lib_preallocate_pages(substream,
307 SNDRV_DMA_TYPE_DEV_IRAM,
308 dmaengine_dma_dev(pcm, substream),
309 prealloc_buffer_size,
310 max_buffer_size);
311 if (ret)
312 return ret;
313
314 if (!dmaengine_pcm_can_report_residue(dev, pcm->chan[i]))
315 pcm->flags |= SND_DMAENGINE_PCM_FLAG_NO_RESIDUE;
316
317 if (rtd->pcm->streams[i].pcm->name[0] == '\0') {
> 318 strncpy(rtd->pcm->streams[i].pcm->name,
319 rtd->pcm->streams[i].pcm->id,
320 sizeof(rtd->pcm->streams[i].pcm->name));
321 }
322 }
323
324 return 0;
325 }
326
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS] BUILD REGRESSION faa52e40c08916893e09ba030e616f92e4fc020b
by kernel test robot 08 Dec '24
by kernel test robot 08 Dec '24
08 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
branch HEAD: faa52e40c08916893e09ba030e616f92e4fc020b !14068 media: v4l2-tpg: prevent the risk of a division by zero
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412071942.X656h6F5-lkp@intel.com
include/linux/uaccess.h:115:17: warning: 'entry' may be used uninitialized [-Wmaybe-uninitialized]
include/linux/uaccess.h:115:17: warning: 'ms_info' may be used uninitialized [-Wmaybe-uninitialized]
sound/soc/soc-generic-dmaengine-pcm.c:318:25: warning: 'strncpy' accessing 80 bytes at offsets 100 and 36 may overlap up to 0 bytes at offset [9223372036854775807, -9223372036854775808] [-Wrestrict]
Unverified Error/Warning (likely false positive, kindly check if interested):
drivers/net/ethernet/hisilicon/hns3/hns3_extension/hns3_enet_it.c:30:5: warning: no previous prototype for function 'hns3_nic_select_queue_it' [-Wmissing-prototypes]
include/linux/uaccess.h:115:17: warning: 'port_pr' may be used uninitialized [-Wmaybe-uninitialized]
include/linux/uaccess.h:115:17: warning: 'rinfo' may be used uninitialized [-Wmaybe-uninitialized]
include/linux/uaccess.h:115:17: warning: 'tx_cfg' may be used uninitialized [-Wmaybe-uninitialized]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-defconfig
| `-- net-ipv4-route.c:warning:array-subscript-is-outside-array-bounds-of-struct-fib_nh
|-- arm64-randconfig-001-20241207
| |-- drivers-nvme-host-core.c:error:compat_uptr_t-undeclared-(first-use-in-this-function)
| `-- drivers-nvme-host-core.c:error:expected-before-ptrval
|-- arm64-randconfig-004-20241205
| |-- include-linux-uaccess.h:warning:entry-may-be-used-uninitialized
| |-- include-linux-uaccess.h:warning:ms_info-may-be-used-uninitialized
| |-- include-linux-uaccess.h:warning:port_pr-may-be-used-uninitialized
| |-- include-linux-uaccess.h:warning:rinfo-may-be-used-uninitialized
| `-- include-linux-uaccess.h:warning:tx_cfg-may-be-used-uninitialized
|-- arm64-randconfig-004-20241207
| `-- sound-soc-soc-generic-dmaengine-pcm.c:warning:strncpy-accessing-bytes-at-offsets-and-may-overlap-up-to-bytes-at-offset
|-- arm64-randconfig-r064-20241207
| |-- fs-ocfs2-alloc.c:warning:array-subscript-idx-is-outside-array-bounds-of-struct-ocfs2_extent_rec
| |-- fs-ocfs2-alloc.c:warning:array-subscript-tail_index-is-outside-array-bounds-of-struct-ocfs2_truncate_rec
| |-- fs-ocfs2-xattr.c:warning:array-subscript-count-is-outside-array-bounds-of-struct-ocfs2_xattr_entry
| `-- net-ipv4-route.c:warning:array-subscript-is-outside-array-bounds-of-struct-fib_nh
|-- x86_64-allyesconfig
| `-- samples-vfio-mdev-.tmp_mdpy-fb.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-001-20241207
| `-- drivers-net-ethernet-hisilicon-hns3-hns3_extension-hns3_enet_it.c:warning:no-previous-prototype-for-function-hns3_nic_select_queue_it
|-- x86_64-buildonly-randconfig-002-20241205
| |-- drivers-bcma-driver_chipcommon_nflash.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-bcma-driver_chipcommon_pflash.o:warning:objtool:missing-symbol-for-section-.text
| `-- drivers-hwmon-npcm750-pwm-fan.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-005-20241207
| |-- arch-x86-kernel-cpu-mce-.tmp_therm_throt.o:warning:objtool:missing-symbol-for-section-.irqentry.text
| |-- arch-x86-kernel-cpu-mce-.tmp_threshold.o:warning:objtool:missing-symbol-for-section-.irqentry.text
| |-- drivers-gpu-drm-i2c-.tmp_tda9950.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-gpu-drm-panel-.tmp_panel-ilitek-ili9881c.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-hid-.tmp_hid-redragon.o:warning:objtool:missing-symbol-for-section-.init.text
| `-- drivers-hwtracing-intel_th-.tmp_msu-sink.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-006-20241207
| |-- arch-x86-kernel-cpu-mce-genpool.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-gpu-drm-i915-vlv_dsi_pll.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-gpu-drm-nouveau-dispnv50-lut.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-gpu-drm-nouveau-nvkm-engine-disp-dmacgv100.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-gpu-drm-nouveau-nvkm-engine-disp-sorgm200.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-hid-i2c-hid-i2c-hid-core.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-hwmon-npcm750-pwm-fan.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-i2c-busses-i2c-qcom-geni.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-infiniband-core-uverbs_uapi.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-leds-leds-lm3601x.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-mailbox-qcom-apcs-ipc-mailbox.c:warning:apcs_clk_match_table-defined-but-not-used
| |-- drivers-mmc-core-core.o:warning:objtool:missing-symbol-for-section-.exit.text
| |-- drivers-mmc-host-dw_mmc-bluefield.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-ntb-hw-intel-ntb_hw_gen1.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-platform-x86-intel_speed_select_if-isst_if_mbox_msr.o:warning:objtool:missing-symbol-for-section-.exit.text
| |-- drivers-platform-x86-intel_speed_select_if-isst_if_mbox_pci.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-platform-x86-intel_speed_select_if-isst_if_mmio.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-regulator-qcom-rpmh-regulator.c:warning:rpmh_regulator_match_table-defined-but-not-used
| |-- drivers-soc-qcom-qcom-geni-se.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-tty-serial-qcom_geni_serial.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_enter
| |-- drivers-video-backlight-otm3225a.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- fs-udf-unicode.o:warning:objtool:missing-symbol-for-section-.text
| |-- kernel-sched-pelt.o:warning:objtool:missing-symbol-for-section-.text
| |-- net-core-failover.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- net-ipv4-metrics.o:warning:objtool:missing-symbol-for-section-.text
| `-- net-ipv4-netlink.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-defconfig
| |-- kernel-sched-pelt.o:warning:objtool:missing-symbol-for-section-.text
| |-- net-ipv4-metrics.o:warning:objtool:missing-symbol-for-section-.text
| `-- net-ipv4-netlink.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-randconfig-123
| |-- kernel-time-time.c:sparse:sparse:symbol-__compat_get_timespec64-was-not-declared.-Should-it-be-static
| `-- kernel-time-time.c:sparse:sparse:symbol-__compat_put_timespec64-was-not-declared.-Should-it-be-static
`-- x86_64-randconfig-161-20241207
`-- arch-x86-events-zhaoxin-core.c:error:redefinition-of-zhaoxin_pmu_init
elapsed time: 722m
configs tested: 16
configs skipped: 128
tested configs:
arm64 allmodconfig gcc-14.2.0
arm64 allnoconfig gcc-14.2.0
arm64 defconfig gcc-14.2.0
arm64 randconfig-001-20241207 gcc-14.2.0
arm64 randconfig-002-20241207 gcc-14.2.0
arm64 randconfig-003-20241207 gcc-14.2.0
arm64 randconfig-004-20241207 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241207 clang-19
x86_64 buildonly-randconfig-002-20241207 clang-19
x86_64 buildonly-randconfig-003-20241207 gcc-11
x86_64 buildonly-randconfig-004-20241207 clang-19
x86_64 buildonly-randconfig-005-20241207 clang-19
x86_64 buildonly-randconfig-006-20241207 gcc-12
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f
by kernel test robot 08 Dec '24
by kernel test robot 08 Dec '24
08 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: c8dbb3a6e214ad66d5d6099bf76e1f1c6eefc06f !14114 media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412072100.cNplmLvN-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412072230.rN1VBME9-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412072336.8Do0o4DT-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412080108.TdjUJRNN-lkp@intel.com
drivers/tty/tty_buffer.c:178:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'? [-Werror=implicit-function-declaration]
drivers/ub/urma/ubcore/ubcore_main.c:61:5: warning: no previous prototype for 'ubcore_open' [-Wmissing-prototypes]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allnoconfig
| `-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
|-- arm64-randconfig-051-20241207
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241207
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241207
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241207
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241207
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| `-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
|-- x86_64-buildonly-randconfig-001-20241207
| |-- arch-x86-crypto-curve25519-x86_64.c:error:inline-assembly-requires-more-registers-than-available
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:unused-label-err_init_guid_fail
| `-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:unused-label-out_dbg_init
|-- x86_64-buildonly-randconfig-002-20241112
| `-- drivers-ub-urma-ubcore-ubcore_main.c:warning:no-previous-prototype-for-ubcore_open
|-- x86_64-buildonly-randconfig-004-20241207
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| `-- drivers-gpu-drm-loongson-lsdc_plane.o:warning:objtool:lsdc_plane_init-falls-through-to-next-function-lsdc_plane_reset()
|-- x86_64-buildonly-randconfig-006-20241207
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-defconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| `-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
|-- x86_64-randconfig-123-20241205
| |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_defines.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le16.
| |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_main.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-types):
| |-- drivers-net-ethernet-mucse-rnpgbevf-vf.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-types):
| |-- drivers-net-ethernet-yunsilicon-xsc-common-qp.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le16.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-qp.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le32.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_cmd.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__be16.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_cmd.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__be32.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_hsi.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le16.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_hsi.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le32.
| `-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_hsi.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le64.
`-- x86_64-randconfig-161-20241207
|-- drivers-gpio-gpiolib.c-gpiochip_add_data_with_key()-error:dereferencing-freed-memory-gdev-(line-)
|-- drivers-media-dvb-frontends-sp887x.c-sp887x_initial_setup()-error:__memcpy()-buf-too-small-(-vs-)
|-- lib-test_kasan.c-kmalloc_uaf_16()-error:dereferencing-freed-memory-ptr2-(line-)
|-- lib-test_kasan.c-kmalloc_uaf_memset()-warn:passing-freed-memory-ptr-(line-)
`-- lib-test_kasan.c-kmem_cache_double_free()-error:double-free-of-p-(line-)
elapsed time: 724m
configs tested: 15
configs skipped: 118
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241207 gcc-14.2.0
arm64 randconfig-002-20241207 gcc-14.2.0
arm64 randconfig-003-20241207 clang-20
arm64 randconfig-004-20241207 clang-15
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241207 clang-19
x86_64 buildonly-randconfig-002-20241207 clang-19
x86_64 buildonly-randconfig-003-20241207 gcc-11
x86_64 buildonly-randconfig-004-20241207 clang-19
x86_64 buildonly-randconfig-005-20241207 clang-19
x86_64 buildonly-randconfig-006-20241207 gcc-12
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6] BUILD REGRESSION 330348879858de86a15cef38738cbf022633f403
by kernel test robot 08 Dec '24
by kernel test robot 08 Dec '24
08 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 330348879858de86a15cef38738cbf022633f403 !13841 Fix livepatch selftest
Unverified Error/Warning (likely false positive, kindly check if interested):
arch/arm64/kvm/arm.c:2429:28-45: opportunity for str_enabled_disabled(kvm_ncsnp_support)
arch/arm64/kvm/arm.c:2434:28-45: opportunity for str_enabled_disabled(kvm_dvmbm_support)
arch/x86/crypto/curve25519-x86_64.c:785:3: error: inline assembly requires more registers than available
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-001-20241207
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-002-20241207
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-003-20241207
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-004-20241207
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-051-20241207
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-052-20241207
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-053-20241207
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-054-20241207
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-055-20241207
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-r054-20241207
| |-- arch-arm64-kvm-arm.c:opportunity-for-str_enabled_disabled(kvm_dvmbm_support)
| |-- arch-arm64-kvm-arm.c:opportunity-for-str_enabled_disabled(kvm_ncsnp_support)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allmodconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allyesconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-randconfig-001-20241207
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-002-20241207
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_func.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_os.c:linux-version.h-not-needed.
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allyesconfig
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-crypto-montage-tsse-tsse_ipc_api.c:warning:variable-device_handle-is-uninitialized-when-used-here
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-001-20241207
| |-- arch-x86-crypto-curve25519-x86_64.c:error:inline-assembly-requires-more-registers-than-available
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241207
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-003-20241207
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-004-20241207
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-005-20241207
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-006-20241207
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-defconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-randconfig-123
| |-- arch-x86-events-amd-uncore.c:sparse:sparse:dereference-of-noderef-expression
| |-- arch-x86-events-amd-uncore.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__percpu-got-union-amd_uncore_info-noderef-info
| |-- arch-x86-events-amd-uncore.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-union-amd_uncore_info-noderef-info-got-union-amd_uncore_info-noderef-__percpu
| |-- arch-x86-events-amd-uncore.c:sparse:sparse:incorrect-type-in-initializer-(different-address-spaces)-expected-void-const-noderef-__percpu-got-union-amd_uncore_info
| |-- arch-x86-events-zhaoxin-uncore.c:sparse:sparse:symbol-kh40000_uncore_cpu_init-was-not-declared.-Should-it-be-static
| |-- arch-x86-events-zhaoxin-uncore.c:sparse:sparse:symbol-kh40000_uncore_pci_init-was-not-declared.-Should-it-be-static
| `-- arch-x86-events-zhaoxin-uncore.c:sparse:sparse:symbol-kx5000_uncore_cpu_init-was-not-declared.-Should-it-be-static
`-- x86_64-randconfig-161-20241207
|-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
|-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 726m
configs tested: 19
configs skipped: 114
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241207 gcc-14.2.0
arm64 randconfig-002-20241207 gcc-14.2.0
arm64 randconfig-003-20241207 clang-20
arm64 randconfig-004-20241207 clang-15
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
loongarch randconfig-001-20241207 gcc-14.2.0
loongarch randconfig-002-20241207 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241207 clang-19
x86_64 buildonly-randconfig-002-20241207 clang-19
x86_64 buildonly-randconfig-003-20241207 gcc-11
x86_64 buildonly-randconfig-004-20241207 clang-19
x86_64 buildonly-randconfig-005-20241207 clang-19
x86_64 buildonly-randconfig-006-20241207 gcc-12
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-6.6 0/2] mm/page_alloc: Separate THP PCP into movable and non-movable categories
by Jinjiang Tu 07 Dec '24
by Jinjiang Tu 07 Dec '24
07 Dec '24
Jinjiang Tu (1):
mm: fix kabi breakage due to struct per_cpu_pages
yangge (1):
mm/page_alloc: Separate THP PCP into movable and non-movable
categories
include/linux/mmzone.h | 16 +++++++++++-----
mm/page_alloc.c | 9 +++++++--
2 files changed, 18 insertions(+), 7 deletions(-)
--
2.34.1
2
3

[PATCH openEuler-1.0-LTS] media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
by Zeng Heng 07 Dec '24
by Zeng Heng 07 Dec '24
07 Dec '24
From: Benoit Sevens <bsevens(a)google.com>
stable inclusion
from stable-v5.10.230
commit faff5bbb2762c44ec7426037b3000e77a11d6773
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8G1D
CVE: CVE-2024-53104
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit ecf2b43018da9579842c774b7f35dbe11b5c38dd upstream.
This can lead to out of bounds writes since frames of this type were not
taken into account when calculating the size of the frames buffer in
uvc_parse_streaming.
Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver")
Signed-off-by: Benoit Sevens <bsevens(a)google.com>
Cc: stable(a)vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil(a)xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Zeng Heng <zengheng4(a)huawei.com>
---
drivers/media/usb/uvc/uvc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 38c73cdbef70..24e05b375137 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -575,7 +575,7 @@ static int uvc_parse_format(struct uvc_device *dev,
/* Parse the frame descriptors. Only uncompressed, MJPEG and frame
* based formats have frame descriptors.
*/
- while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
+ while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buffer[2] == ftype) {
frame = &format->frame[format->nframes];
if (ftype != UVC_VS_FRAME_FRAME_BASED)
--
2.25.1
2
1

[PATCH openEuler-22.03-LTS-SP1] media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
by Zeng Heng 07 Dec '24
by Zeng Heng 07 Dec '24
07 Dec '24
From: Benoit Sevens <bsevens(a)google.com>
stable inclusion
from stable-v5.10.230
commit faff5bbb2762c44ec7426037b3000e77a11d6773
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8G1D
CVE: CVE-2024-53104
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit ecf2b43018da9579842c774b7f35dbe11b5c38dd upstream.
This can lead to out of bounds writes since frames of this type were not
taken into account when calculating the size of the frames buffer in
uvc_parse_streaming.
Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver")
Signed-off-by: Benoit Sevens <bsevens(a)google.com>
Cc: stable(a)vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil(a)xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Zeng Heng <zengheng4(a)huawei.com>
---
drivers/media/usb/uvc/uvc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 6334f99f1854..12fa3ff387a8 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -661,7 +661,7 @@ static int uvc_parse_format(struct uvc_device *dev,
/* Parse the frame descriptors. Only uncompressed, MJPEG and frame
* based formats have frame descriptors.
*/
- while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
+ while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buffer[2] == ftype) {
frame = &format->frame[format->nframes];
if (ftype != UVC_VS_FRAME_FRAME_BASED)
--
2.25.1
2
1

[PATCH OLK-5.10] media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
by Zeng Heng 07 Dec '24
by Zeng Heng 07 Dec '24
07 Dec '24
From: Benoit Sevens <bsevens(a)google.com>
stable inclusion
from stable-v5.10.230
commit faff5bbb2762c44ec7426037b3000e77a11d6773
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8G1D
CVE: CVE-2024-53104
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit ecf2b43018da9579842c774b7f35dbe11b5c38dd upstream.
This can lead to out of bounds writes since frames of this type were not
taken into account when calculating the size of the frames buffer in
uvc_parse_streaming.
Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver")
Signed-off-by: Benoit Sevens <bsevens(a)google.com>
Cc: stable(a)vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil(a)xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Zeng Heng <zengheng4(a)huawei.com>
---
drivers/media/usb/uvc/uvc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 6334f99f1854..12fa3ff387a8 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -661,7 +661,7 @@ static int uvc_parse_format(struct uvc_device *dev,
/* Parse the frame descriptors. Only uncompressed, MJPEG and frame
* based formats have frame descriptors.
*/
- while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
+ while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buffer[2] == ftype) {
frame = &format->frame[format->nframes];
if (ftype != UVC_VS_FRAME_FRAME_BASED)
--
2.25.1
2
1

[PATCH OLK-6.6] media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
by Zeng Heng 07 Dec '24
by Zeng Heng 07 Dec '24
07 Dec '24
From: Benoit Sevens <bsevens(a)google.com>
stable inclusion
from stable-v6.6.61
commit 575a562f7a3ec2d54ff77ab6810e3fbceef2a91d
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8G1D
CVE: CVE-2024-53104
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit ecf2b43018da9579842c774b7f35dbe11b5c38dd upstream.
This can lead to out of bounds writes since frames of this type were not
taken into account when calculating the size of the frames buffer in
uvc_parse_streaming.
Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver")
Signed-off-by: Benoit Sevens <bsevens(a)google.com>
Cc: stable(a)vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil(a)xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Zeng Heng <zengheng4(a)huawei.com>
---
drivers/media/usb/uvc/uvc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index 37d75bc97fd8..c19b75f2daf0 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -712,7 +712,7 @@ static int uvc_parse_streaming(struct uvc_device *dev,
streaming->nformats = 0;
/* Parse the format descriptors. */
- while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE) {
+ while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE) {
switch (buffer[2]) {
case UVC_VS_FORMAT_UNCOMPRESSED:
case UVC_VS_FORMAT_MJPEG:
--
2.25.1
2
1
*** BLURB HERE ***
Zizhi Wo (2):
Revert "xfs: split xfs_mod_freecounter"
xfs: Fix data overflow in xfs_mod_fdblocks()
fs/xfs/libxfs/xfs_ag.c | 4 ++-
fs/xfs/libxfs/xfs_ag_resv.c | 24 +++++++++----
fs/xfs/libxfs/xfs_ag_resv.h | 2 +-
fs/xfs/libxfs/xfs_alloc.c | 4 +--
fs/xfs/libxfs/xfs_bmap.c | 21 ++++++------
fs/xfs/scrub/fscounters.c | 2 +-
fs/xfs/xfs_fsops.c | 29 +++++++++++-----
fs/xfs/xfs_fsops.h | 2 +-
fs/xfs/xfs_mount.c | 67 ++++++++++++++++++-------------------
fs/xfs/xfs_mount.h | 27 +++++----------
fs/xfs/xfs_super.c | 6 +++-
fs/xfs/xfs_trace.h | 1 +
fs/xfs/xfs_trans.c | 21 ++++++++----
13 files changed, 117 insertions(+), 93 deletions(-)
--
2.46.1
2
3

[openeuler:OLK-6.6] BUILD REGRESSION 39c261e60f0891bbf1a4405522c7e14f0a072b60
by kernel test robot 07 Dec '24
by kernel test robot 07 Dec '24
07 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 39c261e60f0891bbf1a4405522c7e14f0a072b60 !14101 [sync] PR-14087: v2 drivers/perf: hisi: Add support for HiSilicon DDRC v3 PMU driver
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412070024.wP2d7kdl-lkp@intel.com
./drivers/scsi/leapioraid/leapioraid_app.c: 44 linux/version.h not needed.
./drivers/scsi/leapioraid/leapioraid_func.c: 44 linux/version.h not needed.
./drivers/scsi/leapioraid/leapioraid_os.c: 43 linux/version.h not needed.
arch/loongarch/kernel/efi.c:79:33: error: implicit declaration of function 'pmd_mkhuge'; did you mean 'pte_mkhuge'? [-Wimplicit-function-declaration]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-001-20241206
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-002-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-003-20241206
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-004-20241206
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- arm64-randconfig-051-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-052-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-053-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-054-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-055-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- loongarch-allmodconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allyesconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-randconfig-001-20241206
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-002-20241206
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-cgroup-cgroup.c:error:cgroup_psi_stat_show-undeclared-here-(not-in-a-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_func.c:linux-version.h-not-needed.
| `-- drivers-scsi-leapioraid-leapioraid_os.c:linux-version.h-not-needed.
|-- x86_64-buildonly-randconfig-001-20241206
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-003-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-004-20241206
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-buildonly-randconfig-005-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-006-20241206
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-randconfig-123
| |-- fs-userfaultfd.c:sparse:sparse:invalid-assignment:
| |-- include-linux-userfaultfd_k.h:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-uffd_flags_t-usertype-flags-got-unsigned-int-enum-mfill_atomic_mode-mode
| `-- include-linux-userfaultfd_k.h:sparse:sparse:restricted-uffd_flags_t-degrades-to-integer
`-- x86_64-randconfig-161-20241206
|-- block-bdev.c-bdev_open_by_dev()-warn:possible-memory-leak-of-handle
|-- block-blk-mq.c-queue_update_fair_tag_sharing()-warn:iterator-i-not-incremented
|-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
|-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
|-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 725m
configs tested: 16
configs skipped: 122
tested configs:
arm64 allmodconfig clang-20
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241206 clang-14
arm64 randconfig-002-20241206 gcc-14.2.0
arm64 randconfig-003-20241206 clang-20
arm64 randconfig-004-20241206 clang-20
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
loongarch randconfig-001-20241206 gcc-14.2.0
loongarch randconfig-002-20241206 gcc-14.2.0
x86_64 buildonly-randconfig-001-20241206 gcc-12
x86_64 buildonly-randconfig-002-20241206 gcc-12
x86_64 buildonly-randconfig-003-20241206 gcc-12
x86_64 buildonly-randconfig-004-20241206 clang-19
x86_64 buildonly-randconfig-005-20241206 gcc-11
x86_64 buildonly-randconfig-006-20241206 clang-19
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5
by kernel test robot 07 Dec '24
by kernel test robot 07 Dec '24
07 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5 !14086 ocfs2: uncache inode which has failed entering the group
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412061809.pAIeGbw0-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412061939.xbaFzshA-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412062047.T2j25jn7-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412062204.1rdIvvRJ-lkp@intel.com
arch/arm64/kvm/hyp/nvhe/../aarch32.c:127: warning: Function parameter or member 'is_wide_instr' not described in 'kvm_skip_instr32'
arch/arm64/kvm/hyp/vhe/../aarch32.c:127: warning: Function parameter or member 'is_wide_instr' not described in 'kvm_skip_instr32'
arch/x86/kernel/livepatch.c:234:6: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
arch/x86/kernel/livepatch.c:240:6: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
drivers/crypto/hisilicon/qm.c:2755:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:5776:1: warning: label 'out_dbg_init' defined but not used [-Wunused-label]
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:6088:1: warning: label 'err_init_guid_fail' defined but not used [-Wunused-label]
drivers/ub/urma/uburma/uburma_dev_ops.c:32:5: warning: no previous prototype for 'uburma_mmap' [-Wmissing-prototypes]
kernel/livepatch/core.c:1229:5: warning: no previous prototype for function 'klp_try_disable_patch' [-Wmissing-prototypes]
kernel/livepatch/core.c:1263:13: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
kernel/livepatch/core.c:1267:13: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
kernel/livepatch/core.c:1396:5: warning: no previous prototype for function 'klp_try_enable_patch' [-Wmissing-prototypes]
kernel/livepatch/core.c:68:16: warning: no previous prototype for function 'klp_check_patch_kprobed' [-Wmissing-prototypes]
Unverified Error/Warning (likely false positive, kindly check if interested):
fs/erofs/inode.c:70 erofs_read_inode() error: __memcpy() 'copied' too small (64 vs 4096)
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allnoconfig
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| `-- kismet:WARNING:unmet-direct-dependencies-detected-for-CPPC_CPUFREQ_SYSFS_INTERFACE-when-selected-by-CPU_FREQ_GOV_SEEP
|-- arm64-defconfig
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_create_ttt_levels
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_get_num_brps
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_get_num_wrps
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_ipa_limit
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_populate_par_region
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_supports_pmu
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_supports_sve
| |-- arch-arm64-kvm-hyp-nvhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- arch-arm64-kvm-hyp-vhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- drivers-crypto-hisilicon-qm.c:warning:strncpy-specified-bound-depends-on-the-length-of-the-source-argument
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:label-err_init_guid_fail-defined-but-not-used
| `-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:label-out_dbg_init-defined-but-not-used
|-- arm64-randconfig-002
| `-- drivers-firmware-efi-libstub-..-..-..-..-lib-decompress_unlzo.c:warning:variable-level-set-but-not-used
|-- arm64-randconfig-051-20241206
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241206
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241206
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241206
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241206
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-buildonly-randconfig-001-20241125
| `-- arch-x86-kernel-fpu-xstate.o:warning:objtool:get_xsave_addr:unreachable-instruction
|-- x86_64-buildonly-randconfig-002-20241112
| `-- drivers-ub-urma-uburma-uburma_dev_ops.c:warning:no-previous-prototype-for-uburma_mmap
|-- x86_64-buildonly-randconfig-002-20241206
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| `-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
|-- x86_64-buildonly-randconfig-004-20241206
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| `-- sound-soc-meson-t9015.c:warning:unused-variable-t9015_ids
|-- x86_64-buildonly-randconfig-005-20241206
| `-- fs-ntfs3-frecord.o:warning:objtool:.text.unlikely:unexpected-end-of-section
|-- x86_64-buildonly-randconfig-006-20241206
| `-- drivers-gpu-drm-loongson-lsdc_plane.o:warning:objtool:lsdc_plane_init-falls-through-to-next-function-lsdc_plane_reset()
|-- x86_64-randconfig-123-20241205
| |-- arch-x86-kernel-livepatch.c:warning:no-previous-prototype-for-function-arch_klp_code_modify_post_process
| |-- arch-x86-kernel-livepatch.c:warning:no-previous-prototype-for-function-arch_klp_code_modify_prepare
| |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_defines.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__le16.
| |-- drivers-net-ethernet-mucse-rnpgbevf-rnpgbevf_main.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-types):
| |-- drivers-net-ethernet-mucse-rnpgbevf-vf.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-types):
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_cmd.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__be16.
| |-- drivers-net-ethernet-yunsilicon-xsc-common-xsc_cmd.h:sparse:sparse:invalid-bitfield-specifier-for-type-restricted-__be32.
| |-- kernel-livepatch-core.c:warning:no-previous-prototype-for-function-arch_klp_code_modify_post_process
| |-- kernel-livepatch-core.c:warning:no-previous-prototype-for-function-arch_klp_code_modify_prepare
| |-- kernel-livepatch-core.c:warning:no-previous-prototype-for-function-klp_check_patch_kprobed
| |-- kernel-livepatch-core.c:warning:no-previous-prototype-for-function-klp_try_disable_patch
| `-- kernel-livepatch-core.c:warning:no-previous-prototype-for-function-klp_try_enable_patch
`-- x86_64-randconfig-161
`-- fs-erofs-inode.c-erofs_read_inode()-error:__memcpy()-copied-too-small-(-vs-)
elapsed time: 729m
configs tested: 12
configs skipped: 123
tested configs:
arm64 allmodconfig clang-20
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001 gcc-14.2.0
arm64 randconfig-002 gcc-14.2.0
arm64 randconfig-003 clang-15
arm64 randconfig-004 clang-20
x86_64 buildonly-randconfig-001-20241206 gcc-12
x86_64 buildonly-randconfig-002-20241206 gcc-12
x86_64 buildonly-randconfig-003-20241206 gcc-12
x86_64 buildonly-randconfig-004-20241206 clang-19
x86_64 buildonly-randconfig-005-20241206 gcc-11
x86_64 buildonly-randconfig-006-20241206 clang-19
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1604/1604] versioncheck: ./drivers/scsi/leapioraid/leapioraid_app.c: 44 linux/version.h not needed.
by kernel test robot 07 Dec '24
by kernel test robot 07 Dec '24
07 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 39c261e60f0891bbf1a4405522c7e14f0a072b60
commit: 7fea595ef48e9ab13bd31df067b19152153e1925 [1604/1604] SCSI: LEAPIORAID: Supports LEAPIO RAID controller
reproduce: (https://download.01.org/0day-ci/archive/20241207/202412070024.wP2d7kdl-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412070024.wP2d7kdl-lkp@intel.com/
versioncheck warnings: (new ones prefixed by >>)
INFO PATH=/opt/cross/rustc-1.73.0-bindgen-0.65.1/cargo/bin:/opt/cross/clang-19/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/usr/bin/timeout -k 100 3h /usr/bin/make KCFLAGS= -Wtautological-compare -Wno-error=return-type -Wreturn-type -Wcast-function-type -funsigned-char -Wundef -fstrict-flex-arrays=3 -Wformat-overflow -Wformat-truncation -Wenum-conversion W=1 --keep-going LLVM=1 -j32 ARCH=x86_64 versioncheck
find ./* \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o \
-name '*.[hcS]' -type f -print | sort \
| xargs perl -w ./scripts/checkversion.pl
./drivers/accessibility/speakup/genmap.c: 13 linux/version.h not needed.
./drivers/accessibility/speakup/makemapdata.c: 13 linux/version.h not needed.
./drivers/char/ipmi/ipmi_si_ls2k500.c: 19 linux/version.h not needed.
./drivers/crypto/ccp/hygon/hct.c: 6 linux/version.h not needed.
./drivers/crypto/ccp/hygon/tdm-dev.h: 29 linux/version.h not needed.
./drivers/crypto/montage/tsse/tsse_vuart.c: 21 linux/version.h not needed.
./drivers/gpu/drm/phytium/phytium_gem.c: 9 linux/version.h not needed.
./drivers/i2c/busses/i2c-zhaoxin.c: 18 linux/version.h not needed.
./drivers/net/ethernet/3snic/sssnic/include/kernel/sss_linux_kernel.h: 13 linux/version.h not needed.
./drivers/net/ethernet/huawei/bma/edma_drv/bma_include.h: 32 linux/version.h not needed.
./drivers/net/ethernet/huawei/bma/edma_drv/bma_pci.c: 17 linux/version.h not needed.
./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_include.h: 20 linux/version.h not needed.
./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_main.c: 22 linux/version.h not needed.
./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_mce.c: 16 linux/version.h not needed.
./drivers/net/ethernet/huawei/bma/kbox_drv/kbox_ram_op.c: 16 linux/version.h not needed.
./drivers/net/ethernet/huawei/hinic/ossl_knl.h: 22 linux/version.h not needed.
./drivers/net/ethernet/huawei/hinic3/ossl_knl_linux.h: 11 linux/version.h not needed.
./drivers/net/ethernet/mucse/rnpm/rnpm_common.h: 7 linux/version.h not needed.
./drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h: 26 linux/version.h not needed.
./drivers/scsi/hisi_raid/hiraid_main.c: 9 linux/version.h not needed.
>> ./drivers/scsi/leapioraid/leapioraid_app.c: 44 linux/version.h not needed.
>> ./drivers/scsi/leapioraid/leapioraid_func.c: 44 linux/version.h not needed.
>> ./drivers/scsi/leapioraid/leapioraid_os.c: 43 linux/version.h not needed.
./drivers/scsi/sssraid/sssraid_fw.c: 6 linux/version.h not needed.
./drivers/scsi/sssraid/sssraid_os.c: 6 linux/version.h not needed.
./drivers/staging/media/atomisp/include/linux/atomisp.h: 23 linux/version.h not needed.
./fs/proc/etmem_scan.c: 13 linux/version.h not needed.
./samples/bpf/spintest.bpf.c: 8 linux/version.h not needed.
./samples/trace_events/trace_custom_sched.c: 11 linux/version.h not needed.
./sound/soc/codecs/cs42l42.c: 14 linux/version.h not needed.
./tools/lib/bpf/bpf_helpers.h: 402: need linux/version.h
./tools/testing/selftests/bpf/progs/dev_cgroup.c: 9 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/netcnt_prog.c: 3 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_map_lock.c: 4 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_send_signal_kern.c: 4 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_spin_lock.c: 4 linux/version.h not needed.
./tools/testing/selftests/bpf/progs/test_tcp_estats.c: 37 linux/version.h not needed.
./tools/testing/selftests/wireguard/qemu/init.c: 27 linux/version.h not needed.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5
commit: 656d579e9c4f700f9f7debda0c2541f34fc39a35 [2544/2544] drivers: initial support for rnpgbevf drivers from Mucse Technology
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241206/202412062204.1rdIvvRJ-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412062204.1rdIvvRJ-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412062204.1rdIvvRJ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_mbx.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
--
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_sysfs.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
--
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/vf.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
>> drivers/net/ethernet/mucse/rnpgbevf/vf.c:236:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:236:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:236:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:238:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:238:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:238:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:239:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:239:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:239:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:240:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:240:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:240:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/vf.c:241:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/vf.c:241:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/vf.c:241:9: sparse: void *
--
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_ethtool.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
--
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c: note: in included file (through drivers/net/ethernet/mucse/rnpgbevf/vf.h, drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf.h):
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:64:39: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h:65:40: sparse: sparse: invalid bitfield specifier for type restricted __le16.
>> drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:111:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:111:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:111:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1969:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1969:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:1969:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2026:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2026:17: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:2026:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3163:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3163:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3163:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3206:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3206:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3206:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3283:25: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3283:25: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3283:25: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3343:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3343:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3343:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3347:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3347:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3347:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3424:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3424:17: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3424:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3466:17: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3466:17: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:3466:17: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4031:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4031:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4031:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4035:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4035:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4035:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4133:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4133:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4133:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4137:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4137:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4137:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4277:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4277:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4277:9: sparse: void *
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4367:9: sparse: sparse: incompatible types in conditional expression (different types):
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4367:9: sparse: void
drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.c:4367:9: sparse: void *
vim +64 drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_defines.h
51
52 /* Transmit Descriptor - Advanced */
53 struct rnp_tx_desc {
54 union {
55 __le64 pkt_addr; /* Packet buffer address */
56 struct {
57 __le32 adr_lo;
58 __le32 adr_hi;
59 };
60 };
61 __le16 blen;
62 union {
63 struct {
> 64 __le16 ip_len : 9;
65 __le16 mac_len : 7;
66 };
67 __le16 mac_ip_len; /* used only in tso & csum */
68 };
69 __le16 vlan;
70 #define RNPGBE_TXD_FLAGS_VLAN_PRIO_MASK 0xe000
71 #define RNPGBE_TX_FLAGS_VLAN_PRIO_SHIFT 13
72 #define RNPGBE_TX_FLAGS_VLAN_CFI_SHIFT 12
73
74 __le16 cmd;
75 #define RNPGBE_TXD_VLAN_VALID (0x1 << 15)
76 #define RNPGBE_TXD_SVLAN_TYPE (0x1 << 9)
77 #define RNPGBE_TXD_VLAN_CTRL_NOP (0x00 << 13)
78 #define RNPGBE_TXD_VLAN_CTRL_RM_VLAN (0x01 << 13)
79 #define RNPGBE_TXD_VLAN_CTRL_INSERT_VLAN (0x02 << 13)
80 #define RNPGBE_TXD_L4_CSUM (0x1 << 12)
81 #define RNPGBE_TXD_IP_CSUM (0x1 << 11)
82 #define RNPGBE_TXD_TUNNEL_MASK (0x3000000)
83 #define RNPGBE_TXD_TUNNEL_VXLAN (0x01 << 8)
84 #define RNPGBE_TXD_TUNNEL_NVGRE (0x02 << 8)
85 #define RNPGBE_TXD_L4_TYPE_UDP (0x03 << 6)
86 #define RNPGBE_TXD_L4_TYPE_TCP (0x01 << 6)
87 #define RNPGBE_TXD_L4_TYPE_SCTP (0x02 << 6)
88 #define RNPGBE_TXD_FLAG_IPV4 (0x0 << 5)
89 #define RNPGBE_TXD_FLAG_IPV6 (0x1 << 5)
90 #define RNPGBE_TXD_FLAG_TSO (0x1 << 4)
91 #define RNPGBE_TXD_CMD_RS (0x1 << 2)
92 #define RNPGBE_TXD_STAT_DD (0x1 << 1)
93 #define RNPGBE_TXD_CMD_EOP (0x1 << 0)
94 } __packed;
95
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2564/2564] arch/arm64/kvm/cvm.c:71:6: warning: no previous prototype for 'kvm_cvm_supports_sve'
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
Hi Jingxian,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5
commit: ae80c7e2f5cd3e50d1f360c387a33088310d54a0 [2564/2564] kvm: add cvm host feature
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241206/202412062256.lzHxGK2W-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412062256.lzHxGK2W-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412062256.lzHxGK2W-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/arm64/kvm/cvm.c:42:5: warning: no previous prototype for 'cvm_phys_to_phys' [-Wmissing-prototypes]
42 | u64 cvm_phys_to_phys(u64 phys)
| ^~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:71:6: warning: no previous prototype for 'kvm_cvm_supports_sve' [-Wmissing-prototypes]
71 | bool kvm_cvm_supports_sve(void)
| ^~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:76:6: warning: no previous prototype for 'kvm_cvm_supports_pmu' [-Wmissing-prototypes]
76 | bool kvm_cvm_supports_pmu(void)
| ^~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:81:5: warning: no previous prototype for 'kvm_cvm_ipa_limit' [-Wmissing-prototypes]
81 | u32 kvm_cvm_ipa_limit(void)
| ^~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:86:5: warning: no previous prototype for 'kvm_cvm_get_num_brps' [-Wmissing-prototypes]
86 | u32 kvm_cvm_get_num_brps(void)
| ^~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:91:5: warning: no previous prototype for 'kvm_cvm_get_num_wrps' [-Wmissing-prototypes]
91 | u32 kvm_cvm_get_num_wrps(void)
| ^~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:240:5: warning: no previous prototype for 'kvm_cvm_create_ttt_levels' [-Wmissing-prototypes]
240 | int kvm_cvm_create_ttt_levels(struct kvm *kvm, struct cvm *cvm,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kvm/cvm.c:301:5: warning: no previous prototype for 'kvm_cvm_populate_par_region' [-Wmissing-prototypes]
301 | int kvm_cvm_populate_par_region(struct kvm *kvm,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/kvm_cvm_supports_sve +71 arch/arm64/kvm/cvm.c
70
> 71 bool kvm_cvm_supports_sve(void)
72 {
73 return tmm_supports(TMI_FEATURE_REGISTER_0_SVE_EN);
74 }
75
> 76 bool kvm_cvm_supports_pmu(void)
77 {
78 return tmm_supports(TMI_FEATURE_REGISTER_0_PMU_EN);
79 }
80
> 81 u32 kvm_cvm_ipa_limit(void)
82 {
83 return u64_get_bits(tmm_feat_reg0, TMI_FEATURE_REGISTER_0_S2SZ);
84 }
85
> 86 u32 kvm_cvm_get_num_brps(void)
87 {
88 return u64_get_bits(tmm_feat_reg0, TMI_FEATURE_REGISTER_0_NUM_BPS);
89 }
90
> 91 u32 kvm_cvm_get_num_wrps(void)
92 {
93 return u64_get_bits(tmm_feat_reg0, TMI_FEATURE_REGISTER_0_NUM_WPS);
94 }
95
96 static int cvm_vmid_reserve(void)
97 {
98 int ret;
99 unsigned int vmid_count = 1 << kvm_get_vmid_bits();
100
101 spin_lock(&cvm_vmid_lock);
102 ret = bitmap_find_free_region(cvm_vmid_bitmap, vmid_count, 0);
103 spin_unlock(&cvm_vmid_lock);
104
105 return ret;
106 }
107
108 static void cvm_vmid_release(unsigned int vmid)
109 {
110 spin_lock(&cvm_vmid_lock);
111 bitmap_release_region(cvm_vmid_bitmap, vmid, 0);
112 spin_unlock(&cvm_vmid_lock);
113 }
114
115 static u32 __kvm_pgd_page_idx(struct kvm_pgtable *pgt, u64 addr)
116 {
117 u64 shift = ARM64_HW_PGTABLE_LEVEL_SHIFT(pgt->start_level - 1);
118 u64 mask = BIT(pgt->ia_bits) - 1;
119
120 return (addr & mask) >> shift;
121 }
122
123 static u32 kvm_pgd_pages(u32 ia_bits, u32 start_level)
124 {
125 struct kvm_pgtable pgt = {
126 .ia_bits = ia_bits,
127 .start_level = start_level,
128 };
129 return __kvm_pgd_page_idx(&pgt, -1ULL) + 1;
130 }
131
132 int kvm_arm_create_cvm(struct kvm *kvm)
133 {
134 int ret;
135 struct kvm_pgtable *pgt = kvm->arch.mmu.pgt;
136 unsigned int pgd_sz;
137
138 if (!kvm_is_cvm(kvm) || kvm_cvm_state(kvm) != CVM_STATE_NONE)
139 return 0;
140
141 ret = cvm_vmid_reserve();
142 if (ret < 0)
143 return ret;
144
145 kvm->arch.cvm.cvm_vmid = ret;
146
147 pgd_sz = kvm_pgd_pages(pgt->ia_bits, pgt->start_level);
148
149 kvm->arch.cvm.params->ttt_base = phys_to_cvm_phys(kvm->arch.mmu.pgd_phys);
150 kvm->arch.cvm.params->measurement_algo = 0;
151 kvm->arch.cvm.params->ttt_level_start = kvm->arch.mmu.pgt->start_level;
152 kvm->arch.cvm.params->ttt_num_start = pgd_sz;
153 kvm->arch.cvm.params->s2sz = VTCR_EL2_IPA(kvm->arch.vtcr);
154 kvm->arch.cvm.params->vmid = kvm->arch.cvm.cvm_vmid;
155 kvm->arch.cvm.params->ns_vtcr = kvm->arch.vtcr;
156 kvm->arch.cvm.params->vttbr_el2 = kvm->arch.mmu.pgd_phys;
157 ret = tmi_cvm_create(kvm->arch.cvm.rd, __pa(kvm->arch.cvm.params));
158 if (!ret)
159 kvm_info("KVM creates cVM: %d\n", kvm->arch.cvm.cvm_vmid);
160
161 WRITE_ONCE(kvm->arch.cvm.state, CVM_STATE_NEW);
162 kfree(kvm->arch.cvm.params);
163 kvm->arch.cvm.params = NULL;
164 return ret;
165 }
166
167 int cvm_create_rd(struct kvm *kvm)
168 {
169 if (!static_key_enabled(&kvm_cvm_is_available))
170 return -EFAULT;
171
172 kvm->arch.cvm.rd = tmi_mem_alloc(kvm->arch.cvm.rd, NO_NUMA,
173 TMM_MEM_TYPE_RD, TMM_MEM_MAP_SIZE_MAX);
174 if (!kvm->arch.cvm.rd) {
175 kvm_err("tmi_mem_alloc for cvm rd failed: %d\n", kvm->arch.cvm.cvm_vmid);
176 return -ENOMEM;
177 }
178 kvm->arch.is_cvm = true;
179 return 0;
180 }
181
182 void kvm_free_rd(struct kvm *kvm)
183 {
184 int ret;
185
186 if (!kvm->arch.cvm.rd)
187 return;
188
189 ret = tmi_mem_free(kvm->arch.cvm.rd, NO_NUMA, TMM_MEM_TYPE_RD, TMM_MEM_MAP_SIZE_MAX);
190 if (ret)
191 kvm_err("tmi_mem_free for cvm rd failed: %d\n", kvm->arch.cvm.cvm_vmid);
192 else
193 kvm->arch.cvm.rd = 0;
194 }
195
196 void kvm_destroy_cvm(struct kvm *kvm)
197 {
198 uint32_t cvm_vmid = kvm->arch.cvm.cvm_vmid;
199
200 kfree(kvm->arch.cvm.params);
201 kvm->arch.cvm.params = NULL;
202
203 if (kvm_cvm_state(kvm) == CVM_STATE_NONE)
204 return;
205
206 cvm_vmid_release(cvm_vmid);
207
208 WRITE_ONCE(kvm->arch.cvm.state, CVM_STATE_DYING);
209
210 if (!tmi_cvm_destroy(kvm->arch.cvm.rd))
211 kvm_info("KVM has destroyed cVM: %d\n", kvm->arch.cvm.cvm_vmid);
212
213 kvm_free_rd(kvm);
214 }
215
216 static int kvm_get_host_numa_node_by_ipa(uint64_t ipa, struct kvm_vcpu *vcpu)
217 {
218 int i;
219 struct kvm_numa_info *numa_info = &vcpu->kvm->arch.cvm.numa_info;
220
221 for (i = 0; i < numa_info->numa_cnt && i < MAX_NUMA_NODE; i++) {
222 struct kvm_numa_node *numa_node = &numa_info->numa_nodes[i];
223
224 if (ipa >= numa_node->ipa_start &&
225 ipa < (numa_node->ipa_start + numa_node->ipa_size))
226 return numa_node->host_numa_node;
227 }
228 return NO_NUMA;
229 }
230
231 static int kvm_cvm_ttt_create(struct cvm *cvm,
232 unsigned long addr,
233 int level,
234 phys_addr_t phys)
235 {
236 addr = ALIGN_DOWN(addr, cvm_ttt_level_mapsize(level - 1));
237 return tmi_ttt_create(phys, cvm->rd, addr, level);
238 }
239
> 240 int kvm_cvm_create_ttt_levels(struct kvm *kvm, struct cvm *cvm,
241 unsigned long ipa,
242 int level,
243 int max_level,
244 struct kvm_mmu_memory_cache *mc)
245 {
246 if (WARN_ON(level == max_level))
247 return 0;
248
249 while (level++ < max_level) {
250 phys_addr_t ttt;
251
252 ttt = tmi_mem_alloc(cvm->rd, NO_NUMA,
253 TMM_MEM_TYPE_TTT, TMM_MEM_MAP_SIZE_MAX);
254 if (ttt == 0)
255 return -ENOMEM;
256
257 if (kvm_cvm_ttt_create(cvm, ipa, level, ttt)) {
258 (void)tmi_mem_free(ttt, NO_NUMA, TMM_MEM_TYPE_TTT, TMM_MEM_MAP_SIZE_MAX);
259 return -ENXIO;
260 }
261 }
262
263 return 0;
264 }
265
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2564/2564] drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:5776:1: warning: label 'out_dbg_init' defined but not used
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
Hi Haibin,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5
commit: b0c148879a02ad602d4526521d88b0a274aabe8d [2564/2564] UNIC: The driver loading process is terminated when the guid fails to be obtained.
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241206/202412062047.T2j25jn7-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412062047.T2j25jn7-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412062047.T2j25jn7-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c: In function 'hns3_client_init':
>> drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:5776:1: warning: label 'out_dbg_init' defined but not used [-Wunused-label]
5776 | out_dbg_init:
| ^~~~~~~~~~~~
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c: In function 'hns3_reset_notify_init_enet':
>> drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:6088:1: warning: label 'err_init_guid_fail' defined but not used [-Wunused-label]
6088 | err_init_guid_fail:
| ^~~~~~~~~~~~~~~~~~
vim +/out_dbg_init +5776 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5757
5758 hns3_state_init(handle);
5759
5760 if (test_bit(HNAE3_DEV_SUPPORT_QB_B, ae_dev->caps))
5761 set_bit(HNAE3_PFLAG_FD_QB_ENABLE, &handle->supported_pflags);
5762
5763 ret = register_netdev(netdev);
5764 if (ret) {
5765 dev_err(priv->dev, "probe register netdev fail!\n");
5766 goto out_reg_netdev_fail;
5767 }
5768
5769 if (netif_msg_drv(handle))
5770 hns3_info_show(priv);
5771
5772 return ret;
5773
5774 out_reg_netdev_fail:
5775 hns3_state_uninit(handle);
> 5776 out_dbg_init:
5777 hns3_dbg_uninit(handle);
5778 hns3_client_stop(handle);
5779 out_client_start:
5780 hns3_free_rx_cpu_rmap(netdev);
5781 hns3_nic_uninit_irq(priv);
5782 out_init_irq_fail:
5783 hns3_uninit_phy(netdev);
5784 out_init_phy:
5785 hns3_uninit_all_ring(priv);
5786 out_init_ring:
5787 hns3_nic_uninit_vector_data(priv);
5788 out_init_vector_data:
5789 hns3_nic_dealloc_vector_data(priv);
5790 out_alloc_vector_data:
5791 priv->ring = NULL;
5792 out_get_ring_cfg:
5793 priv->ae_handle = NULL;
5794 free_netdev(netdev);
5795 return ret;
5796 }
5797
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-6.6] LeapIOraid: Fix the compilation warnings in LeapIOraid driver in loongarch64
by haodongdong 06 Dec '24
by haodongdong 06 Dec '24
06 Dec '24
LeapIO inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IB9KS0
------------------------------------------
This commit is to Fix the compilation warnings
in LeapIOraid driver in loongarch64:
1. warning: no previous prototype for
'XXX'[-Wmissing-prototypes], etc.
2. warning: variable 'XXX' set but not
used [-Wunused-but-set-variable], etc.
3. warning: '%d' directive output may be truncated writing
between 1 and 3 bytes into a region of size between
1 and 26 [-Wformat-truncation=], etc.
Signed-off-by: haodongdong <doubled(a)leap-io.com>
---
drivers/scsi/leapioraid/leapioraid_func.c | 39 +++++++++----------
drivers/scsi/leapioraid/leapioraid_func.h | 9 ++---
drivers/scsi/leapioraid/leapioraid_os.c | 24 ++++++------
.../scsi/leapioraid/leapioraid_transport.c | 2 +-
4 files changed, 35 insertions(+), 39 deletions(-)
diff --git a/drivers/scsi/leapioraid/leapioraid_func.c b/drivers/scsi/leapioraid/leapioraid_func.c
index 82945c0431394..b52cd6c925558 100644
--- a/drivers/scsi/leapioraid/leapioraid_func.c
+++ b/drivers/scsi/leapioraid/leapioraid_func.c
@@ -306,7 +306,7 @@ leapioraid_udp_init(void)
memset(&msg, 0, sizeof(msg));
msg.msg_name = &dest_addr;
msg.msg_namelen = sizeof(struct sockaddr_in);
- return 0;
+ return ret;
}
static void
@@ -389,7 +389,7 @@ leapioraid_base_start_log_watchdog(struct LEAPIORAID_ADAPTER *ioc)
leapioraid_udp_init();
INIT_DELAYED_WORK(&ioc->pcie_log_work, leapioraid_base_pcie_log_work);
snprintf(ioc->pcie_log_work_q_name,
- sizeof(ioc->pcie_log_work_q_name), "poll_%s%d_status",
+ sizeof(ioc->pcie_log_work_q_name), "poll_%s%u_status",
ioc->driver_name, ioc->id);
ioc->pcie_log_work_q =
create_singlethread_workqueue(ioc->pcie_log_work_q_name);
@@ -585,7 +585,7 @@ leapioraid_base_start_watchdog(struct LEAPIORAID_ADAPTER *ioc)
INIT_DELAYED_WORK(&ioc->fault_reset_work,
leapioraid_base_fault_reset_work);
snprintf(ioc->fault_reset_work_q_name,
- sizeof(ioc->fault_reset_work_q_name), "poll_%s%d_status",
+ sizeof(ioc->fault_reset_work_q_name), "poll_%s%u_status",
ioc->driver_name, ioc->id);
ioc->fault_reset_work_q =
create_singlethread_workqueue(ioc->fault_reset_work_q_name);
@@ -634,7 +634,7 @@ leapioraid_base_start_hba_unplug_watchdog(struct LEAPIORAID_ADAPTER *ioc)
leapioraid_base_hba_hot_unplug_work);
snprintf(ioc->hba_hot_unplug_work_q_name,
sizeof(ioc->hba_hot_unplug_work_q_name),
- "poll_%s%d_hba_unplug", ioc->driver_name, ioc->id);
+ "poll_%s%u_hba_unplug", ioc->driver_name, ioc->id);
ioc->hba_hot_unplug_work_q =
create_singlethread_workqueue(ioc->hba_hot_unplug_work_q_name);
if (!ioc->hba_hot_unplug_work_q) {
@@ -667,7 +667,7 @@ leapioraid_base_stop_hba_unplug_watchdog(struct LEAPIORAID_ADAPTER *ioc)
}
}
-void
+static void
leapioraid_base_stop_smart_polling(struct LEAPIORAID_ADAPTER *ioc)
{
struct workqueue_struct *wq;
@@ -1296,7 +1296,7 @@ union leapioraid_reply_descriptor {
} u;
};
-int
+static int
leapioraid_base_process_reply_queue(
struct leapioraid_adapter_reply_queue *reply_q)
{
@@ -1465,6 +1465,7 @@ leapioraid_base_interrupt(int irq, void *bus_id)
IRQ_HANDLED : IRQ_NONE);
}
+static
int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
{
struct leapioraid_adapter_reply_queue *reply_q;
@@ -1486,7 +1487,7 @@ int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
return num_entries;
}
-void
+static void
leapioraid_base_init_irqpolls(struct LEAPIORAID_ADAPTER *ioc)
{
struct leapioraid_adapter_reply_queue *reply_q, *next;
@@ -1717,7 +1718,7 @@ leapioraid_base_build_sg_scmd_ieee(struct LEAPIORAID_ADAPTER *ioc,
struct LeapioraidSCSIIOReq_t *mpi_request;
dma_addr_t chain_dma;
struct scatterlist *sg_scmd;
- void *sg_local, *chain, *sgl_zero_addr;
+ void *sg_local, *chain;
u32 chain_offset;
u32 chain_length;
int sges_left;
@@ -1743,7 +1744,7 @@ leapioraid_base_build_sg_scmd_ieee(struct LEAPIORAID_ADAPTER *ioc,
dev_name(&scmd->device->sdev_gendev), scsi_bufflen(scmd));
return -ENOMEM;
}
- sgl_zero_addr = sg_local = &mpi_request->SGL;
+ sg_local = &mpi_request->SGL;
sges_in_segment = (ioc->request_sz -
offsetof(struct LeapioraidSCSIIOReq_t,
SGL)) / ioc->sge_size_ieee;
@@ -2015,7 +2016,7 @@ leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
{
struct leapioraid_adapter_reply_queue *reply_q;
int r;
- int qid;
+ u8 qid;
reply_q = kzalloc(sizeof(struct leapioraid_adapter_reply_queue),
GFP_KERNEL);
@@ -2027,7 +2028,7 @@ leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
atomic_set(&reply_q->busy, 0);
if (index >= ioc->iopoll_q_start_index) {
qid = index - ioc->iopoll_q_start_index;
- snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-mq-poll%d",
+ snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-mq-poll%u",
ioc->driver_name, ioc->id, qid);
reply_q->is_blk_mq_poll_q = 1;
ioc->blk_mq_poll_queues[qid].reply_q = reply_q;
@@ -2036,7 +2037,7 @@ leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
return 0;
}
if (ioc->msix_enable)
- snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-msix%d",
+ snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-msix%u",
ioc->driver_name, ioc->id, index);
else
snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d",
@@ -3917,10 +3918,10 @@ base_alloc_rdpq_dma_pool(struct LEAPIORAID_ADAPTER *ioc, int sz)
}
static int
-leapioraid_base_allocate_chain_dma_pool(struct LEAPIORAID_ADAPTER *ioc, int sz,
- struct leapioraid_chain_tracker *ctr)
+leapioraid_base_allocate_chain_dma_pool(struct LEAPIORAID_ADAPTER *ioc, int sz)
{
int i = 0, j = 0;
+ struct leapioraid_chain_tracker *ctr;
ioc->chain_dma_pool = dma_pool_create("chain pool", &ioc->pdev->dev,
ioc->chain_segment_sz, 16, 0);
@@ -4083,7 +4084,6 @@ leapioraid_base_allocate_memory_pools(struct LEAPIORAID_ADAPTER *ioc)
unsigned short sg_tablesize;
u16 sge_size;
int i = 0;
- struct leapioraid_chain_tracker *ct;
dinitprintk(ioc, pr_info("%s %s\n", ioc->name,
__func__));
@@ -4303,8 +4303,7 @@ leapioraid_base_allocate_memory_pools(struct LEAPIORAID_ADAPTER *ioc)
}
}
ioc->chains_per_prp_buffer = 0;
- rc = leapioraid_base_allocate_chain_dma_pool(ioc, ioc->chain_segment_sz,
- ct);
+ rc = leapioraid_base_allocate_chain_dma_pool(ioc, ioc->chain_segment_sz);
if (rc == -ENOMEM)
return -ENOMEM;
else if (rc == -EAGAIN) {
@@ -4410,7 +4409,7 @@ leapioraid_base_allocate_memory_pools(struct LEAPIORAID_ADAPTER *ioc)
return rc;
}
-void
+static void
leapioraid_base_flush_ios_and_panic(
struct LEAPIORAID_ADAPTER *ioc, u16 fault_code)
{
@@ -5720,7 +5719,6 @@ leapioraid_base_hard_reset_handler(
{
int r;
unsigned long flags;
- u32 ioc_state;
dtmprintk(ioc, pr_info("%s %s: enter\n", ioc->name,
__func__));
@@ -5749,7 +5747,7 @@ leapioraid_base_hard_reset_handler(
spin_lock_irqsave(&ioc->ioc_reset_in_progress_lock, flags);
ioc->shost_recovery = 1;
spin_unlock_irqrestore(&ioc->ioc_reset_in_progress_lock, flags);
- ioc_state = leapioraid_base_get_iocstate(ioc, 0);
+ leapioraid_base_get_iocstate(ioc, 0);
leapioraid_base_reset_handler(ioc, LEAPIORAID_IOC_PRE_RESET_PHASE);
leapioraid_wait_for_commands_to_complete(ioc);
leapioraid_base_mask_interrupts(ioc);
@@ -6060,6 +6058,7 @@ leapioraid_config_request(
mpi_request,
sizeof(struct LeapioraidCfgReq_t) / 4,
issue_reset);
+ pr_info("%s issue_reset=%d\n", __func__, issue_reset);
retry_count++;
if (ioc->config_cmds.smid == smid)
leapioraid_base_free_smid(ioc, smid);
diff --git a/drivers/scsi/leapioraid/leapioraid_func.h b/drivers/scsi/leapioraid/leapioraid_func.h
index 1980cfc244d64..9cf8206ccb3ce 100644
--- a/drivers/scsi/leapioraid/leapioraid_func.h
+++ b/drivers/scsi/leapioraid/leapioraid_func.h
@@ -582,17 +582,16 @@ struct LEAPIORAID_ADAPTER {
int bars;
u8 mask_interrupts;
struct mutex pci_access_mutex;
- char fault_reset_work_q_name[20];
- char hba_hot_unplug_work_q_name[20];
+ char fault_reset_work_q_name[48];
+ char hba_hot_unplug_work_q_name[48];
struct workqueue_struct *fault_reset_work_q;
struct workqueue_struct *hba_hot_unplug_work_q;
struct delayed_work fault_reset_work;
struct delayed_work hba_hot_unplug_work;
- char smart_poll_work_q_name[20];
struct workqueue_struct *smart_poll_work_q;
struct delayed_work smart_poll_work;
u8 adapter_over_temp;
- char firmware_event_name[20];
+ char firmware_event_name[48];
struct workqueue_struct *firmware_event_thread;
spinlock_t fw_event_lock;
struct list_head fw_event_list;
@@ -814,7 +813,7 @@ struct LEAPIORAID_ADAPTER {
struct list_head port_table_list;
u8 *log_buffer;
dma_addr_t log_buffer_dma;
- char pcie_log_work_q_name[20];
+ char pcie_log_work_q_name[48];
struct workqueue_struct *pcie_log_work_q;
struct delayed_work pcie_log_work;
u32 open_pcie_trace;
diff --git a/drivers/scsi/leapioraid/leapioraid_os.c b/drivers/scsi/leapioraid/leapioraid_os.c
index 4d2a7d064826c..83d47e7bcaec7 100644
--- a/drivers/scsi/leapioraid/leapioraid_os.c
+++ b/drivers/scsi/leapioraid/leapioraid_os.c
@@ -505,7 +505,8 @@ leapioraid_scsihost_determine_boot_device(
}
}
-static struct leapioraid_sas_device *__leapioraid_get_sdev_from_target(
+static
+struct leapioraid_sas_device *__leapioraid_get_sdev_from_target(
struct LEAPIORAID_ADAPTER *ioc,
struct LEAPIORAID_TARGET *tgt_priv)
{
@@ -518,6 +519,7 @@ static struct leapioraid_sas_device *__leapioraid_get_sdev_from_target(
return ret;
}
+static
struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
struct LEAPIORAID_ADAPTER *ioc,
struct LEAPIORAID_TARGET *tgt_priv)
@@ -531,6 +533,7 @@ struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
return ret;
}
+static
struct leapioraid_sas_device *__leapioraid_get_sdev_by_addr(
struct LEAPIORAID_ADAPTER *ioc,
u64 sas_address, struct leapioraid_hba_port *port)
@@ -863,6 +866,7 @@ struct leapioraid_raid_sas_node *leapioraid_scsihost_expander_find_by_handle(
return r;
}
+static
struct leapioraid_enclosure_node *leapioraid_scsihost_enclosure_find_by_handle(
struct LEAPIORAID_ADAPTER *ioc,
u16 handle)
@@ -1850,7 +1854,7 @@ leapioraid_scsihost_clear_tm_flag(
}
}
-int
+static int
leapioraid_scsihost_tm_cmd_map_status(
struct LEAPIORAID_ADAPTER *ioc, uint channel,
uint id, uint lun, u8 type, u16 smid_task)
@@ -1885,7 +1889,7 @@ leapioraid_scsihost_tm_cmd_map_status(
return FAILED;
}
-int
+static int
leapioraid_scsihost_tm_post_processing(struct LEAPIORAID_ADAPTER *ioc, u16 handle,
uint channel, uint id, uint lun, u8 type,
u16 smid_task)
@@ -3599,7 +3603,6 @@ leapioraid_scsihost_flush_running_cmds(
struct LEAPIORAID_ADAPTER *ioc)
{
struct scsi_cmnd *scmd;
- struct LeapioraidSCSIIOReq_t *mpi_request;
struct leapioraid_scsiio_tracker *st;
u16 smid;
u16 count = 0;
@@ -3613,7 +3616,7 @@ leapioraid_scsihost_flush_running_cmds(
if (st && st->smid == 0)
continue;
leapioraid_scsihost_set_satl_pending(scmd, false);
- mpi_request = leapioraid_base_get_msg_frame(ioc, smid);
+ leapioraid_base_get_msg_frame(ioc, smid);
scsi_dma_unmap(scmd);
leapioraid_base_clear_st(ioc, st);
@@ -5290,7 +5293,6 @@ leapioraid_scsi_send_scsi_io(
struct LeapioraidSCSIIORep_t *mpi_reply;
struct LeapioSCSIIOReq_t *mpi_request;
u16 smid;
- unsigned long timeleft;
u8 issue_reset = 0;
int rc;
void *priv_sense;
@@ -5394,7 +5396,7 @@ leapioraid_scsi_send_scsi_io(
ioc->put_smid_scsi_io(ioc, smid, handle);
else
ioc->put_smid_default(ioc, smid);
- timeleft = wait_for_completion_timeout(&ioc->scsih_cmds.done,
+ wait_for_completion_timeout(&ioc->scsih_cmds.done,
transfer_packet->timeout * HZ);
if (!(ioc->scsih_cmds.status & LEAPIORAID_CMD_COMPLETE)) {
leapioraid_check_cmd_timeout(ioc,
@@ -7167,6 +7169,7 @@ leapioraid_scsihost_reprobe_lun(
sdev_printk(KERN_INFO, sdev, "%s raid component\n",
sdev->no_uld_attach ? "hiding" : "exposing");
rc = scsi_device_reprobe(sdev);
+ pr_info("%s rc=%d\n", __func__, rc);
}
static void
@@ -7724,7 +7727,6 @@ static void
leapioraid_scsihost_update_device_qdepth(struct LEAPIORAID_ADAPTER *ioc)
{
struct LEAPIORAID_DEVICE *sas_device_priv_data;
- struct LEAPIORAID_TARGET *sas_target_priv_data;
struct leapioraid_sas_device *sas_device;
struct scsi_device *sdev;
u16 qdepth;
@@ -7734,7 +7736,6 @@ leapioraid_scsihost_update_device_qdepth(struct LEAPIORAID_ADAPTER *ioc)
shost_for_each_device(sdev, ioc->shost) {
sas_device_priv_data = sdev->hostdata;
if (sas_device_priv_data && sas_device_priv_data->sas_target) {
- sas_target_priv_data = sas_device_priv_data->sas_target;
sas_device = sas_device_priv_data->sas_target->sas_dev;
if (sas_device &&
sas_device->device_info & LEAPIORAID_SAS_DEVICE_INFO_SSP_TARGET)
@@ -9376,7 +9377,6 @@ leapioraid_scsihost_probe(
struct LEAPIORAID_ADAPTER *ioc;
struct Scsi_Host *shost = NULL;
int rv;
- u8 revision;
shost = scsi_host_alloc(&leapioraid_driver_template,
sizeof(struct LEAPIORAID_ADAPTER));
@@ -9387,8 +9387,6 @@ leapioraid_scsihost_probe(
ioc->id = leapioraid_ids++;
sprintf(ioc->driver_name, "%s", LEAPIORAID_DRIVER_NAME);
- revision = pdev->revision;
-
ioc->combined_reply_queue = 1;
ioc->nc_reply_index_count = 16;
ioc->multipath_on_hba = 1;
@@ -9461,7 +9459,7 @@ leapioraid_scsihost_probe(
ioc->disable_eedp_support = 1;
snprintf(ioc->firmware_event_name, sizeof(ioc->firmware_event_name),
- "fw_event_%s%d", ioc->driver_name, ioc->id);
+ "fw_event_%s%u", ioc->driver_name, ioc->id);
ioc->firmware_event_thread =
alloc_ordered_workqueue(ioc->firmware_event_name, 0);
if (!ioc->firmware_event_thread) {
diff --git a/drivers/scsi/leapioraid/leapioraid_transport.c b/drivers/scsi/leapioraid/leapioraid_transport.c
index ecfbdcc129613..e7ff263a8b6e7 100644
--- a/drivers/scsi/leapioraid/leapioraid_transport.c
+++ b/drivers/scsi/leapioraid/leapioraid_transport.c
@@ -100,7 +100,7 @@ leapioraid_transport_find_parent_node(
return 0;
}
-u8
+static u8
leapioraid_transport_get_port_id_by_rphy(struct LEAPIORAID_ADAPTER *ioc,
struct sas_rphy *rphy)
{
--
2.25.1
2
1

[PATCH OLK-6.6] LeapIOraid: Fix the compilation warnings in LeapIOraid driver in loongarch64
by haodongdong 06 Dec '24
by haodongdong 06 Dec '24
06 Dec '24
LeapIO inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IB9KS0
------------------------------------------
This commit is to Fix the compilation warnings
in LeapIOraid driver in loongarch64:
1. warning: no previous prototype for
'XXX'[-Wmissing-prototypes], etc.
2. warning: variable 'XXX' set but not
used [-Wunused-but-set-variable], etc.
3. warning: '%d' directive output may be truncated writing
between 1 and 3 bytes into a region of size between
1 and 26 [-Wformat-truncation=], etc.
Signed-off-by: haodongdong <doubled(a)leap-io.com>
---
drivers/scsi/leapioraid/leapioraid_func.c | 39 +++++++++----------
drivers/scsi/leapioraid/leapioraid_func.h | 9 ++---
drivers/scsi/leapioraid/leapioraid_os.c | 24 ++++++------
.../scsi/leapioraid/leapioraid_transport.c | 2 +-
4 files changed, 35 insertions(+), 39 deletions(-)
diff --git a/drivers/scsi/leapioraid/leapioraid_func.c b/drivers/scsi/leapioraid/leapioraid_func.c
index 82945c0431394..b52cd6c925558 100644
--- a/drivers/scsi/leapioraid/leapioraid_func.c
+++ b/drivers/scsi/leapioraid/leapioraid_func.c
@@ -306,7 +306,7 @@ leapioraid_udp_init(void)
memset(&msg, 0, sizeof(msg));
msg.msg_name = &dest_addr;
msg.msg_namelen = sizeof(struct sockaddr_in);
- return 0;
+ return ret;
}
static void
@@ -389,7 +389,7 @@ leapioraid_base_start_log_watchdog(struct LEAPIORAID_ADAPTER *ioc)
leapioraid_udp_init();
INIT_DELAYED_WORK(&ioc->pcie_log_work, leapioraid_base_pcie_log_work);
snprintf(ioc->pcie_log_work_q_name,
- sizeof(ioc->pcie_log_work_q_name), "poll_%s%d_status",
+ sizeof(ioc->pcie_log_work_q_name), "poll_%s%u_status",
ioc->driver_name, ioc->id);
ioc->pcie_log_work_q =
create_singlethread_workqueue(ioc->pcie_log_work_q_name);
@@ -585,7 +585,7 @@ leapioraid_base_start_watchdog(struct LEAPIORAID_ADAPTER *ioc)
INIT_DELAYED_WORK(&ioc->fault_reset_work,
leapioraid_base_fault_reset_work);
snprintf(ioc->fault_reset_work_q_name,
- sizeof(ioc->fault_reset_work_q_name), "poll_%s%d_status",
+ sizeof(ioc->fault_reset_work_q_name), "poll_%s%u_status",
ioc->driver_name, ioc->id);
ioc->fault_reset_work_q =
create_singlethread_workqueue(ioc->fault_reset_work_q_name);
@@ -634,7 +634,7 @@ leapioraid_base_start_hba_unplug_watchdog(struct LEAPIORAID_ADAPTER *ioc)
leapioraid_base_hba_hot_unplug_work);
snprintf(ioc->hba_hot_unplug_work_q_name,
sizeof(ioc->hba_hot_unplug_work_q_name),
- "poll_%s%d_hba_unplug", ioc->driver_name, ioc->id);
+ "poll_%s%u_hba_unplug", ioc->driver_name, ioc->id);
ioc->hba_hot_unplug_work_q =
create_singlethread_workqueue(ioc->hba_hot_unplug_work_q_name);
if (!ioc->hba_hot_unplug_work_q) {
@@ -667,7 +667,7 @@ leapioraid_base_stop_hba_unplug_watchdog(struct LEAPIORAID_ADAPTER *ioc)
}
}
-void
+static void
leapioraid_base_stop_smart_polling(struct LEAPIORAID_ADAPTER *ioc)
{
struct workqueue_struct *wq;
@@ -1296,7 +1296,7 @@ union leapioraid_reply_descriptor {
} u;
};
-int
+static int
leapioraid_base_process_reply_queue(
struct leapioraid_adapter_reply_queue *reply_q)
{
@@ -1465,6 +1465,7 @@ leapioraid_base_interrupt(int irq, void *bus_id)
IRQ_HANDLED : IRQ_NONE);
}
+static
int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
{
struct leapioraid_adapter_reply_queue *reply_q;
@@ -1486,7 +1487,7 @@ int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
return num_entries;
}
-void
+static void
leapioraid_base_init_irqpolls(struct LEAPIORAID_ADAPTER *ioc)
{
struct leapioraid_adapter_reply_queue *reply_q, *next;
@@ -1717,7 +1718,7 @@ leapioraid_base_build_sg_scmd_ieee(struct LEAPIORAID_ADAPTER *ioc,
struct LeapioraidSCSIIOReq_t *mpi_request;
dma_addr_t chain_dma;
struct scatterlist *sg_scmd;
- void *sg_local, *chain, *sgl_zero_addr;
+ void *sg_local, *chain;
u32 chain_offset;
u32 chain_length;
int sges_left;
@@ -1743,7 +1744,7 @@ leapioraid_base_build_sg_scmd_ieee(struct LEAPIORAID_ADAPTER *ioc,
dev_name(&scmd->device->sdev_gendev), scsi_bufflen(scmd));
return -ENOMEM;
}
- sgl_zero_addr = sg_local = &mpi_request->SGL;
+ sg_local = &mpi_request->SGL;
sges_in_segment = (ioc->request_sz -
offsetof(struct LeapioraidSCSIIOReq_t,
SGL)) / ioc->sge_size_ieee;
@@ -2015,7 +2016,7 @@ leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
{
struct leapioraid_adapter_reply_queue *reply_q;
int r;
- int qid;
+ u8 qid;
reply_q = kzalloc(sizeof(struct leapioraid_adapter_reply_queue),
GFP_KERNEL);
@@ -2027,7 +2028,7 @@ leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
atomic_set(&reply_q->busy, 0);
if (index >= ioc->iopoll_q_start_index) {
qid = index - ioc->iopoll_q_start_index;
- snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-mq-poll%d",
+ snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-mq-poll%u",
ioc->driver_name, ioc->id, qid);
reply_q->is_blk_mq_poll_q = 1;
ioc->blk_mq_poll_queues[qid].reply_q = reply_q;
@@ -2036,7 +2037,7 @@ leapioraid_base_request_irq(struct LEAPIORAID_ADAPTER *ioc, u8 index)
return 0;
}
if (ioc->msix_enable)
- snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-msix%d",
+ snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%u-msix%u",
ioc->driver_name, ioc->id, index);
else
snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d",
@@ -3917,10 +3918,10 @@ base_alloc_rdpq_dma_pool(struct LEAPIORAID_ADAPTER *ioc, int sz)
}
static int
-leapioraid_base_allocate_chain_dma_pool(struct LEAPIORAID_ADAPTER *ioc, int sz,
- struct leapioraid_chain_tracker *ctr)
+leapioraid_base_allocate_chain_dma_pool(struct LEAPIORAID_ADAPTER *ioc, int sz)
{
int i = 0, j = 0;
+ struct leapioraid_chain_tracker *ctr;
ioc->chain_dma_pool = dma_pool_create("chain pool", &ioc->pdev->dev,
ioc->chain_segment_sz, 16, 0);
@@ -4083,7 +4084,6 @@ leapioraid_base_allocate_memory_pools(struct LEAPIORAID_ADAPTER *ioc)
unsigned short sg_tablesize;
u16 sge_size;
int i = 0;
- struct leapioraid_chain_tracker *ct;
dinitprintk(ioc, pr_info("%s %s\n", ioc->name,
__func__));
@@ -4303,8 +4303,7 @@ leapioraid_base_allocate_memory_pools(struct LEAPIORAID_ADAPTER *ioc)
}
}
ioc->chains_per_prp_buffer = 0;
- rc = leapioraid_base_allocate_chain_dma_pool(ioc, ioc->chain_segment_sz,
- ct);
+ rc = leapioraid_base_allocate_chain_dma_pool(ioc, ioc->chain_segment_sz);
if (rc == -ENOMEM)
return -ENOMEM;
else if (rc == -EAGAIN) {
@@ -4410,7 +4409,7 @@ leapioraid_base_allocate_memory_pools(struct LEAPIORAID_ADAPTER *ioc)
return rc;
}
-void
+static void
leapioraid_base_flush_ios_and_panic(
struct LEAPIORAID_ADAPTER *ioc, u16 fault_code)
{
@@ -5720,7 +5719,6 @@ leapioraid_base_hard_reset_handler(
{
int r;
unsigned long flags;
- u32 ioc_state;
dtmprintk(ioc, pr_info("%s %s: enter\n", ioc->name,
__func__));
@@ -5749,7 +5747,7 @@ leapioraid_base_hard_reset_handler(
spin_lock_irqsave(&ioc->ioc_reset_in_progress_lock, flags);
ioc->shost_recovery = 1;
spin_unlock_irqrestore(&ioc->ioc_reset_in_progress_lock, flags);
- ioc_state = leapioraid_base_get_iocstate(ioc, 0);
+ leapioraid_base_get_iocstate(ioc, 0);
leapioraid_base_reset_handler(ioc, LEAPIORAID_IOC_PRE_RESET_PHASE);
leapioraid_wait_for_commands_to_complete(ioc);
leapioraid_base_mask_interrupts(ioc);
@@ -6060,6 +6058,7 @@ leapioraid_config_request(
mpi_request,
sizeof(struct LeapioraidCfgReq_t) / 4,
issue_reset);
+ pr_info("%s issue_reset=%d\n", __func__, issue_reset);
retry_count++;
if (ioc->config_cmds.smid == smid)
leapioraid_base_free_smid(ioc, smid);
diff --git a/drivers/scsi/leapioraid/leapioraid_func.h b/drivers/scsi/leapioraid/leapioraid_func.h
index 1980cfc244d64..9cf8206ccb3ce 100644
--- a/drivers/scsi/leapioraid/leapioraid_func.h
+++ b/drivers/scsi/leapioraid/leapioraid_func.h
@@ -582,17 +582,16 @@ struct LEAPIORAID_ADAPTER {
int bars;
u8 mask_interrupts;
struct mutex pci_access_mutex;
- char fault_reset_work_q_name[20];
- char hba_hot_unplug_work_q_name[20];
+ char fault_reset_work_q_name[48];
+ char hba_hot_unplug_work_q_name[48];
struct workqueue_struct *fault_reset_work_q;
struct workqueue_struct *hba_hot_unplug_work_q;
struct delayed_work fault_reset_work;
struct delayed_work hba_hot_unplug_work;
- char smart_poll_work_q_name[20];
struct workqueue_struct *smart_poll_work_q;
struct delayed_work smart_poll_work;
u8 adapter_over_temp;
- char firmware_event_name[20];
+ char firmware_event_name[48];
struct workqueue_struct *firmware_event_thread;
spinlock_t fw_event_lock;
struct list_head fw_event_list;
@@ -814,7 +813,7 @@ struct LEAPIORAID_ADAPTER {
struct list_head port_table_list;
u8 *log_buffer;
dma_addr_t log_buffer_dma;
- char pcie_log_work_q_name[20];
+ char pcie_log_work_q_name[48];
struct workqueue_struct *pcie_log_work_q;
struct delayed_work pcie_log_work;
u32 open_pcie_trace;
diff --git a/drivers/scsi/leapioraid/leapioraid_os.c b/drivers/scsi/leapioraid/leapioraid_os.c
index 4d2a7d064826c..83d47e7bcaec7 100644
--- a/drivers/scsi/leapioraid/leapioraid_os.c
+++ b/drivers/scsi/leapioraid/leapioraid_os.c
@@ -505,7 +505,8 @@ leapioraid_scsihost_determine_boot_device(
}
}
-static struct leapioraid_sas_device *__leapioraid_get_sdev_from_target(
+static
+struct leapioraid_sas_device *__leapioraid_get_sdev_from_target(
struct LEAPIORAID_ADAPTER *ioc,
struct LEAPIORAID_TARGET *tgt_priv)
{
@@ -518,6 +519,7 @@ static struct leapioraid_sas_device *__leapioraid_get_sdev_from_target(
return ret;
}
+static
struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
struct LEAPIORAID_ADAPTER *ioc,
struct LEAPIORAID_TARGET *tgt_priv)
@@ -531,6 +533,7 @@ struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
return ret;
}
+static
struct leapioraid_sas_device *__leapioraid_get_sdev_by_addr(
struct LEAPIORAID_ADAPTER *ioc,
u64 sas_address, struct leapioraid_hba_port *port)
@@ -863,6 +866,7 @@ struct leapioraid_raid_sas_node *leapioraid_scsihost_expander_find_by_handle(
return r;
}
+static
struct leapioraid_enclosure_node *leapioraid_scsihost_enclosure_find_by_handle(
struct LEAPIORAID_ADAPTER *ioc,
u16 handle)
@@ -1850,7 +1854,7 @@ leapioraid_scsihost_clear_tm_flag(
}
}
-int
+static int
leapioraid_scsihost_tm_cmd_map_status(
struct LEAPIORAID_ADAPTER *ioc, uint channel,
uint id, uint lun, u8 type, u16 smid_task)
@@ -1885,7 +1889,7 @@ leapioraid_scsihost_tm_cmd_map_status(
return FAILED;
}
-int
+static int
leapioraid_scsihost_tm_post_processing(struct LEAPIORAID_ADAPTER *ioc, u16 handle,
uint channel, uint id, uint lun, u8 type,
u16 smid_task)
@@ -3599,7 +3603,6 @@ leapioraid_scsihost_flush_running_cmds(
struct LEAPIORAID_ADAPTER *ioc)
{
struct scsi_cmnd *scmd;
- struct LeapioraidSCSIIOReq_t *mpi_request;
struct leapioraid_scsiio_tracker *st;
u16 smid;
u16 count = 0;
@@ -3613,7 +3616,7 @@ leapioraid_scsihost_flush_running_cmds(
if (st && st->smid == 0)
continue;
leapioraid_scsihost_set_satl_pending(scmd, false);
- mpi_request = leapioraid_base_get_msg_frame(ioc, smid);
+ leapioraid_base_get_msg_frame(ioc, smid);
scsi_dma_unmap(scmd);
leapioraid_base_clear_st(ioc, st);
@@ -5290,7 +5293,6 @@ leapioraid_scsi_send_scsi_io(
struct LeapioraidSCSIIORep_t *mpi_reply;
struct LeapioSCSIIOReq_t *mpi_request;
u16 smid;
- unsigned long timeleft;
u8 issue_reset = 0;
int rc;
void *priv_sense;
@@ -5394,7 +5396,7 @@ leapioraid_scsi_send_scsi_io(
ioc->put_smid_scsi_io(ioc, smid, handle);
else
ioc->put_smid_default(ioc, smid);
- timeleft = wait_for_completion_timeout(&ioc->scsih_cmds.done,
+ wait_for_completion_timeout(&ioc->scsih_cmds.done,
transfer_packet->timeout * HZ);
if (!(ioc->scsih_cmds.status & LEAPIORAID_CMD_COMPLETE)) {
leapioraid_check_cmd_timeout(ioc,
@@ -7167,6 +7169,7 @@ leapioraid_scsihost_reprobe_lun(
sdev_printk(KERN_INFO, sdev, "%s raid component\n",
sdev->no_uld_attach ? "hiding" : "exposing");
rc = scsi_device_reprobe(sdev);
+ pr_info("%s rc=%d\n", __func__, rc);
}
static void
@@ -7724,7 +7727,6 @@ static void
leapioraid_scsihost_update_device_qdepth(struct LEAPIORAID_ADAPTER *ioc)
{
struct LEAPIORAID_DEVICE *sas_device_priv_data;
- struct LEAPIORAID_TARGET *sas_target_priv_data;
struct leapioraid_sas_device *sas_device;
struct scsi_device *sdev;
u16 qdepth;
@@ -7734,7 +7736,6 @@ leapioraid_scsihost_update_device_qdepth(struct LEAPIORAID_ADAPTER *ioc)
shost_for_each_device(sdev, ioc->shost) {
sas_device_priv_data = sdev->hostdata;
if (sas_device_priv_data && sas_device_priv_data->sas_target) {
- sas_target_priv_data = sas_device_priv_data->sas_target;
sas_device = sas_device_priv_data->sas_target->sas_dev;
if (sas_device &&
sas_device->device_info & LEAPIORAID_SAS_DEVICE_INFO_SSP_TARGET)
@@ -9376,7 +9377,6 @@ leapioraid_scsihost_probe(
struct LEAPIORAID_ADAPTER *ioc;
struct Scsi_Host *shost = NULL;
int rv;
- u8 revision;
shost = scsi_host_alloc(&leapioraid_driver_template,
sizeof(struct LEAPIORAID_ADAPTER));
@@ -9387,8 +9387,6 @@ leapioraid_scsihost_probe(
ioc->id = leapioraid_ids++;
sprintf(ioc->driver_name, "%s", LEAPIORAID_DRIVER_NAME);
- revision = pdev->revision;
-
ioc->combined_reply_queue = 1;
ioc->nc_reply_index_count = 16;
ioc->multipath_on_hba = 1;
@@ -9461,7 +9459,7 @@ leapioraid_scsihost_probe(
ioc->disable_eedp_support = 1;
snprintf(ioc->firmware_event_name, sizeof(ioc->firmware_event_name),
- "fw_event_%s%d", ioc->driver_name, ioc->id);
+ "fw_event_%s%u", ioc->driver_name, ioc->id);
ioc->firmware_event_thread =
alloc_ordered_workqueue(ioc->firmware_event_name, 0);
if (!ioc->firmware_event_thread) {
diff --git a/drivers/scsi/leapioraid/leapioraid_transport.c b/drivers/scsi/leapioraid/leapioraid_transport.c
index ecfbdcc129613..e7ff263a8b6e7 100644
--- a/drivers/scsi/leapioraid/leapioraid_transport.c
+++ b/drivers/scsi/leapioraid/leapioraid_transport.c
@@ -100,7 +100,7 @@ leapioraid_transport_find_parent_node(
return 0;
}
-u8
+static u8
leapioraid_transport_get_port_id_by_rphy(struct LEAPIORAID_ADAPTER *ioc,
struct sas_rphy *rphy)
{
--
2.25.1
2
1

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5
commit: 23b8024ef459f8b615c223df6175ea17c6b50c48 [2544/2544] drivers: update yunsilicon drivers to version 1.1.0.375
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241206/202412061939.xbaFzshA-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412061939.xbaFzshA-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412061939.xbaFzshA-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/wait.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/kobject.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/timer.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/qp.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:25:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:27:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:28:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:29:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:36:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:42:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:43:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:46:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:48:15: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:53:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:55:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:56:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:61:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/qp.h:62:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file:
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/vport.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/qpts.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, drivers/net/ethernet/yunsilicon/xsc/common/res_obj.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/res_obj.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/res_obj.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h, drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, ...):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h, drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:913:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:914:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:915:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:916:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:918:41: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:919:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:920:48: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:921:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:922:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:923:51: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:924:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
>> drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:935:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:936:35: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:937:36: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:938:37: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:939:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:940:42: sparse: sparse: invalid bitfield specifier for type restricted __be16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:988:36: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:989:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:990:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:991:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:992:34: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:993:35: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:994:28: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:995:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:996:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:997:42: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:998:40: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:999:39: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1000:32: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1001:29: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1006:44: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1007:45: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h:1008:37: sparse: sparse: invalid bitfield specifier for type restricted __be32.
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/common/driver.h):
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:209:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:219:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:222:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:234:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:244:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:247:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:265:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:360:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:361:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:362:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:365:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:366:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:367:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:370:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:371:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/common/xsc_hsi.h:372:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
vim +913 drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmd.h
910
911 /* vport mbox */
912 struct xsc_nic_vport_context {
> 913 __be32 min_wqe_inline_mode:3;
914 __be32 disable_mc_local_lb:1;
> 915 __be32 disable_uc_local_lb:1;
916 __be32 roce_en:1;
917
918 __be32 arm_change_event:1;
919 __be32 event_on_mtu:1;
920 __be32 event_on_promisc_change:1;
921 __be32 event_on_vlan_change:1;
922 __be32 event_on_mc_address_change:1;
923 __be32 event_on_uc_address_change:1;
924 __be32 affiliation_criteria:4;
925 __be32 affiliated_vhca_id;
926
927 __be16 mtu;
928
929 __be64 system_image_guid;
930 __be64 port_guid;
931 __be64 node_guid;
932
933 __be32 qkey_violation_counter;
934
> 935 __be16 promisc_uc:1;
936 __be16 promisc_mc:1;
937 __be16 promisc_all:1;
938 __be16 vlan_allowed:1;
939 __be16 allowed_list_type:3;
940 __be16 allowed_list_size:10;
941
942 u8 permanent_address[6];
943 u8 current_address[6];
944 u8 current_uc_mac_address[0][2];
945 };
946
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2564/2564] drivers/crypto/hisilicon/qm.c:2755:9: warning: 'strncpy' specified bound depends on the length of the source argument
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
Hi Weili,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 9cf5f60a8d57b2498fb9f9223825d6933b2d2fd5
commit: a1666f44c2250f7413e73e2f4c02cb2c01f9e3b0 [2564/2564] crypto: hisilicon/qm - support no-sva feature
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20241206/202412061809.pAIeGbw0-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412061809.pAIeGbw0-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412061809.pAIeGbw0-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/crypto/hisilicon/qm.c: In function 'qm_alloc_uacce':
>> drivers/crypto/hisilicon/qm.c:2755:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
2755 | strncpy(interface.name, pdev->driver->name, name_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/crypto/hisilicon/qm.c:2748:20: note: length computed here
2748 | name_len = strlen(pdev->driver->name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/strncpy +2755 drivers/crypto/hisilicon/qm.c
2737
2738 static int qm_alloc_uacce(struct hisi_qm *qm)
2739 {
2740 struct pci_dev *pdev = qm->pdev;
2741 struct uacce_interface interface;
2742 struct uacce_device *uacce;
2743 int name_len;
2744
2745 if (!qm->use_uacce)
2746 return 0;
2747
2748 name_len = strlen(pdev->driver->name);
2749 if (name_len >= UACCE_MAX_NAME_SIZE) {
2750 pci_err(pdev, "The driver name(%d) is longer than %d!\n",
2751 name_len, UACCE_MAX_NAME_SIZE);
2752 return -EINVAL;
2753 }
2754
> 2755 strncpy(interface.name, pdev->driver->name, name_len);
2756 interface.name[name_len] = '\0';
2757
2758 interface.flags = qm->use_iommu ? UACCE_DEV_IOMMU : UACCE_DEV_NOIOMMU;
2759 if (qm->mode == UACCE_MODE_SVA) {
2760 if (!qm->use_iommu) {
2761 pci_err(pdev, "iommu not support sva!\n");
2762 return -EINVAL;
2763 }
2764
2765 interface.flags |= UACCE_DEV_SVA;
2766 }
2767
2768 interface.ops = &uacce_qm_ops;
2769 uacce = uacce_alloc(&pdev->dev, &interface);
2770 if (IS_ERR(uacce)) {
2771 pci_err(pdev, "fail to alloc uacce device\n!");
2772 return PTR_ERR(uacce);
2773 }
2774 qm->uacce = uacce;
2775
2776 qm_uacce_base_init(qm);
2777 qm->uacce = uacce;
2778 INIT_LIST_HEAD(&qm->isolate_data.qm_hw_errs);
2779 mutex_init(&qm->isolate_data.isolate_lock);
2780
2781 return 0;
2782 }
2783
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-5.10 0/3] RDMA/hns: backport some bugfix from maillist linux
by Chengchang Tang 06 Dec '24
by Chengchang Tang 06 Dec '24
06 Dec '24
From: Xinghai Cen <cenxinghai(a)h-partners.com>
[RDMA/hns] backport some bugfix from maillist linux:
Xinghai Cen (1):
Revert "RDMA/hns: Fix an AEQE overflow error caused by untimely update
of eq_db_ci"
wenglianfa (2):
RDMA/hns: Fix flush cqe error when racing with destroy qp
RDMA/hns: Fix an AEQE overflow error caused by untimely update of
eq_db_ci
drivers/infiniband/hw/hns/hns_roce_device.h | 3 +
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 13 +++-
drivers/infiniband/hw/hns/hns_roce_qp.c | 69 ++++++++++++++-------
3 files changed, 63 insertions(+), 22 deletions(-)
--
2.33.0
2
4

[PATCH OLK-6.6] drm/loongson: disable loongson drm driver by default for LS7A2000
by Hongchen Zhang 06 Dec '24
by Hongchen Zhang 06 Dec '24
06 Dec '24
From: Tianrui Zhao <zhaotianrui(a)loongson.cn>
LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IB8U6Q
CVE: NA
--------------------------------
LS7A2000 no longer use loongson drm driver, but instead use
dkms software package.
Signed-off-by: Tianrui Zhao <zhaotianrui(a)loongson.cn>
---
arch/loongarch/configs/loongson3_defconfig | 2 +-
drivers/gpu/drm/Makefile | 2 +-
drivers/gpu/drm/loongson/lsdc_drv.c | 9 +++++++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
index 5602d9fe182b..87f95a997e83 100644
--- a/arch/loongarch/configs/loongson3_defconfig
+++ b/arch/loongarch/configs/loongson3_defconfig
@@ -1473,7 +1473,7 @@ CONFIG_DRM_AST_LOONGSON=y
CONFIG_DRM_MGAG200=m
CONFIG_DRM_QXL=m
CONFIG_DRM_VIRTIO_GPU=m
-CONFIG_DRM_LOONGSON=y
+CONFIG_DRM_LOONGSON=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_FB=y
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index b120267fbe40..7ba2ec90c3f7 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -197,6 +197,6 @@ obj-y += gud/
obj-$(CONFIG_DRM_HYPERV) += hyperv/
obj-y += solomon/
obj-$(CONFIG_DRM_SPRD) += sprd/
-obj-$(CONFIG_DRM_LOONGSON) += loongson/
+obj-y += loongson/
obj-$(CONFIG_DRM_PHYTIUM) += phytium/
obj-$(CONFIG_HYDCU_FIXUP_HEADER) += hygon/hydcu-fixup-header/
diff --git a/drivers/gpu/drm/loongson/lsdc_drv.c b/drivers/gpu/drm/loongson/lsdc_drv.c
index 188ec82afcfb..75329eb31e79 100644
--- a/drivers/gpu/drm/loongson/lsdc_drv.c
+++ b/drivers/gpu/drm/loongson/lsdc_drv.c
@@ -30,6 +30,10 @@
#define DRIVER_MINOR 0
#define DRIVER_PATCHLEVEL 0
+int loongson_lg100_support;
+MODULE_PARM_DESC(LG100_support, "LG100 support (1 = enabled, 0 = disabled)");
+module_param_named(LG100_support, loongson_lg100_support, int, 0444);
+
DEFINE_DRM_GEM_FOPS(lsdc_gem_fops);
static const struct drm_driver lsdc_drm_driver = {
@@ -264,6 +268,11 @@ static int lsdc_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
struct lsdc_device *ldev;
int ret;
+ /* loongson drm driver will not be used on 7A2000 */
+ if ((enum loongson_chip_id)ent->driver_data == CHIP_LS7A2000 &&
+ !loongson_lg100_support)
+ return -ENODEV;
+
descp = lsdc_device_probe(pdev, ent->driver_data);
if (IS_ERR_OR_NULL(descp))
return -ENODEV;
--
2.33.0
2
1

[PATCH OLK-6.6] drm/loongson: disable loongson drm driver by default for LS7A2000
by Hongchen Zhang 06 Dec '24
by Hongchen Zhang 06 Dec '24
06 Dec '24
From: Tianrui Zhao <zhaotianrui(a)loongson.cn>
LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IB8U6Q
CVE: NA
--------------------------------
LS7A2000 no longer use loongson drm driver, but instead use
dkms software package.
Signed-off-by: Tianrui Zhao <zhaotianrui(a)loongson.cn>
---
arch/loongarch/configs/loongson3_defconfig | 2 +-
drivers/gpu/drm/Makefile | 2 +-
drivers/gpu/drm/loongson/lsdc_drv.c | 9 +++++++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig
index 5602d9fe182b..87f95a997e83 100644
--- a/arch/loongarch/configs/loongson3_defconfig
+++ b/arch/loongarch/configs/loongson3_defconfig
@@ -1473,7 +1473,7 @@ CONFIG_DRM_AST_LOONGSON=y
CONFIG_DRM_MGAG200=m
CONFIG_DRM_QXL=m
CONFIG_DRM_VIRTIO_GPU=m
-CONFIG_DRM_LOONGSON=y
+CONFIG_DRM_LOONGSON=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_FB=y
diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile
index 83153ec4c006..e3863fae6f31 100644
--- a/drivers/gpu/drm/Makefile
+++ b/drivers/gpu/drm/Makefile
@@ -197,7 +197,7 @@ obj-y += gud/
obj-$(CONFIG_DRM_HYPERV) += hyperv/
obj-y += solomon/
obj-$(CONFIG_DRM_SPRD) += sprd/
-obj-$(CONFIG_DRM_LOONGSON) += loongson/
+obj-y += loongson/
obj-$(CONFIG_DRM_PHYTIUM) += phytium/
obj-$(CONFIG_HYDCU_FIXUP_HEADER) += hygon/hydcu-fixup-header/
obj-$(CONFIG_DRM_HEL) += hel/
diff --git a/drivers/gpu/drm/loongson/lsdc_drv.c b/drivers/gpu/drm/loongson/lsdc_drv.c
index 188ec82afcfb..75329eb31e79 100644
--- a/drivers/gpu/drm/loongson/lsdc_drv.c
+++ b/drivers/gpu/drm/loongson/lsdc_drv.c
@@ -30,6 +30,10 @@
#define DRIVER_MINOR 0
#define DRIVER_PATCHLEVEL 0
+int loongson_lg100_support;
+MODULE_PARM_DESC(LG100_support, "LG100 support (1 = enabled, 0 = disabled)");
+module_param_named(LG100_support, loongson_lg100_support, int, 0444);
+
DEFINE_DRM_GEM_FOPS(lsdc_gem_fops);
static const struct drm_driver lsdc_drm_driver = {
@@ -264,6 +268,11 @@ static int lsdc_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
struct lsdc_device *ldev;
int ret;
+ /* loongson drm driver will not be used on 7A2000 */
+ if ((enum loongson_chip_id)ent->driver_data == CHIP_LS7A2000 &&
+ !loongson_lg100_support)
+ return -ENODEV;
+
descp = lsdc_device_probe(pdev, ent->driver_data);
if (IS_ERR_OR_NULL(descp))
return -ENODEV;
--
2.33.0
2
1

[openeuler:OLK-5.10 2544/2544] drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 62115cd26964793faf7258b85de408a84e2db5b1
commit: d48b7d951d22f7f97d68ae7b580769827683d404 [2544/2544] drivers: initial support for xsc drivers from Yunsilicon Technology
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241206/202412061521.TPZ6nryY-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412061521.TPZ6nryY-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412061521.TPZ6nryY-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/main.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/interrupt.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/eq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/wait.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/debugfs.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/intf.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/wq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc/pci/wq.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/qp.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc/pci/qp.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:26:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:27:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:28:32: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:29:36: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:30:31: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/qp.h:37:53: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:43:52: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:44:50: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:47:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:48:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:49:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:54:40: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:56:45: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:57:48: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:62:46: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/qp.h:63:44: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/port.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/cmd2.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pagealloc.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mr.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pd.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/mad.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/timer.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_lag.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/kobject.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/pci_irq.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_pci_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/vport.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/kernel.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/skbuff.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/eswitch.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/devlink.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/string.h, include/linux/uuid.h, include/linux/mod_devicetable.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/kernel.h, include/asm-generic/bug.h, arch/x86/include/asm/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/asm-generic/bug.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/sriov_sysfs.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/kernel.h, include/linux/list.h, include/linux/module.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, include/linux/list.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/xsc_port_ctrl.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/cmd.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/osdep.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_mem.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_res.c: note: in included file (through drivers/net/ethernet/yunsilicon/xsc//common/driver.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h, ...):
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
--
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/printk.h, include/linux/kernel.h, drivers/net/ethernet/yunsilicon/xsc//common/xsc_core.h):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/string.h, include/linux/bitmap.h, include/linux/cpumask.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file (through include/linux/filter.h, include/net/sock.h, include/linux/tcp.h, include/linux/ipv6.h, ...):
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: Expected ) in function call
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:44: sparse: sparse: got <
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:43: sparse: sparse: not a function <noident>
/opt/cross/clang-ab51eccf88/lib/clang/19/include/stdarg.h:22:22: sparse: sparse: bad constant expression type
drivers/net/ethernet/yunsilicon/xsc/pci/fw/xsc_flow.c: note: in included file:
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:272:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:282:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
>> drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:285:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:297:30: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:307:27: sparse: sparse: invalid bitfield specifier for type restricted __le64.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:310:29: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:328:24: sparse: sparse: invalid bitfield specifier for type restricted __le16.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:423:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:424:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:425:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:428:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:429:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:430:23: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:433:35: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:434:27: sparse: sparse: invalid bitfield specifier for type restricted __le32.
drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h:435:33: sparse: sparse: invalid bitfield specifier for type restricted __le32.
vim +272 drivers/net/ethernet/yunsilicon/xsc//common/xsc_hsi.h
263
264 struct xsc_cqe {
265 union {
266 u8 msg_opcode;
267 struct {
268 u8 error_code:7;
269 u8 is_error:1;
270 };
271 };
> 272 __le32 qp_id:15;
273 u8 rsv1:1;
274 u8 se:1;
275 u8 has_pph:1;
276 u8 type:1;
277 u8 with_immdt:1;
278 u8 csum_err:4;
279 __le32 imm_data;
280 __le32 msg_len;
281 __le32 vni;
> 282 __le64 ts:48;
283 __le16 wqe_id;
284 __le16 rsv[3];
> 285 __le16 rsv2:15;
286 u8 owner:1;
287 };
288
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH openEuler-22.03-LTS-SP1] nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
by Yipeng Zou 06 Dec '24
by Yipeng Zou 06 Dec '24
06 Dec '24
From: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
mainline inclusion
from mainline-v6.12
commit 2026559a6c4ce34db117d2db8f710fe2a9420d5a
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB956M
CVE: CVE-2024-53130
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
When using the "block:block_dirty_buffer" tracepoint, mark_buffer_dirty()
may cause a NULL pointer dereference, or a general protection fault when
KASAN is enabled.
This happens because, since the tracepoint was added in
mark_buffer_dirty(), it references the dev_t member bh->b_bdev->bd_dev
regardless of whether the buffer head has a pointer to a block_device
structure.
In the current implementation, nilfs_grab_buffer(), which grabs a buffer
to read (or create) a block of metadata, including b-tree node blocks,
does not set the block device, but instead does so only if the buffer is
not in the "uptodate" state for each of its caller block reading
functions. However, if the uptodate flag is set on a folio/page, and the
buffer heads are detached from it by try_to_free_buffers(), and new buffer
heads are then attached by create_empty_buffers(), the uptodate flag may
be restored to each buffer without the block device being set to
bh->b_bdev, and mark_buffer_dirty() may be called later in that state,
resulting in the bug mentioned above.
Fix this issue by making nilfs_grab_buffer() always set the block device
of the super block structure to the buffer head, regardless of the state
of the buffer's uptodate flag.
Link: https://lkml.kernel.org/r/20241106160811.3316-3-konishi.ryusuke@gmail.com
Fixes: 5305cb830834 ("block: add block_{touch|dirty}_buffer tracepoint")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
Cc: Tejun Heo <tj(a)kernel.org>
Cc: Ubisectech Sirius <bugreport(a)valiantsec.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
confilct:
fs/nilfs2/page.c
Signed-off-by: Yipeng Zou <zouyipeng(a)huawei.com>
---
fs/nilfs2/btnode.c | 2 --
fs/nilfs2/gcinode.c | 4 +---
fs/nilfs2/mdt.c | 1 -
fs/nilfs2/page.c | 1 +
4 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/nilfs2/btnode.c b/fs/nilfs2/btnode.c
index 793bd853d564..1ee793118c7b 100644
--- a/fs/nilfs2/btnode.c
+++ b/fs/nilfs2/btnode.c
@@ -68,7 +68,6 @@ nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr)
goto failed;
}
memset(bh->b_data, 0, i_blocksize(inode));
- bh->b_bdev = inode->i_sb->s_bdev;
bh->b_blocknr = blocknr;
set_buffer_mapped(bh);
set_buffer_uptodate(bh);
@@ -133,7 +132,6 @@ int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr,
goto found;
}
set_buffer_mapped(bh);
- bh->b_bdev = inode->i_sb->s_bdev;
bh->b_blocknr = pblocknr; /* set block address for read */
bh->b_end_io = end_buffer_read_sync;
get_bh(bh);
diff --git a/fs/nilfs2/gcinode.c b/fs/nilfs2/gcinode.c
index b0077f5f7112..518e10be1073 100644
--- a/fs/nilfs2/gcinode.c
+++ b/fs/nilfs2/gcinode.c
@@ -83,10 +83,8 @@ int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff,
goto out;
}
- if (!buffer_mapped(bh)) {
- bh->b_bdev = inode->i_sb->s_bdev;
+ if (!buffer_mapped(bh))
set_buffer_mapped(bh);
- }
bh->b_blocknr = pbn;
bh->b_end_io = end_buffer_read_sync;
get_bh(bh);
diff --git a/fs/nilfs2/mdt.c b/fs/nilfs2/mdt.c
index e80ef2c0a785..c1f964916489 100644
--- a/fs/nilfs2/mdt.c
+++ b/fs/nilfs2/mdt.c
@@ -89,7 +89,6 @@ static int nilfs_mdt_create_block(struct inode *inode, unsigned long block,
if (buffer_uptodate(bh))
goto failed_bh;
- bh->b_bdev = sb->s_bdev;
err = nilfs_mdt_insert_new_block(inode, block, bh, init_block);
if (likely(!err)) {
get_bh(bh);
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c
index c4ca554bd73c..4cd1dcea9994 100644
--- a/fs/nilfs2/page.c
+++ b/fs/nilfs2/page.c
@@ -64,6 +64,7 @@ struct buffer_head *nilfs_grab_buffer(struct inode *inode,
put_page(page);
return NULL;
}
+ bh->b_bdev = inode->i_sb->s_bdev;
return bh;
}
--
2.34.1
2
1

[PATCH OLK-5.10] nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
by Yipeng Zou 06 Dec '24
by Yipeng Zou 06 Dec '24
06 Dec '24
From: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
mainline inclusion
from mainline-v6.12
commit 2026559a6c4ce34db117d2db8f710fe2a9420d5a
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB956M
CVE: CVE-2024-53130
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
When using the "block:block_dirty_buffer" tracepoint, mark_buffer_dirty()
may cause a NULL pointer dereference, or a general protection fault when
KASAN is enabled.
This happens because, since the tracepoint was added in
mark_buffer_dirty(), it references the dev_t member bh->b_bdev->bd_dev
regardless of whether the buffer head has a pointer to a block_device
structure.
In the current implementation, nilfs_grab_buffer(), which grabs a buffer
to read (or create) a block of metadata, including b-tree node blocks,
does not set the block device, but instead does so only if the buffer is
not in the "uptodate" state for each of its caller block reading
functions. However, if the uptodate flag is set on a folio/page, and the
buffer heads are detached from it by try_to_free_buffers(), and new buffer
heads are then attached by create_empty_buffers(), the uptodate flag may
be restored to each buffer without the block device being set to
bh->b_bdev, and mark_buffer_dirty() may be called later in that state,
resulting in the bug mentioned above.
Fix this issue by making nilfs_grab_buffer() always set the block device
of the super block structure to the buffer head, regardless of the state
of the buffer's uptodate flag.
Link: https://lkml.kernel.org/r/20241106160811.3316-3-konishi.ryusuke@gmail.com
Fixes: 5305cb830834 ("block: add block_{touch|dirty}_buffer tracepoint")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
Cc: Tejun Heo <tj(a)kernel.org>
Cc: Ubisectech Sirius <bugreport(a)valiantsec.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
confilct:
fs/nilfs2/page.c
Signed-off-by: Yipeng Zou <zouyipeng(a)huawei.com>
---
fs/nilfs2/btnode.c | 2 --
fs/nilfs2/gcinode.c | 4 +---
fs/nilfs2/mdt.c | 1 -
fs/nilfs2/page.c | 1 +
4 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/nilfs2/btnode.c b/fs/nilfs2/btnode.c
index 28a726553318..1ced5bc551e4 100644
--- a/fs/nilfs2/btnode.c
+++ b/fs/nilfs2/btnode.c
@@ -68,7 +68,6 @@ nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr)
goto failed;
}
memset(bh->b_data, 0, i_blocksize(inode));
- bh->b_bdev = inode->i_sb->s_bdev;
bh->b_blocknr = blocknr;
set_buffer_mapped(bh);
set_buffer_uptodate(bh);
@@ -133,7 +132,6 @@ int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr,
goto found;
}
set_buffer_mapped(bh);
- bh->b_bdev = inode->i_sb->s_bdev;
bh->b_blocknr = pblocknr; /* set block address for read */
bh->b_end_io = end_buffer_read_sync;
get_bh(bh);
diff --git a/fs/nilfs2/gcinode.c b/fs/nilfs2/gcinode.c
index b0077f5f7112..518e10be1073 100644
--- a/fs/nilfs2/gcinode.c
+++ b/fs/nilfs2/gcinode.c
@@ -83,10 +83,8 @@ int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff,
goto out;
}
- if (!buffer_mapped(bh)) {
- bh->b_bdev = inode->i_sb->s_bdev;
+ if (!buffer_mapped(bh))
set_buffer_mapped(bh);
- }
bh->b_blocknr = pbn;
bh->b_end_io = end_buffer_read_sync;
get_bh(bh);
diff --git a/fs/nilfs2/mdt.c b/fs/nilfs2/mdt.c
index e80ef2c0a785..c1f964916489 100644
--- a/fs/nilfs2/mdt.c
+++ b/fs/nilfs2/mdt.c
@@ -89,7 +89,6 @@ static int nilfs_mdt_create_block(struct inode *inode, unsigned long block,
if (buffer_uptodate(bh))
goto failed_bh;
- bh->b_bdev = sb->s_bdev;
err = nilfs_mdt_insert_new_block(inode, block, bh, init_block);
if (likely(!err)) {
get_bh(bh);
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c
index 7adf74b52550..80f1f371d729 100644
--- a/fs/nilfs2/page.c
+++ b/fs/nilfs2/page.c
@@ -64,6 +64,7 @@ struct buffer_head *nilfs_grab_buffer(struct inode *inode,
put_page(page);
return NULL;
}
+ bh->b_bdev = inode->i_sb->s_bdev;
return bh;
}
--
2.34.1
2
1

[PATCH OLK-6.6] nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
by Yipeng Zou 06 Dec '24
by Yipeng Zou 06 Dec '24
06 Dec '24
From: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
stable inclusion
from stable-v6.6.63
commit b0e4765740040c44039282057ecacd7435d1d2ba
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB956M
CVE: CVE-2024-53130
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id…
--------------------------------
commit 2026559a6c4ce34db117d2db8f710fe2a9420d5a upstream.
When using the "block:block_dirty_buffer" tracepoint, mark_buffer_dirty()
may cause a NULL pointer dereference, or a general protection fault when
KASAN is enabled.
This happens because, since the tracepoint was added in
mark_buffer_dirty(), it references the dev_t member bh->b_bdev->bd_dev
regardless of whether the buffer head has a pointer to a block_device
structure.
In the current implementation, nilfs_grab_buffer(), which grabs a buffer
to read (or create) a block of metadata, including b-tree node blocks,
does not set the block device, but instead does so only if the buffer is
not in the "uptodate" state for each of its caller block reading
functions. However, if the uptodate flag is set on a folio/page, and the
buffer heads are detached from it by try_to_free_buffers(), and new buffer
heads are then attached by create_empty_buffers(), the uptodate flag may
be restored to each buffer without the block device being set to
bh->b_bdev, and mark_buffer_dirty() may be called later in that state,
resulting in the bug mentioned above.
Fix this issue by making nilfs_grab_buffer() always set the block device
of the super block structure to the buffer head, regardless of the state
of the buffer's uptodate flag.
Link: https://lkml.kernel.org/r/20241106160811.3316-3-konishi.ryusuke@gmail.com
Fixes: 5305cb830834 ("block: add block_{touch|dirty}_buffer tracepoint")
Signed-off-by: Ryusuke Konishi <konishi.ryusuke(a)gmail.com>
Cc: Tejun Heo <tj(a)kernel.org>
Cc: Ubisectech Sirius <bugreport(a)valiantsec.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Signed-off-by: Yipeng Zou <zouyipeng(a)huawei.com>
---
fs/nilfs2/btnode.c | 2 --
fs/nilfs2/gcinode.c | 4 +---
fs/nilfs2/mdt.c | 1 -
fs/nilfs2/page.c | 1 +
4 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/nilfs2/btnode.c b/fs/nilfs2/btnode.c
index 8fe348bceabe..eaf646b45cc9 100644
--- a/fs/nilfs2/btnode.c
+++ b/fs/nilfs2/btnode.c
@@ -68,7 +68,6 @@ nilfs_btnode_create_block(struct address_space *btnc, __u64 blocknr)
goto failed;
}
memset(bh->b_data, 0, i_blocksize(inode));
- bh->b_bdev = inode->i_sb->s_bdev;
bh->b_blocknr = blocknr;
set_buffer_mapped(bh);
set_buffer_uptodate(bh);
@@ -133,7 +132,6 @@ int nilfs_btnode_submit_block(struct address_space *btnc, __u64 blocknr,
goto found;
}
set_buffer_mapped(bh);
- bh->b_bdev = inode->i_sb->s_bdev;
bh->b_blocknr = pblocknr; /* set block address for read */
bh->b_end_io = end_buffer_read_sync;
get_bh(bh);
diff --git a/fs/nilfs2/gcinode.c b/fs/nilfs2/gcinode.c
index 8beb2730929d..c5a119f3cb0d 100644
--- a/fs/nilfs2/gcinode.c
+++ b/fs/nilfs2/gcinode.c
@@ -83,10 +83,8 @@ int nilfs_gccache_submit_read_data(struct inode *inode, sector_t blkoff,
goto out;
}
- if (!buffer_mapped(bh)) {
- bh->b_bdev = inode->i_sb->s_bdev;
+ if (!buffer_mapped(bh))
set_buffer_mapped(bh);
- }
bh->b_blocknr = pbn;
bh->b_end_io = end_buffer_read_sync;
get_bh(bh);
diff --git a/fs/nilfs2/mdt.c b/fs/nilfs2/mdt.c
index 19c8158605ed..75a2ed5ee6e0 100644
--- a/fs/nilfs2/mdt.c
+++ b/fs/nilfs2/mdt.c
@@ -89,7 +89,6 @@ static int nilfs_mdt_create_block(struct inode *inode, unsigned long block,
if (buffer_uptodate(bh))
goto failed_bh;
- bh->b_bdev = sb->s_bdev;
err = nilfs_mdt_insert_new_block(inode, block, bh, init_block);
if (likely(!err)) {
get_bh(bh);
diff --git a/fs/nilfs2/page.c b/fs/nilfs2/page.c
index 956c90700e15..9bced0a5c253 100644
--- a/fs/nilfs2/page.c
+++ b/fs/nilfs2/page.c
@@ -64,6 +64,7 @@ struct buffer_head *nilfs_grab_buffer(struct inode *inode,
put_page(page);
return NULL;
}
+ bh->b_bdev = inode->i_sb->s_bdev;
return bh;
}
--
2.34.1
2
1
OLK-6.6-fix-CVE-2024-49906
Rodrigo Siqueira (1):
drm/amd/display: Check null pointer before try to access it
Wayne Lin (1):
drm/amd/display: Check null pointer before try to access it
.../gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
--
2.25.1
2
3

[openeuler:OLK-6.6] BUILD REGRESSION f0c88450d57092a03a2efd8e066f146f2b7c4ee0
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: f0c88450d57092a03a2efd8e066f146f2b7c4ee0 !13837 update patches for sw64 architecture
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412060508.uzqNwHvM-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412060551.aZtqTJZV-lkp@intel.com
drivers/scsi/leapioraid/leapioraid_func.c:1300:1: warning: no previous prototype for 'leapioraid_base_process_reply_queue' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:1300:1: warning: no previous prototype for function 'leapioraid_base_process_reply_queue' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:1468:5: warning: no previous prototype for 'leapioraid_base_irqpoll' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:1468:5: warning: no previous prototype for function 'leapioraid_base_irqpoll' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:1490:1: warning: no previous prototype for 'leapioraid_base_init_irqpolls' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:1490:1: warning: no previous prototype for function 'leapioraid_base_init_irqpolls' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:1720:27: warning: variable 'sgl_zero_addr' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_func.c:2030:70: warning: '-mq-poll' directive output may be truncated writing 8 bytes into a region of size between 6 and 31 [-Wformat-truncation=]
drivers/scsi/leapioraid/leapioraid_func.c:2039:75: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 26 [-Wformat-truncation=]
drivers/scsi/leapioraid/leapioraid_func.c:289:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_func.c:392:59: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 15 [-Wformat-truncation=]
drivers/scsi/leapioraid/leapioraid_func.c:4307:12: warning: variable 'ct' is uninitialized when used here [-Wuninitialized]
drivers/scsi/leapioraid/leapioraid_func.c:4414:1: warning: no previous prototype for 'leapioraid_base_flush_ios_and_panic' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:4414:1: warning: no previous prototype for function 'leapioraid_base_flush_ios_and_panic' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:5723:6: warning: variable 'ioc_state' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_func.c:5974:5: warning: variable 'issue_reset' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_func.c:671:1: warning: no previous prototype for 'leapioraid_base_stop_smart_polling' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_func.c:671:1: warning: no previous prototype for function 'leapioraid_base_stop_smart_polling' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:1854:1: warning: no previous prototype for 'leapioraid_scsihost_tm_cmd_map_status' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:1854:1: warning: no previous prototype for function 'leapioraid_scsihost_tm_cmd_map_status' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:1889:1: warning: no previous prototype for 'leapioraid_scsihost_tm_post_processing' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:1889:1: warning: no previous prototype for function 'leapioraid_scsihost_tm_post_processing' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:3602:32: warning: variable 'mpi_request' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_os.c:521:31: warning: no previous prototype for 'leapioraid_get_sdev_from_target' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:521:31: warning: no previous prototype for function 'leapioraid_get_sdev_from_target' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:5293:16: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_os.c:534:31: warning: no previous prototype for '__leapioraid_get_sdev_by_addr' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:534:31: warning: no previous prototype for function '__leapioraid_get_sdev_by_addr' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:7164:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_os.c:7727:28: warning: variable 'sas_target_priv_data' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_os.c:866:35: warning: no previous prototype for 'leapioraid_scsihost_enclosure_find_by_handle' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:866:35: warning: no previous prototype for function 'leapioraid_scsihost_enclosure_find_by_handle' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_os.c:9379:5: warning: variable 'revision' set but not used [-Wunused-but-set-variable]
drivers/scsi/leapioraid/leapioraid_os.c:9464:28: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 11 [-Wformat-truncation=]
drivers/scsi/leapioraid/leapioraid_transport.c:104:1: warning: no previous prototype for 'leapioraid_transport_get_port_id_by_rphy' [-Wmissing-prototypes]
drivers/scsi/leapioraid/leapioraid_transport.c:104:1: warning: no previous prototype for function 'leapioraid_transport_get_port_id_by_rphy' [-Wmissing-prototypes]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kismet:WARNING:unmet-direct-dependencies-detected-for-HALTPOLL_CPUIDLE-when-selected-by-ARM64
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-001-20241206
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-002-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-003-20241206
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-004-20241206
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- arm64-randconfig-051-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-052-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-053-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- arm64-randconfig-054-20241206
| |-- arch-arm64-boot-dts-rockchip-rk3318-a95x-z2.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-a1.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::compatible:oneOf-conditional-failed-one-must-be-fixed:
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb::failed-to-match-any-schema-with-compatible:friendlyarm-nanopi-r2s-plus-rockchip-rk3328
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:ethernet-ff540000:Unevaluated-properties-are-not-allowed-(-snps-txpbl-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-nanopi-r2s-plus.dtb:pwm-ff1b0030:interrupts-does-not-match-any-of-the-regexes:pinctrl
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-cc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| |-- arch-arm64-boot-dts-rockchip-rk3328-roc-pc.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
| `-- arch-arm64-boot-dts-rockchip-rk3328-rock64.dtb:hdmi-ff3c0000:Unevaluated-properties-are-not-allowed-(-sound-dai-cells-was-unexpected)
|-- loongarch-allmodconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allyesconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- x86_64-allnoconfig
| `-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
|-- x86_64-buildonly-randconfig-001-20241206
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-003-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-004-20241206
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- x86_64-buildonly-randconfig-005-20241206
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-006-20241206
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-randconfig-123
| `-- fs-ext4-inode.c:sparse:sparse:symbol-ext4_iomap_buffered_read_ops-was-not-declared.-Should-it-be-static
`-- x86_64-randconfig-161-20241206
|-- block-bdev.c-bdev_open_by_dev()-warn:possible-memory-leak-of-handle
|-- block-blk-mq.c-queue_update_fair_tag_sharing()-warn:iterator-i-not-incremented
|-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
|-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
|-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 721m
configs tested: 14
configs skipped: 93
tested configs:
arm64 allmodconfig clang-20
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241206 clang-14
arm64 randconfig-002-20241206 gcc-14.2.0
arm64 randconfig-003-20241206 clang-20
arm64 randconfig-004-20241206 clang-20
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
x86_64 buildonly-randconfig-001-20241206 gcc-12
x86_64 buildonly-randconfig-002-20241206 gcc-12
x86_64 buildonly-randconfig-003-20241206 gcc-12
x86_64 buildonly-randconfig-004-20241206 clang-19
x86_64 buildonly-randconfig-005-20241206 gcc-11
x86_64 buildonly-randconfig-006-20241206 clang-19
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS] BUILD REGRESSION e416567e80778667f6a949f0f19c32a3ee4cb06e
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
branch HEAD: e416567e80778667f6a949f0f19c32a3ee4cb06e !14051 fix CVE-2024-50278
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412052349.hadZoo7L-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412060518.kosCJlfK-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412060831.N6mrEnfc-lkp@intel.com
drivers/media/dvb-frontends/mn88443x.c:772:34: warning: unused variable 'mn88443x_of_match' [-Wunused-const-variable]
kernel/livepatch/core.c:75:16: warning: no previous prototype for function 'klp_check_patch_kprobed' [-Wmissing-prototypes]
Unverified Error/Warning (likely false positive, kindly check if interested):
drivers/char/tpm/eventlog/.tmp_common.o: warning: objtool: missing symbol for section .text
drivers/input/keyboard/.tmp_mtk-pmic-keys.o: warning: objtool: missing symbol for section .init.text
drivers/mtd/.tmp_mtdpart.o: warning: objtool: missing symbol for section .text.unlikely
fs/udf/unicode.o: warning: objtool: missing symbol for section .text
include/linux/thread_info.h:59:17: warning: 'header' may be used uninitialized [-Wmaybe-uninitialized]
samples/vfio-mdev/.tmp_mdpy-fb.o: warning: objtool: missing symbol for section .init.text
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-randconfig-002-20241205
| |-- arch-arm64-include-asm-irqflags.h:warning:flags-may-be-used-uninitialized
| |-- drivers-tty-serial-sc16is7xx.c:warning:label-err_i2c-defined-but-not-used
| `-- include-linux-thread_info.h:warning:header-may-be-used-uninitialized
|-- arm64-randconfig-004-20241205
| |-- arch-arm64-include-asm-irqflags.h:warning:flags-may-be-used-uninitialized
| |-- arch-arm64-kernel-watchdog_sdei.c:error:watchdog_thresh-undeclared-(first-use-in-this-function)
| |-- include-linux-uaccess.h:warning:sve-may-be-used-uninitialized
| |-- include-linux-uaccess.h:warning:tx_cfg-may-be-used-uninitialized
| |-- kernel-watchdog_hld.c:error:implicit-declaration-of-function-is_hardlockup
| `-- kernel-watchdog_hld.c:error:sysctl_hardlockup_all_cpu_backtrace-undeclared-(first-use-in-this-function)
|-- x86_64-buildonly-randconfig-001-20241206
| |-- arch-x86-kernel-cpu-mce-genpool.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-media-platform-vicodec-vicodec-codec.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-mtd-nand-core.o:warning:objtool:missing-symbol-for-section-.text
| |-- fs-crypto-crypto.o:warning:objtool:missing-symbol-for-section-.text.unlikely
| |-- fs-udf-unicode.o:warning:objtool:missing-symbol-for-section-.text
| |-- kernel-sched-core.o:warning:objtool:missing-symbol-for-section-.text.unlikely
| |-- ld:super.c:(.init.text):undefined-reference-to-__netlink_kernel_create
| |-- ld:super.c:(.text):undefined-reference-to-__nlmsg_put
| |-- ld:super.c:(.text):undefined-reference-to-kfree_skb
| |-- ld:super.c:(.text):undefined-reference-to-netlink_broadcast
| |-- sound-usb-power.o:warning:objtool:missing-symbol-for-section-.text
| |-- super.c:(.exit.text):undefined-reference-to-netlink_kernel_release
| |-- super.c:(.init.text):undefined-reference-to-init_net
| `-- super.c:(.text):undefined-reference-to-__alloc_skb
|-- x86_64-buildonly-randconfig-002-20240706
| `-- sound-firewire-cmp.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-buildonly-randconfig-002-20241205
| `-- drivers-hwmon-npcm750-pwm-fan.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-002-20241206
| |-- drivers-mtd-mtdchar.o:warning:objtool:missing-symbol-for-section-.exit.text
| `-- drivers-nvme-target-configfs.o:warning:objtool:missing-symbol-for-section-.exit.text
|-- x86_64-buildonly-randconfig-003-20240710
| `-- arch-x86-mm-dump_pagetables.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-buildonly-randconfig-003-20241206
| |-- arch-x86-mm-.tmp_maccess.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-char-tpm-eventlog-.tmp_common.o:warning:objtool:missing-symbol-for-section-.text
| |-- drivers-hwtracing-intel_th-.tmp_msu-sink.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-input-keyboard-.tmp_mtk-pmic-keys.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-mfd-.tmp_madera-i2c.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- drivers-mtd-.tmp_mtdpart.o:warning:objtool:missing-symbol-for-section-.text.unlikely
| |-- drivers-mtd-nand-spi-.tmp_core.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- fs-autofs-.tmp_init.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- kernel-sched-.tmp_pelt.o:warning:objtool:missing-symbol-for-section-.text
| |-- ld:super.c:(.init.text):undefined-reference-to-__netlink_kernel_create
| |-- ld:super.c:(.text):undefined-reference-to-__nlmsg_put
| |-- ld:super.c:(.text):undefined-reference-to-kfree_skb
| |-- ld:super.c:(.text):undefined-reference-to-netlink_broadcast
| |-- samples-vfio-mdev-.tmp_mdpy-fb.o:warning:objtool:missing-symbol-for-section-.init.text
| |-- super.c:(.exit.text):undefined-reference-to-netlink_kernel_release
| |-- super.c:(.init.text):undefined-reference-to-init_net
| `-- super.c:(.text):undefined-reference-to-__alloc_skb
|-- x86_64-buildonly-randconfig-004-20240717
| `-- drivers-gpu-drm-i915-gvt-mmio_context.o:warning:objtool:missing-symbol-for-section-.text
|-- x86_64-buildonly-randconfig-004-20241206
| `-- drivers-regulator-qcom-rpmh-regulator.c:warning:unused-variable-rpmh_regulator_match_table
|-- x86_64-buildonly-randconfig-005-20241206
| `-- arch-x86-mm-pgtable.c:warning:free_pmds.constprop-accessing-bytes-in-a-region-of-size
|-- x86_64-buildonly-randconfig-006-20240825
| `-- kernel-context_tracking.o:warning:objtool:missing-symbol-for-section-.init.text
|-- x86_64-buildonly-randconfig-006-20241206
| |-- drivers-media-dvb-frontends-mn88443x.c:warning:unused-variable-mn88443x_of_match
| |-- drivers-regulator-qcom-rpmh-regulator.c:warning:unused-variable-rpmh_regulator_match_table
| |-- kernel-sched-core.c:error:implicit-declaration-of-function-init_auto_affinity-Werror-Wimplicit-function-declaration
| `-- kernel-sched-core.c:error:implicit-declaration-of-function-tg_update_affinity_domains-Werror-Wimplicit-function-declaration
|-- x86_64-randconfig-002-20240824
| `-- fs-debugfs-file.o:warning:objtool:full_proxy_open:unreachable-instruction
|-- x86_64-randconfig-005-20241118
| `-- fs-debugfs-file.o:warning:objtool:full_proxy_open:unreachable-instruction
|-- x86_64-randconfig-006-20240819
| `-- drivers-usb-host-ehci-hcd.o:warning:objtool:ehci_endpoint_disable:unreachable-instruction
|-- x86_64-randconfig-073-20240521
| `-- kernel-livepatch-core.c:warning:no-previous-prototype-for-function-klp_check_patch_kprobed
|-- x86_64-randconfig-075-20240512
| `-- drivers-net-wireless-broadcom-brcm80211-brcmsmac-phy-phy_n.o:warning:objtool:wlc_phy_attach_nphy:can-t-find-switch-jump-table
|-- x86_64-randconfig-121
| `-- net-mac80211-rx.c:sparse:sparse:dubious:x-y
|-- x86_64-randconfig-123
| |-- kernel-time-time.c:sparse:sparse:symbol-__compat_get_timespec64-was-not-declared.-Should-it-be-static
| `-- kernel-time-time.c:sparse:sparse:symbol-__compat_put_timespec64-was-not-declared.-Should-it-be-static
|-- x86_64-randconfig-161
| `-- arch-x86-events-zhaoxin-core.c:error:redefinition-of-zhaoxin_pmu_init
`-- x86_64-randconfig-161-20240801
`-- mm-slab_common.o:warning:objtool:kmem_cache_create_usercopy:unreachable-instruction
elapsed time: 727m
configs tested: 12
configs skipped: 94
tested configs:
arm64 allmodconfig gcc-14.2.0
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241205 gcc-14.2.0
arm64 randconfig-002-20241205 gcc-14.2.0
arm64 randconfig-003-20241205 gcc-14.2.0
arm64 randconfig-004-20241205 gcc-14.2.0
x86_64 buildonly-randconfig-001-20241206 gcc-12
x86_64 buildonly-randconfig-002-20241206 gcc-12
x86_64 buildonly-randconfig-003-20241206 gcc-12
x86_64 buildonly-randconfig-004-20241206 clang-19
x86_64 buildonly-randconfig-005-20241206 gcc-11
x86_64 buildonly-randconfig-006-20241206 clang-19
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1324/1324] kernel/sched/core.o: warning: objtool: missing symbol for section .text.unlikely
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: e416567e80778667f6a949f0f19c32a3ee4cb06e
commit: f2701b77bbd992f3df4631de8493f21db0830452 [1324/1324] Merge 4.18-rc7 into master to pick up the KVM dependcy
config: x86_64-buildonly-randconfig-001-20241206 (https://download.01.org/0day-ci/archive/20241206/202412060831.N6mrEnfc-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060831.N6mrEnfc-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060831.N6mrEnfc-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/sched/core.c:1283:5: warning: no previous prototype for 'migrate_swap' [-Wmissing-prototypes]
1283 | int migrate_swap(struct task_struct *cur, struct task_struct *p)
| ^~~~~~~~~~~~
kernel/sched/core.c:1577:6: warning: no previous prototype for 'sched_set_stop_task' [-Wmissing-prototypes]
1577 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:3716:35: warning: no previous prototype for 'preempt_schedule_irq' [-Wmissing-prototypes]
3716 | asmlinkage __visible void __sched preempt_schedule_irq(void)
| ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/core.o: warning: objtool: missing symbol for section .text.unlikely
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1324/1324] drivers/media/dvb-frontends/mn88443x.c:772:34: warning: unused variable 'mn88443x_of_match'
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: e416567e80778667f6a949f0f19c32a3ee4cb06e
commit: 0f408ce8941fcb1b6e8431272cfc9337a0407d73 [1324/1324] media: dvb-frontends: add Socionext MN88443x ISDB-S/T demodulator driver
config: x86_64-buildonly-randconfig-006-20241206 (https://download.01.org/0day-ci/archive/20241206/202412060518.kosCJlfK-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060518.kosCJlfK-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060518.kosCJlfK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/dvb-frontends/mn88443x.c:772:34: warning: unused variable 'mn88443x_of_match' [-Wunused-const-variable]
772 | static const struct of_device_id mn88443x_of_match[] = {
| ^~~~~~~~~~~~~~~~~
1 warning generated.
vim +/mn88443x_of_match +772 drivers/media/dvb-frontends/mn88443x.c
771
> 772 static const struct of_device_id mn88443x_of_match[] = {
773 { .compatible = "socionext,mn884433", .data = &mn88443x_spec_pri, },
774 { .compatible = "socionext,mn884434-0", .data = &mn88443x_spec_pri, },
775 { .compatible = "socionext,mn884434-1", .data = &mn88443x_spec_sec, },
776 {}
777 };
778 MODULE_DEVICE_TABLE(of, mn88443x_of_match);
779
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1599/1599] drivers/scsi/leapioraid/leapioraid_func.c:289:6: warning: variable 'ret' set but not used
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: f0c88450d57092a03a2efd8e066f146f2b7c4ee0
commit: 7fea595ef48e9ab13bd31df067b19152153e1925 [1599/1599] SCSI: LEAPIORAID: Supports LEAPIO RAID controller
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20241206/202412060508.uzqNwHvM-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060508.uzqNwHvM-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060508.uzqNwHvM-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/scsi/leapioraid/leapioraid_func.c:51:
In file included from include/linux/pci.h:1669:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2247:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_func.c:289:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
289 | int ret;
| ^
>> drivers/scsi/leapioraid/leapioraid_func.c:671:1: warning: no previous prototype for function 'leapioraid_base_stop_smart_polling' [-Wmissing-prototypes]
671 | leapioraid_base_stop_smart_polling(struct LEAPIORAID_ADAPTER *ioc)
| ^
drivers/scsi/leapioraid/leapioraid_func.c:670:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
670 | void
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_func.c:1300:1: warning: no previous prototype for function 'leapioraid_base_process_reply_queue' [-Wmissing-prototypes]
1300 | leapioraid_base_process_reply_queue(
| ^
drivers/scsi/leapioraid/leapioraid_func.c:1299:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1299 | int
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_func.c:1468:5: warning: no previous prototype for function 'leapioraid_base_irqpoll' [-Wmissing-prototypes]
1468 | int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
| ^
drivers/scsi/leapioraid/leapioraid_func.c:1468:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1468 | int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_func.c:1490:1: warning: no previous prototype for function 'leapioraid_base_init_irqpolls' [-Wmissing-prototypes]
1490 | leapioraid_base_init_irqpolls(struct LEAPIORAID_ADAPTER *ioc)
| ^
drivers/scsi/leapioraid/leapioraid_func.c:1489:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1489 | void
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_func.c:1720:27: warning: variable 'sgl_zero_addr' set but not used [-Wunused-but-set-variable]
1720 | void *sg_local, *chain, *sgl_zero_addr;
| ^
>> drivers/scsi/leapioraid/leapioraid_func.c:4307:12: warning: variable 'ct' is uninitialized when used here [-Wuninitialized]
4307 | ct);
| ^~
drivers/scsi/leapioraid/leapioraid_func.c:4086:37: note: initialize the variable 'ct' to silence this warning
4086 | struct leapioraid_chain_tracker *ct;
| ^
| = NULL
>> drivers/scsi/leapioraid/leapioraid_func.c:4414:1: warning: no previous prototype for function 'leapioraid_base_flush_ios_and_panic' [-Wmissing-prototypes]
4414 | leapioraid_base_flush_ios_and_panic(
| ^
drivers/scsi/leapioraid/leapioraid_func.c:4413:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
4413 | void
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_func.c:5723:6: warning: variable 'ioc_state' set but not used [-Wunused-but-set-variable]
5723 | u32 ioc_state;
| ^
>> drivers/scsi/leapioraid/leapioraid_func.c:5974:5: warning: variable 'issue_reset' set but not used [-Wunused-but-set-variable]
5974 | u8 issue_reset;
| ^
15 warnings generated.
--
In file included from drivers/scsi/leapioraid/leapioraid_os.c:48:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/arm64/include/asm/cacheflush.h:11:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2247:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_os.c:521:31: warning: no previous prototype for function 'leapioraid_get_sdev_from_target' [-Wmissing-prototypes]
521 | struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
| ^
drivers/scsi/leapioraid/leapioraid_os.c:521:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
521 | struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_os.c:534:31: warning: no previous prototype for function '__leapioraid_get_sdev_by_addr' [-Wmissing-prototypes]
534 | struct leapioraid_sas_device *__leapioraid_get_sdev_by_addr(
| ^
drivers/scsi/leapioraid/leapioraid_os.c:534:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
534 | struct leapioraid_sas_device *__leapioraid_get_sdev_by_addr(
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_os.c:866:35: warning: no previous prototype for function 'leapioraid_scsihost_enclosure_find_by_handle' [-Wmissing-prototypes]
866 | struct leapioraid_enclosure_node *leapioraid_scsihost_enclosure_find_by_handle(
| ^
drivers/scsi/leapioraid/leapioraid_os.c:866:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
866 | struct leapioraid_enclosure_node *leapioraid_scsihost_enclosure_find_by_handle(
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_os.c:1854:1: warning: no previous prototype for function 'leapioraid_scsihost_tm_cmd_map_status' [-Wmissing-prototypes]
1854 | leapioraid_scsihost_tm_cmd_map_status(
| ^
drivers/scsi/leapioraid/leapioraid_os.c:1853:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1853 | int
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_os.c:1889:1: warning: no previous prototype for function 'leapioraid_scsihost_tm_post_processing' [-Wmissing-prototypes]
1889 | leapioraid_scsihost_tm_post_processing(struct LEAPIORAID_ADAPTER *ioc, u16 handle,
| ^
drivers/scsi/leapioraid/leapioraid_os.c:1888:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1888 | int
| ^
| static
>> drivers/scsi/leapioraid/leapioraid_os.c:3602:32: warning: variable 'mpi_request' set but not used [-Wunused-but-set-variable]
3602 | struct LeapioraidSCSIIOReq_t *mpi_request;
| ^
>> drivers/scsi/leapioraid/leapioraid_os.c:5293:16: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
5293 | unsigned long timeleft;
| ^
>> drivers/scsi/leapioraid/leapioraid_os.c:7164:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
7164 | int rc;
| ^
>> drivers/scsi/leapioraid/leapioraid_os.c:7727:28: warning: variable 'sas_target_priv_data' set but not used [-Wunused-but-set-variable]
7727 | struct LEAPIORAID_TARGET *sas_target_priv_data;
| ^
>> drivers/scsi/leapioraid/leapioraid_os.c:9379:5: warning: variable 'revision' set but not used [-Wunused-but-set-variable]
9379 | u8 revision;
| ^
15 warnings generated.
--
In file included from drivers/scsi/leapioraid/leapioraid_transport.c:50:
In file included from include/linux/pci.h:1669:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2247:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_transport.c:104:1: warning: no previous prototype for function 'leapioraid_transport_get_port_id_by_rphy' [-Wmissing-prototypes]
104 | leapioraid_transport_get_port_id_by_rphy(struct LEAPIORAID_ADAPTER *ioc,
| ^
drivers/scsi/leapioraid/leapioraid_transport.c:103:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
103 | u8
| ^
| static
6 warnings generated.
vim +/ret +289 drivers/scsi/leapioraid/leapioraid_func.c
285
286 static int
287 leapioraid_udp_init(void)
288 {
> 289 int ret;
290 u32 ip;
291
292 if (sock)
293 return 0;
294 if (!in4_pton(dest_ip, -1, (u8 *) &ip, -1, NULL)) {
295 pr_err("Invalid IP address: %s, set to default: 127.0.0.1\n",
296 dest_ip);
297 dest_ip = "127.0.0.1";
298 }
299 ret =
300 sock_create_kern(&init_net, AF_INET, SOCK_DGRAM, IPPROTO_UDP,
301 &sock);
302 memset(&dest_addr, 0, sizeof(dest_addr));
303 dest_addr.sin_family = AF_INET;
304 dest_addr.sin_addr.s_addr = ip;
305 dest_addr.sin_port = htons(port_no);
306 memset(&msg, 0, sizeof(msg));
307 msg.msg_name = &dest_addr;
308 msg.msg_namelen = sizeof(struct sockaddr_in);
309 return 0;
310 }
311
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] kernel/livepatch/core.c:1420:13: warning: no previous prototype for function 'arch_klp_set_brk_func'
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 220bfa0ea761db9406a3cfde3064aa029e829221
commit: b25272c022a17ee12688d001375e7a483385c568 [2544/2544] livepatch: Use breakpoint exception to optimize enabling livepatch
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241206/202412060504.AIlPmrzd-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060504.AIlPmrzd-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060504.AIlPmrzd-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/livepatch/core.c:16:
In file included from include/linux/kallsyms.h:12:
In file included from include/linux/mm.h:1557:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
kernel/livepatch/core.c:70:16: warning: no previous prototype for function 'klp_check_patch_kprobed' [-Wmissing-prototypes]
70 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
kernel/livepatch/core.c:70:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
70 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
| static
kernel/livepatch/core.c:941:12: warning: no previous prototype for function 'arch_klp_func_can_patch' [-Wmissing-prototypes]
941 | int __weak arch_klp_func_can_patch(struct klp_func *func)
| ^
kernel/livepatch/core.c:941:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
941 | int __weak arch_klp_func_can_patch(struct klp_func *func)
| ^
| static
kernel/livepatch/core.c:946:12: warning: no previous prototype for function 'arch_klp_init_func' [-Wmissing-prototypes]
946 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
kernel/livepatch/core.c:946:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
946 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
| static
kernel/livepatch/core.c:1349:5: warning: no previous prototype for function 'klp_try_disable_patch' [-Wmissing-prototypes]
1349 | int klp_try_disable_patch(void *data)
| ^
kernel/livepatch/core.c:1349:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1349 | int klp_try_disable_patch(void *data)
| ^
| static
kernel/livepatch/core.c:1383:13: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
1383 | void __weak arch_klp_code_modify_prepare(void)
| ^
kernel/livepatch/core.c:1383:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1383 | void __weak arch_klp_code_modify_prepare(void)
| ^
| static
kernel/livepatch/core.c:1387:13: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
1387 | void __weak arch_klp_code_modify_post_process(void)
| ^
kernel/livepatch/core.c:1387:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1387 | void __weak arch_klp_code_modify_post_process(void)
| ^
| static
kernel/livepatch/core.c:1391:14: warning: no previous prototype for function 'arch_klp_mem_alloc' [-Wmissing-prototypes]
1391 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
kernel/livepatch/core.c:1391:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1391 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
| static
kernel/livepatch/core.c:1396:13: warning: no previous prototype for function 'arch_klp_mem_free' [-Wmissing-prototypes]
1396 | void __weak arch_klp_mem_free(void *mem)
| ^
kernel/livepatch/core.c:1396:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1396 | void __weak arch_klp_mem_free(void *mem)
| ^
| static
kernel/livepatch/core.c:1406:12: warning: no previous prototype for function 'arch_klp_check_breakpoint' [-Wmissing-prototypes]
1406 | int __weak arch_klp_check_breakpoint(struct arch_klp_data *arch_data, void *old_func)
| ^
kernel/livepatch/core.c:1406:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1406 | int __weak arch_klp_check_breakpoint(struct arch_klp_data *arch_data, void *old_func)
| ^
| static
kernel/livepatch/core.c:1411:12: warning: no previous prototype for function 'arch_klp_add_breakpoint' [-Wmissing-prototypes]
1411 | int __weak arch_klp_add_breakpoint(struct arch_klp_data *arch_data, void *old_func)
| ^
kernel/livepatch/core.c:1411:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1411 | int __weak arch_klp_add_breakpoint(struct arch_klp_data *arch_data, void *old_func)
| ^
| static
kernel/livepatch/core.c:1416:13: warning: no previous prototype for function 'arch_klp_remove_breakpoint' [-Wmissing-prototypes]
1416 | void __weak arch_klp_remove_breakpoint(struct arch_klp_data *arch_data, void *old_func)
| ^
kernel/livepatch/core.c:1416:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1416 | void __weak arch_klp_remove_breakpoint(struct arch_klp_data *arch_data, void *old_func)
| ^
| static
>> kernel/livepatch/core.c:1420:13: warning: no previous prototype for function 'arch_klp_set_brk_func' [-Wmissing-prototypes]
1420 | void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
| ^
kernel/livepatch/core.c:1420:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1420 | void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
| ^
| static
kernel/livepatch/core.c:1809:5: warning: no previous prototype for function 'klp_try_enable_patch' [-Wmissing-prototypes]
1809 | int klp_try_enable_patch(void *data)
| ^
kernel/livepatch/core.c:1809:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1809 | int klp_try_enable_patch(void *data)
| ^
| static
14 warnings generated.
vim +/arch_klp_set_brk_func +1420 kernel/livepatch/core.c
1419
> 1420 void __weak arch_klp_set_brk_func(struct klp_func_node *func_node, void *new_func)
1421 {
1422 func_node->brk_func = new_func;
1423 }
1424
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1600/1600] drivers/scsi/leapioraid/leapioraid_func.c:671:1: warning: no previous prototype for 'leapioraid_base_stop_smart_polling'
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: f0c88450d57092a03a2efd8e066f146f2b7c4ee0
commit: 7fea595ef48e9ab13bd31df067b19152153e1925 [1600/1600] SCSI: LEAPIORAID: Supports LEAPIO RAID controller
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20241206/202412060551.aZtqTJZV-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060551.aZtqTJZV-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060551.aZtqTJZV-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_udp_init':
drivers/scsi/leapioraid/leapioraid_func.c:289:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
289 | int ret;
| ^~~
drivers/scsi/leapioraid/leapioraid_func.c: At top level:
>> drivers/scsi/leapioraid/leapioraid_func.c:671:1: warning: no previous prototype for 'leapioraid_base_stop_smart_polling' [-Wmissing-prototypes]
671 | leapioraid_base_stop_smart_polling(struct LEAPIORAID_ADAPTER *ioc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_func.c:1300:1: warning: no previous prototype for 'leapioraid_base_process_reply_queue' [-Wmissing-prototypes]
1300 | leapioraid_base_process_reply_queue(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_func.c:1468:5: warning: no previous prototype for 'leapioraid_base_irqpoll' [-Wmissing-prototypes]
1468 | int leapioraid_base_irqpoll(struct irq_poll *irqpoll, int budget)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_func.c:1490:1: warning: no previous prototype for 'leapioraid_base_init_irqpolls' [-Wmissing-prototypes]
1490 | leapioraid_base_init_irqpolls(struct LEAPIORAID_ADAPTER *ioc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_build_sg_scmd_ieee':
drivers/scsi/leapioraid/leapioraid_func.c:1720:34: warning: variable 'sgl_zero_addr' set but not used [-Wunused-but-set-variable]
1720 | void *sg_local, *chain, *sgl_zero_addr;
| ^~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: At top level:
>> drivers/scsi/leapioraid/leapioraid_func.c:4414:1: warning: no previous prototype for 'leapioraid_base_flush_ios_and_panic' [-Wmissing-prototypes]
4414 | leapioraid_base_flush_ios_and_panic(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_hard_reset_handler':
drivers/scsi/leapioraid/leapioraid_func.c:5723:13: warning: variable 'ioc_state' set but not used [-Wunused-but-set-variable]
5723 | u32 ioc_state;
| ^~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_config_request':
drivers/scsi/leapioraid/leapioraid_func.c:5974:12: warning: variable 'issue_reset' set but not used [-Wunused-but-set-variable]
5974 | u8 issue_reset;
| ^~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_request_irq':
>> drivers/scsi/leapioraid/leapioraid_func.c:2039:75: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 26 [-Wformat-truncation=]
2039 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-msix%d",
| ^~
drivers/scsi/leapioraid/leapioraid_func.c:2039:65: note: directive argument in the range [0, 254]
2039 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-msix%d",
| ^~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2039:17: note: 'snprintf' output between 8 and 35 bytes into a destination of size 32
2039 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-msix%d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2040 | ioc->driver_name, ioc->id, index);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_func.c:2030:70: warning: '-mq-poll' directive output may be truncated writing 8 bytes into a region of size between 6 and 31 [-Wformat-truncation=]
2030 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-mq-poll%d",
| ^~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2030:65: note: directive argument in the range [-255, 255]
2030 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-mq-poll%d",
| ^~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:2030:17: note: 'snprintf' output between 11 and 39 bytes into a destination of size 32
2030 | snprintf(reply_q->name, LEAPIORAID_NAME_LENGTH, "%s%d-mq-poll%d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2031 | ioc->driver_name, ioc->id, qid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_start_log_watchdog':
>> drivers/scsi/leapioraid/leapioraid_func.c:392:59: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 15 [-Wformat-truncation=]
392 | sizeof(ioc->pcie_log_work_q_name), "poll_%s%d_status",
| ^~
drivers/scsi/leapioraid/leapioraid_func.c:392:53: note: directive argument in the range [0, 255]
392 | sizeof(ioc->pcie_log_work_q_name), "poll_%s%d_status",
| ^~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:391:9: note: 'snprintf' output between 14 and 39 bytes into a destination of size 20
391 | snprintf(ioc->pcie_log_work_q_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
392 | sizeof(ioc->pcie_log_work_q_name), "poll_%s%d_status",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
393 | ioc->driver_name, ioc->id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_start_watchdog':
drivers/scsi/leapioraid/leapioraid_func.c:588:62: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 15 [-Wformat-truncation=]
588 | sizeof(ioc->fault_reset_work_q_name), "poll_%s%d_status",
| ^~
drivers/scsi/leapioraid/leapioraid_func.c:588:56: note: directive argument in the range [0, 255]
588 | sizeof(ioc->fault_reset_work_q_name), "poll_%s%d_status",
| ^~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:587:9: note: 'snprintf' output between 14 and 39 bytes into a destination of size 20
587 | snprintf(ioc->fault_reset_work_q_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
588 | sizeof(ioc->fault_reset_work_q_name), "poll_%s%d_status",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
589 | ioc->driver_name, ioc->id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c: In function 'leapioraid_base_start_hba_unplug_watchdog':
drivers/scsi/leapioraid/leapioraid_func.c:637:24: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 15 [-Wformat-truncation=]
637 | "poll_%s%d_hba_unplug", ioc->driver_name, ioc->id);
| ^~
drivers/scsi/leapioraid/leapioraid_func.c:637:18: note: directive argument in the range [0, 255]
637 | "poll_%s%d_hba_unplug", ioc->driver_name, ioc->id);
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_func.c:635:9: note: 'snprintf' output between 18 and 43 bytes into a destination of size 20
635 | snprintf(ioc->hba_hot_unplug_work_q_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
636 | sizeof(ioc->hba_hot_unplug_work_q_name),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
637 | "poll_%s%d_hba_unplug", ioc->driver_name, ioc->id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> drivers/scsi/leapioraid/leapioraid_os.c:521:31: warning: no previous prototype for 'leapioraid_get_sdev_from_target' [-Wmissing-prototypes]
521 | struct leapioraid_sas_device *leapioraid_get_sdev_from_target(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_os.c:534:31: warning: no previous prototype for '__leapioraid_get_sdev_by_addr' [-Wmissing-prototypes]
534 | struct leapioraid_sas_device *__leapioraid_get_sdev_by_addr(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_os.c:866:35: warning: no previous prototype for 'leapioraid_scsihost_enclosure_find_by_handle' [-Wmissing-prototypes]
866 | struct leapioraid_enclosure_node *leapioraid_scsihost_enclosure_find_by_handle(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_os.c:1854:1: warning: no previous prototype for 'leapioraid_scsihost_tm_cmd_map_status' [-Wmissing-prototypes]
1854 | leapioraid_scsihost_tm_cmd_map_status(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_os.c:1889:1: warning: no previous prototype for 'leapioraid_scsihost_tm_post_processing' [-Wmissing-prototypes]
1889 | leapioraid_scsihost_tm_post_processing(struct LEAPIORAID_ADAPTER *ioc, u16 handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_os.c: In function 'leapioraid_scsihost_flush_running_cmds':
drivers/scsi/leapioraid/leapioraid_os.c:3602:39: warning: variable 'mpi_request' set but not used [-Wunused-but-set-variable]
3602 | struct LeapioraidSCSIIOReq_t *mpi_request;
| ^~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_os.c: In function 'leapioraid_scsi_send_scsi_io':
drivers/scsi/leapioraid/leapioraid_os.c:5293:23: warning: variable 'timeleft' set but not used [-Wunused-but-set-variable]
5293 | unsigned long timeleft;
| ^~~~~~~~
drivers/scsi/leapioraid/leapioraid_os.c: In function 'leapioraid_scsihost_reprobe_lun':
drivers/scsi/leapioraid/leapioraid_os.c:7164:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
7164 | int rc;
| ^~
drivers/scsi/leapioraid/leapioraid_os.c: In function 'leapioraid_scsihost_update_device_qdepth':
drivers/scsi/leapioraid/leapioraid_os.c:7727:35: warning: variable 'sas_target_priv_data' set but not used [-Wunused-but-set-variable]
7727 | struct LEAPIORAID_TARGET *sas_target_priv_data;
| ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_os.c: In function 'leapioraid_scsihost_probe':
drivers/scsi/leapioraid/leapioraid_os.c:9379:12: warning: variable 'revision' set but not used [-Wunused-but-set-variable]
9379 | u8 revision;
| ^~~~~~~~
>> drivers/scsi/leapioraid/leapioraid_os.c:9464:28: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 11 [-Wformat-truncation=]
9464 | "fw_event_%s%d", ioc->driver_name, ioc->id);
| ^~
drivers/scsi/leapioraid/leapioraid_os.c:9464:18: note: directive argument in the range [0, 255]
9464 | "fw_event_%s%d", ioc->driver_name, ioc->id);
| ^~~~~~~~~~~~~~~
drivers/scsi/leapioraid/leapioraid_os.c:9463:9: note: 'snprintf' output between 11 and 36 bytes into a destination of size 20
9463 | snprintf(ioc->firmware_event_name, sizeof(ioc->firmware_event_name),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9464 | "fw_event_%s%d", ioc->driver_name, ioc->id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> drivers/scsi/leapioraid/leapioraid_transport.c:104:1: warning: no previous prototype for 'leapioraid_transport_get_port_id_by_rphy' [-Wmissing-prototypes]
104 | leapioraid_transport_get_port_id_by_rphy(struct LEAPIORAID_ADAPTER *ioc,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/leapioraid_base_stop_smart_polling +671 drivers/scsi/leapioraid/leapioraid_func.c
669
670 void
> 671 leapioraid_base_stop_smart_polling(struct LEAPIORAID_ADAPTER *ioc)
672 {
673 struct workqueue_struct *wq;
674
675 wq = ioc->smart_poll_work_q;
676 ioc->smart_poll_work_q = NULL;
677 if (wq) {
678 if (!cancel_delayed_work(&ioc->smart_poll_work))
679 flush_workqueue(wq);
680 destroy_workqueue(wq);
681 }
682 }
683
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2563/2563] fs/ntfs3/frecord.o: warning: objtool: .text.unlikely: unexpected end of section
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
Hi Konstantin,
First bad commit (maybe != root cause):
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 220bfa0ea761db9406a3cfde3064aa029e829221
commit: c213d417e466b7a7d9e02939bb67fcf5d82a3f2f [2563/2563] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile
config: x86_64-buildonly-randconfig-005-20241206 (https://download.01.org/0day-ci/archive/20241206/202412060424.x2PkbEbU-lkp@…)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060424.x2PkbEbU-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060424.x2PkbEbU-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/ntfs3/frecord.o: warning: objtool: .text.unlikely: unexpected end of section
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2544/2544] kernel/livepatch/core.c:1330:14: warning: no previous prototype for function 'arch_klp_mem_alloc'
by kernel test robot 06 Dec '24
by kernel test robot 06 Dec '24
06 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 220bfa0ea761db9406a3cfde3064aa029e829221
commit: bfeb55fc4d6244f8e7cac9c6d0911cfb67089a35 [2544/2544] livepatch: Reduce duplicated arch_klp_mem_{prepare,recycle}
config: x86_64-randconfig-123-20241205 (https://download.01.org/0day-ci/archive/20241206/202412060112.hYQNEbRS-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412060112.hYQNEbRS-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412060112.hYQNEbRS-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/livepatch/core.c:16:
In file included from include/linux/kallsyms.h:12:
In file included from include/linux/mm.h:1554:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
kernel/livepatch/core.c:68:16: warning: no previous prototype for function 'klp_check_patch_kprobed' [-Wmissing-prototypes]
68 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
kernel/livepatch/core.c:68:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
68 | struct kprobe *klp_check_patch_kprobed(struct klp_patch *patch)
| ^
| static
kernel/livepatch/core.c:939:12: warning: no previous prototype for function 'arch_klp_func_can_patch' [-Wmissing-prototypes]
939 | int __weak arch_klp_func_can_patch(struct klp_func *func)
| ^
kernel/livepatch/core.c:939:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
939 | int __weak arch_klp_func_can_patch(struct klp_func *func)
| ^
| static
kernel/livepatch/core.c:944:12: warning: no previous prototype for function 'arch_klp_init_func' [-Wmissing-prototypes]
944 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
kernel/livepatch/core.c:944:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
944 | int __weak arch_klp_init_func(struct klp_object *obj, struct klp_func *func)
| ^
| static
kernel/livepatch/core.c:1288:5: warning: no previous prototype for function 'klp_try_disable_patch' [-Wmissing-prototypes]
1288 | int klp_try_disable_patch(void *data)
| ^
kernel/livepatch/core.c:1288:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1288 | int klp_try_disable_patch(void *data)
| ^
| static
kernel/livepatch/core.c:1322:13: warning: no previous prototype for function 'arch_klp_code_modify_prepare' [-Wmissing-prototypes]
1322 | void __weak arch_klp_code_modify_prepare(void)
| ^
kernel/livepatch/core.c:1322:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1322 | void __weak arch_klp_code_modify_prepare(void)
| ^
| static
kernel/livepatch/core.c:1326:13: warning: no previous prototype for function 'arch_klp_code_modify_post_process' [-Wmissing-prototypes]
1326 | void __weak arch_klp_code_modify_post_process(void)
| ^
kernel/livepatch/core.c:1326:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1326 | void __weak arch_klp_code_modify_post_process(void)
| ^
| static
>> kernel/livepatch/core.c:1330:14: warning: no previous prototype for function 'arch_klp_mem_alloc' [-Wmissing-prototypes]
1330 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
kernel/livepatch/core.c:1330:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1330 | void __weak *arch_klp_mem_alloc(size_t size)
| ^
| static
>> kernel/livepatch/core.c:1335:13: warning: no previous prototype for function 'arch_klp_mem_free' [-Wmissing-prototypes]
1335 | void __weak arch_klp_mem_free(void *mem)
| ^
kernel/livepatch/core.c:1335:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1335 | void __weak arch_klp_mem_free(void *mem)
| ^
| static
kernel/livepatch/core.c:1573:5: warning: no previous prototype for function 'klp_try_enable_patch' [-Wmissing-prototypes]
1573 | int klp_try_enable_patch(void *data)
| ^
kernel/livepatch/core.c:1573:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1573 | int klp_try_enable_patch(void *data)
| ^
| static
10 warnings generated.
vim +/arch_klp_mem_alloc +1330 kernel/livepatch/core.c
1329
> 1330 void __weak *arch_klp_mem_alloc(size_t size)
1331 {
1332 return kzalloc(size, GFP_ATOMIC);
1333 }
1334
> 1335 void __weak arch_klp_mem_free(void *mem)
1336 {
1337 kfree(mem);
1338 }
1339
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0