Kernel
Threads by month
- ----- 2025 -----
- March
- 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
- 16944 discussions

[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