Kernel
Threads by month
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- 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
- 50 participants
- 22099 discussions
[openeuler:OLK-5.10 3415/3415] arch/arm64/kernel/ipi_nmi.c:40:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'?
by kernel test robot 22 Dec '25
by kernel test robot 22 Dec '25
22 Dec '25
Hi Li,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 1588d318a9e388d05b6cf5e2a63134c8beb6a355
commit: f86d165bfe5f6248743774bb07af0bd7cff12443 [3415/3415] arm64: Add non nmi ipi backtrace support
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20251222/202512220254.DKUPaC7y-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251222/202512220254.DKUPaC7y-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/202512220254.DKUPaC7y-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/ipi_nmi.c: In function 'ipi_cpu_backtrace':
arch/arm64/kernel/ipi_nmi.c:38:9: error: implicit declaration of function 'printk_safe_enter'; did you mean 'printk_nmi_enter'? [-Werror=implicit-function-declaration]
38 | printk_safe_enter();
| ^~~~~~~~~~~~~~~~~
| printk_nmi_enter
>> arch/arm64/kernel/ipi_nmi.c:40:9: error: implicit declaration of function 'printk_safe_exit'; did you mean 'printk_nmi_exit'? [-Werror=implicit-function-declaration]
40 | printk_safe_exit();
| ^~~~~~~~~~~~~~~~
| printk_nmi_exit
cc1: some warnings being treated as errors
vim +40 arch/arm64/kernel/ipi_nmi.c
35
36 static void ipi_cpu_backtrace(void *info)
37 {
> 38 printk_safe_enter();
39 nmi_cpu_backtrace(get_irq_regs());
> 40 printk_safe_exit();
41 }
42
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3557/3557] drivers/arm/mm_monitor/spe-decoder/arm-spe-pkt-decoder.c:43:35: sparse: sparse: cast to restricted __le16
by kernel test robot 22 Dec '25
by kernel test robot 22 Dec '25
22 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: b8a759002c48f227d03084fb6b6213a3beaa44e3 [3557/3557] mm_monitor/mm_spe: Introduce standalone SPE profiling framework
config: arm64-randconfig-r132-20251218 (https://download.01.org/0day-ci/archive/20251222/202512220002.7l3mjSAD-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251222/202512220002.7l3mjSAD-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/202512220002.7l3mjSAD-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/arm/mm_monitor/spe-decoder/arm-spe-pkt-decoder.c:43:35: sparse: sparse: cast to restricted __le16
>> drivers/arm/mm_monitor/spe-decoder/arm-spe-pkt-decoder.c:46:35: sparse: sparse: cast to restricted __le32
>> drivers/arm/mm_monitor/spe-decoder/arm-spe-pkt-decoder.c:49:35: sparse: sparse: cast to restricted __le64
vim +43 drivers/arm/mm_monitor/spe-decoder/arm-spe-pkt-decoder.c
26
27 static int arm_spe_get_payload(const unsigned char *buf, size_t len,
28 unsigned char ext_hdr,
29 struct arm_spe_pkt *packet)
30 {
31 size_t payload_len = arm_spe_payload_len(buf[ext_hdr]);
32
33 if (len < 1 + ext_hdr + payload_len)
34 return ARM_SPE_NEED_MORE_BYTES;
35
36 buf += 1 + ext_hdr;
37
38 switch (payload_len) {
39 case 1:
40 packet->payload = *(uint8_t *)buf;
41 break;
42 case 2:
> 43 packet->payload = le16_to_cpu(*(uint16_t *)buf);
44 break;
45 case 4:
> 46 packet->payload = le32_to_cpu(*(uint32_t *)buf);
47 break;
48 case 8:
> 49 packet->payload = le64_to_cpu(*(uint64_t *)buf);
50 break;
51 default:
52 return ARM_SPE_BAD_PACKET;
53 }
54
55 return 1 + ext_hdr + payload_len;
56 }
57
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:openEuler-1.0-LTS 1942/1942] arch/arm64/kernel/vdso/gettimeofday.c:268:13: warning: no previous prototype for '__kernel_clock_gettime'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Andrew,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 4e9c55920995d70b3e88b60c69753df54b03fdf4
commit: f43f336031282e8ea7e5f7f887c5a6ff7b9c99b0 [1942/1942] arm64:vdso: Rewrite gettimeofday into C.
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20251221/202512212208.f4EG9uym-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512212208.f4EG9uym-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/202512212208.f4EG9uym-lkp@intel.com/
Note: functions only called from assembly code should be annotated with the asmlinkage attribute
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/vdso/gettimeofday.c:268:13: warning: no previous prototype for '__kernel_clock_gettime' [-Wmissing-prototypes]
268 | notrace int __kernel_clock_gettime(clockid_t clock, struct timespec *ts)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/gettimeofday.c:302:13: warning: no previous prototype for '__kernel_gettimeofday' [-Wmissing-prototypes]
302 | notrace int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kernel/vdso/gettimeofday.c:325:5: warning: no previous prototype for '__kernel_clock_getres' [-Wmissing-prototypes]
325 | int __kernel_clock_getres(clockid_t clock_id, struct timespec *res)
| ^~~~~~~~~~~~~~~~~~~~~
--
>> arch/arm64/kernel/vdso/gettimeofday.c:268:13: warning: no previous prototype for '__kernel_clock_gettime' [-Wmissing-prototypes]
268 | notrace int __kernel_clock_gettime(clockid_t clock, struct timespec *ts)
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/gettimeofday.c:302:13: warning: no previous prototype for '__kernel_gettimeofday' [-Wmissing-prototypes]
302 | notrace int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz)
| ^~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kernel/vdso/gettimeofday.c:325:5: warning: no previous prototype for '__kernel_clock_getres' [-Wmissing-prototypes]
325 | int __kernel_clock_getres(clockid_t clock_id, struct timespec *res)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/__kernel_clock_gettime +268 arch/arm64/kernel/vdso/gettimeofday.c
267
> 268 notrace int __kernel_clock_gettime(clockid_t clock, struct timespec *ts)
269 {
270 const struct vdso_data *vd = &_vdso_data;
271
272 switch (clock) {
273 case CLOCK_REALTIME:
274 if (do_realtime(vd, ts))
275 goto fallback;
276 break;
277 case CLOCK_MONOTONIC:
278 if (do_monotonic(vd, ts))
279 goto fallback;
280 break;
281 case CLOCK_MONOTONIC_RAW:
282 if (do_monotonic_raw(vd, ts))
283 goto fallback;
284 break;
285 case CLOCK_REALTIME_COARSE:
286 do_realtime_coarse(vd, ts);
287 break;
288 case CLOCK_MONOTONIC_COARSE:
289 do_monotonic_coarse(vd, ts);
290 break;
291 default:
292 goto fallback;
293 }
294
295 return 0;
296 fallback:
297 return clock_gettime_fallback(clock, ts);
298 }
299
300
301
302 notrace int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz)
303 {
304 const struct vdso_data *vd = &_vdso_data;
305
306 if (likely(tv != NULL)) {
307 struct timespec ts;
308
309 if (do_realtime(vd, &ts))
310 return gettimeofday_fallback(tv, tz);
311
312 tv->tv_sec = ts.tv_sec;
313 tv->tv_usec = ts.tv_nsec / 1000;
314 }
315
316 if (unlikely(tz != NULL)) {
317 tz->tz_minuteswest = vd->tz_minuteswest;
318 tz->tz_dsttime = vd->tz_dsttime;
319 }
320
321 return 0;
322 }
323
324
> 325 int __kernel_clock_getres(clockid_t clock_id, struct timespec *res)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
From: 岳智超 <yuezhichao1(a)h-partners.com>
driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IDDE3S?from=project-issue
CVE: NA
--------------------------------
Add thread irq for io queue
Signed-off-by: 岳智超 <yuezhichao1(a)h-partners.com>
---
drivers/scsi/hisi_raid/hiraid.h | 1 +
drivers/scsi/hisi_raid/hiraid_main.c | 60 ++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/hisi_raid/hiraid.h b/drivers/scsi/hisi_raid/hiraid.h
index 04b2e25..b786066 100644
--- a/drivers/scsi/hisi_raid/hiraid.h
+++ b/drivers/scsi/hisi_raid/hiraid.h
@@ -686,6 +686,7 @@ struct hiraid_queue {
atomic_t inflight;
void *sense_buffer_virt;
dma_addr_t sense_buffer_phy;
+ s32 pci_irq;
struct dma_pool *prp_small_pool;
};
diff --git a/drivers/scsi/hisi_raid/hiraid_main.c b/drivers/scsi/hisi_raid/hiraid_main.c
index 2f33339..ee5cb10 100644
--- a/drivers/scsi/hisi_raid/hiraid_main.c
+++ b/drivers/scsi/hisi_raid/hiraid_main.c
@@ -107,6 +107,13 @@ static u32 log_debug_switch;
module_param(log_debug_switch, uint, 0644);
MODULE_PARM_DESC(log_debug_switch, "set log state, default zero for switch off");
+static bool threaded_irq = true;
+module_param(threaded_irq, bool, 0444);
+MODULE_PARM_DESC(threaded_irq, "use threaded irq for io queue, default on");
+
+static u32 poll_delay_min = 9;
+static u32 poll_delay_max = 19;
+
static int extra_pool_num_set(const char *val, const struct kernel_param *kp)
{
u8 n = 0;
@@ -152,7 +159,7 @@ static struct workqueue_struct *work_queue;
__func__, ##__VA_ARGS__); \
} while (0)
-#define HIRAID_DRV_VERSION "1.1.0.1"
+#define HIRAID_DRV_VERSION "1.1.0.2"
#define ADMIN_TIMEOUT (admin_tmout * HZ)
#define USRCMD_TIMEOUT (180 * HZ)
@@ -1305,6 +1312,7 @@ static int hiraid_alloc_queue(struct hiraid_dev *hdev, u16 qid, u16 depth)
hiraidq->q_depth = depth;
hiraidq->qid = qid;
hiraidq->cq_vector = -1;
+ hiraidq->pci_irq = -1;
hdev->queue_count++;
return 0;
@@ -1631,6 +1639,39 @@ static irqreturn_t hiraid_handle_irq(int irq, void *data)
return ret;
}
+static irqreturn_t hiraid_io_poll(int irq, void *data)
+{
+ struct hiraid_queue *hiraidq = data;
+ irqreturn_t ret = IRQ_NONE;
+ u16 start, end;
+
+ do {
+ spin_lock(&hiraidq->cq_lock);
+ hiraid_process_cq(hiraidq, &start, &end, -1);
+ hiraidq->last_cq_head = hiraidq->cq_head;
+ spin_unlock(&hiraidq->cq_lock);
+
+ if (start != end) {
+ hiraid_complete_cqes(hiraidq, start, end);
+ ret = IRQ_HANDLED;
+ }
+ usleep_range(poll_delay_min, poll_delay_max);
+ } while (start != end);
+ enable_irq(hiraidq->pci_irq);
+ return ret;
+}
+
+static irqreturn_t hiraid_io_irq(int irq, void *data)
+{
+ struct hiraid_queue *q = data;
+
+ if (hiraid_cqe_pending(q)) {
+ disable_irq_nosync(q->pci_irq);
+ return IRQ_WAKE_THREAD;
+ }
+ return IRQ_NONE;
+}
+
static int hiraid_setup_admin_queue(struct hiraid_dev *hdev)
{
struct hiraid_queue *adminq = &hdev->queues[0];
@@ -1666,9 +1707,11 @@ static int hiraid_setup_admin_queue(struct hiraid_dev *hdev)
adminq, "hiraid%d_q%d", hdev->instance, adminq->qid);
if (ret) {
adminq->cq_vector = -1;
+ adminq->pci_irq = -1;
return ret;
}
+ adminq->pci_irq = pci_irq_vector(hdev->pdev, adminq->cq_vector);
hiraid_init_queue(adminq, 0);
dev_info(hdev->dev, "setup admin queue success, queuecount[%d] online[%d] pagesize[%d]\n",
@@ -1937,14 +1980,23 @@ static int hiraid_create_queue(struct hiraid_queue *hiraidq, u16 qid)
goto delete_cq;
hiraidq->cq_vector = cq_vector;
- ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_handle_irq, NULL,
- hiraidq, "hiraid%d_q%d", hdev->instance, qid);
+
+ if (threaded_irq)
+ ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_io_irq,
+ hiraid_io_poll, hiraidq, "hiraid%d_q%d",
+ hdev->instance, qid);
+ else
+ ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_handle_irq,
+ NULL, hiraidq, "hiraid%d_q%d",
+ hdev->instance, qid);
if (ret) {
hiraidq->cq_vector = -1;
+ hiraidq->pci_irq = -1;
dev_err(hdev->dev, "request queue[%d] irq failed\n", qid);
goto delete_sq;
}
+ hiraidq->pci_irq = pci_irq_vector(hdev->pdev, hiraidq->cq_vector);
hiraid_init_queue(hiraidq, qid);
return 0;
@@ -2094,10 +2146,12 @@ static int hiraid_setup_io_queues(struct hiraid_dev *hdev)
adminq, "hiraid%d_q%d", hdev->instance, adminq->qid);
if (ret) {
dev_err(hdev->dev, "request admin irq failed\n");
+ adminq->pci_irq = -1;
adminq->cq_vector = -1;
return ret;
}
+ adminq->pci_irq = pci_irq_vector(hdev->pdev, adminq->cq_vector);
hdev->online_queues++;
for (i = hdev->queue_count; i <= hdev->max_qid; i++) {
--
2.45.1.windows.1
2
1
From: 岳智超 <yuezhichao1(a)h-partners.com>
driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IDDE4S?from=project-issue
CVE: NA
--------------------------------
Add thread irq for io queue
Signed-off-by: 岳智超 <yuezhichao1(a)h-partners.com>
---
drivers/scsi/hisi_raid/hiraid.h | 1 +
drivers/scsi/hisi_raid/hiraid_main.c | 60 ++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/hisi_raid/hiraid.h b/drivers/scsi/hisi_raid/hiraid.h
index 04b2e25..b786066 100644
--- a/drivers/scsi/hisi_raid/hiraid.h
+++ b/drivers/scsi/hisi_raid/hiraid.h
@@ -686,6 +686,7 @@ struct hiraid_queue {
atomic_t inflight;
void *sense_buffer_virt;
dma_addr_t sense_buffer_phy;
+ s32 pci_irq;
struct dma_pool *prp_small_pool;
};
diff --git a/drivers/scsi/hisi_raid/hiraid_main.c b/drivers/scsi/hisi_raid/hiraid_main.c
index 2f33339..ee5cb10 100644
--- a/drivers/scsi/hisi_raid/hiraid_main.c
+++ b/drivers/scsi/hisi_raid/hiraid_main.c
@@ -107,6 +107,13 @@ static u32 log_debug_switch;
module_param(log_debug_switch, uint, 0644);
MODULE_PARM_DESC(log_debug_switch, "set log state, default zero for switch off");
+static bool threaded_irq = true;
+module_param(threaded_irq, bool, 0444);
+MODULE_PARM_DESC(threaded_irq, "use threaded irq for io queue, default on");
+
+static u32 poll_delay_min = 9;
+static u32 poll_delay_max = 19;
+
static int extra_pool_num_set(const char *val, const struct kernel_param *kp)
{
u8 n = 0;
@@ -152,7 +159,7 @@ static struct workqueue_struct *work_queue;
__func__, ##__VA_ARGS__); \
} while (0)
-#define HIRAID_DRV_VERSION "1.1.0.1"
+#define HIRAID_DRV_VERSION "1.1.0.2"
#define ADMIN_TIMEOUT (admin_tmout * HZ)
#define USRCMD_TIMEOUT (180 * HZ)
@@ -1305,6 +1312,7 @@ static int hiraid_alloc_queue(struct hiraid_dev *hdev, u16 qid, u16 depth)
hiraidq->q_depth = depth;
hiraidq->qid = qid;
hiraidq->cq_vector = -1;
+ hiraidq->pci_irq = -1;
hdev->queue_count++;
return 0;
@@ -1631,6 +1639,39 @@ static irqreturn_t hiraid_handle_irq(int irq, void *data)
return ret;
}
+static irqreturn_t hiraid_io_poll(int irq, void *data)
+{
+ struct hiraid_queue *hiraidq = data;
+ irqreturn_t ret = IRQ_NONE;
+ u16 start, end;
+
+ do {
+ spin_lock(&hiraidq->cq_lock);
+ hiraid_process_cq(hiraidq, &start, &end, -1);
+ hiraidq->last_cq_head = hiraidq->cq_head;
+ spin_unlock(&hiraidq->cq_lock);
+
+ if (start != end) {
+ hiraid_complete_cqes(hiraidq, start, end);
+ ret = IRQ_HANDLED;
+ }
+ usleep_range(poll_delay_min, poll_delay_max);
+ } while (start != end);
+ enable_irq(hiraidq->pci_irq);
+ return ret;
+}
+
+static irqreturn_t hiraid_io_irq(int irq, void *data)
+{
+ struct hiraid_queue *q = data;
+
+ if (hiraid_cqe_pending(q)) {
+ disable_irq_nosync(q->pci_irq);
+ return IRQ_WAKE_THREAD;
+ }
+ return IRQ_NONE;
+}
+
static int hiraid_setup_admin_queue(struct hiraid_dev *hdev)
{
struct hiraid_queue *adminq = &hdev->queues[0];
@@ -1666,9 +1707,11 @@ static int hiraid_setup_admin_queue(struct hiraid_dev *hdev)
adminq, "hiraid%d_q%d", hdev->instance, adminq->qid);
if (ret) {
adminq->cq_vector = -1;
+ adminq->pci_irq = -1;
return ret;
}
+ adminq->pci_irq = pci_irq_vector(hdev->pdev, adminq->cq_vector);
hiraid_init_queue(adminq, 0);
dev_info(hdev->dev, "setup admin queue success, queuecount[%d] online[%d] pagesize[%d]\n",
@@ -1937,14 +1980,23 @@ static int hiraid_create_queue(struct hiraid_queue *hiraidq, u16 qid)
goto delete_cq;
hiraidq->cq_vector = cq_vector;
- ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_handle_irq, NULL,
- hiraidq, "hiraid%d_q%d", hdev->instance, qid);
+
+ if (threaded_irq)
+ ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_io_irq,
+ hiraid_io_poll, hiraidq, "hiraid%d_q%d",
+ hdev->instance, qid);
+ else
+ ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_handle_irq,
+ NULL, hiraidq, "hiraid%d_q%d",
+ hdev->instance, qid);
if (ret) {
hiraidq->cq_vector = -1;
+ hiraidq->pci_irq = -1;
dev_err(hdev->dev, "request queue[%d] irq failed\n", qid);
goto delete_sq;
}
+ hiraidq->pci_irq = pci_irq_vector(hdev->pdev, hiraidq->cq_vector);
hiraid_init_queue(hiraidq, qid);
return 0;
@@ -2094,10 +2146,12 @@ static int hiraid_setup_io_queues(struct hiraid_dev *hdev)
adminq, "hiraid%d_q%d", hdev->instance, adminq->qid);
if (ret) {
dev_err(hdev->dev, "request admin irq failed\n");
+ adminq->pci_irq = -1;
adminq->cq_vector = -1;
return ret;
}
+ adminq->pci_irq = pci_irq_vector(hdev->pdev, adminq->cq_vector);
hdev->online_queues++;
for (i = hdev->queue_count; i <= hdev->max_qid; i++) {
--
2.45.1.windows.1
2
1
From: 岳智超 <yuezhichao1(a)h-partners.com>
driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IDDE4S?from=project-issue
CVE: NA
--------------------------------
Add thread irq for io queue
Signed-off-by: 岳智超 <yuezhichao1(a)h-partners.com>
---
drivers/scsi/hisi_raid/hiraid.h | 1 +
drivers/scsi/hisi_raid/hiraid_main.c | 61 ++++++++++++++++++++++++++--
2 files changed, 58 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/hisi_raid/hiraid.h b/drivers/scsi/hisi_raid/hiraid.h
index 1ebc3dd..bc4e05a 100644
--- a/drivers/scsi/hisi_raid/hiraid.h
+++ b/drivers/scsi/hisi_raid/hiraid.h
@@ -683,6 +683,7 @@ struct hiraid_queue {
atomic_t inflight;
void *sense_buffer_virt;
dma_addr_t sense_buffer_phy;
+ s32 pci_irq;
struct dma_pool *prp_small_pool;
};
diff --git a/drivers/scsi/hisi_raid/hiraid_main.c b/drivers/scsi/hisi_raid/hiraid_main.c
index f84182f..ee25893 100644
--- a/drivers/scsi/hisi_raid/hiraid_main.c
+++ b/drivers/scsi/hisi_raid/hiraid_main.c
@@ -107,6 +107,13 @@ static u32 log_debug_switch;
module_param(log_debug_switch, uint, 0644);
MODULE_PARM_DESC(log_debug_switch, "set log state, default zero for switch off");
+static bool threaded_irq = true;
+module_param(threaded_irq, bool, 0444);
+MODULE_PARM_DESC(threaded_irq, "use threaded irq for io queue, default on");
+
+static u32 poll_delay_min = 9;
+static u32 poll_delay_max = 19;
+
static int extra_pool_num_set(const char *val, const struct kernel_param *kp)
{
u8 n = 0;
@@ -153,7 +160,7 @@ static struct workqueue_struct *work_queue;
__func__, ##__VA_ARGS__); \
} while (0)
-#define HIRAID_DRV_VERSION "1.1.0.0"
+#define HIRAID_DRV_VERSION "1.1.0.1"
#define ADMIN_TIMEOUT (admin_tmout * HZ)
#define USRCMD_TIMEOUT (180 * HZ)
@@ -1305,6 +1312,7 @@ static int hiraid_alloc_queue(struct hiraid_dev *hdev, u16 qid, u16 depth)
hiraidq->q_depth = depth;
hiraidq->qid = qid;
hiraidq->cq_vector = -1;
+ hiraidq->pci_irq = -1;
hdev->queue_count++;
return 0;
@@ -1646,6 +1654,39 @@ static irqreturn_t hiraid_handle_irq(int irq, void *data)
return ret;
}
+static irqreturn_t hiraid_io_poll(int irq, void *data)
+{
+ struct hiraid_queue *hiraidq = data;
+ irqreturn_t ret = IRQ_NONE;
+ u16 start, end;
+
+ do {
+ spin_lock(&hiraidq->cq_lock);
+ hiraid_process_cq(hiraidq, &start, &end, -1);
+ hiraidq->last_cq_head = hiraidq->cq_head;
+ spin_unlock(&hiraidq->cq_lock);
+
+ if (start != end) {
+ hiraid_complete_cqes(hiraidq, start, end);
+ ret = IRQ_HANDLED;
+ }
+ usleep_range(poll_delay_min, poll_delay_max);
+ } while (start != end);
+ enable_irq(hiraidq->pci_irq);
+ return ret;
+}
+
+static irqreturn_t hiraid_io_irq(int irq, void *data)
+{
+ struct hiraid_queue *q = data;
+
+ if (hiraid_cqe_pending(q)) {
+ disable_irq_nosync(q->pci_irq);
+ return IRQ_WAKE_THREAD;
+ }
+ return IRQ_NONE;
+}
+
static int hiraid_setup_admin_queue(struct hiraid_dev *hdev)
{
struct hiraid_queue *adminq = &hdev->queues[0];
@@ -1681,9 +1722,11 @@ static int hiraid_setup_admin_queue(struct hiraid_dev *hdev)
NULL, adminq, "hiraid%d_q%d", hdev->instance, adminq->qid);
if (ret) {
adminq->cq_vector = -1;
+ adminq->pci_irq = -1;
return ret;
}
+ adminq->pci_irq = pci_irq_vector(hdev->pdev, adminq->cq_vector);
hiraid_init_queue(adminq, 0);
dev_info(hdev->dev, "setup admin queue success, queuecount[%d] online[%d] pagesize[%d]\n",
@@ -1958,14 +2001,23 @@ static int hiraid_create_queue(struct hiraid_queue *hiraidq, u16 qid)
goto delete_cq;
hiraidq->cq_vector = cq_vector;
- ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_handle_irq, NULL,
- hiraidq, "hiraid%d_q%d", hdev->instance, qid);
+ if (threaded_irq)
+ ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_io_irq,
+ hiraid_io_poll, hiraidq, "hiraid%d_q%d",
+ hdev->instance, qid);
+ else
+ ret = pci_request_irq(hdev->pdev, cq_vector, hiraid_handle_irq,
+ NULL, hiraidq, "hiraid%d_q%d",
+ hdev->instance, qid);
+
if (ret) {
hiraidq->cq_vector = -1;
+ hiraidq->pci_irq = -1;
dev_err(hdev->dev, "request queue[%d] irq failed\n", qid);
goto delete_sq;
}
+ hiraidq->pci_irq = pci_irq_vector(hdev->pdev, hiraidq->cq_vector);
hiraid_init_queue(hiraidq, qid);
return 0;
@@ -2122,10 +2174,11 @@ static int hiraid_setup_io_queues(struct hiraid_dev *hdev)
adminq, "hiraid%d_q%d", hdev->instance, adminq->qid);
if (ret) {
dev_err(hdev->dev, "request admin irq failed\n");
+ adminq->pci_irq = -1;
adminq->cq_vector = -1;
return ret;
}
-
+ adminq->pci_irq = pci_irq_vector(hdev->pdev, adminq->cq_vector);
hdev->online_queues++;
for (i = hdev->queue_count; i <= hdev->max_qid; i++) {
--
2.45.1.windows.1
2
2
[openeuler:OLK-6.6] BUILD REGRESSION 04473ee9ed912a16fff0d8846ad565bbf3d63c77
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: 04473ee9ed912a16fff0d8846ad565bbf3d63c77 add migrate not
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202511241700.GqFsj3QM-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511250630.aTlUN4lt-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511252147.paqMgpCw-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511260440.XtGIX1Qz-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511280702.XVMyBDu0-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511281657.lWcX7PhK-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511281845.H2cg7rYT-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511282009.VCbXC9Zw-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511282111.LvHs2qlX-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202511282349.cceTk3rf-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512091138.u8NXXfZk-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512091141.r06Y9a5w-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512091204.Q8mSD8MC-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512110235.L883ZLLi-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512110548.FQDvrNPq-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512110609.FoW9BdOr-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512110700.3emRQ7Un-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512110706.bkOqQiMM-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512110945.4orBvyVq-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512111142.MddOammZ-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512111243.5gbg71Im-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512111912.9dS3N6D9-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512112035.fGJa8Hzw-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512120305.ngE1OnFo-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512120744.b8phlWWR-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512121402.K1KWDJc7-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512121829.l6WBMb9f-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512122024.MnPMvwJ8-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512122109.Sy1IvzI5-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512130131.7HrtXRUl-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512130255.5pbCemhg-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512130435.BO31TiNF-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512131040.ErvjOWkV-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512132253.yDHpZZhf-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512140527.ZQJQrPyG-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512151347.pYQgm67P-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512151406.uDEczUki-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512151453.z27gHP7d-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512151653.mAEBFOna-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202109.DOPKqwQT-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202121.96JSWGZX-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202127.FExeoFRI-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202204.7yVczgx9-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202204.UJ7VQphR-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202208.UvUcLQzT-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202220.cTtDMo8F-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202249.7ZNqNGWi-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202305.zGRxHl6E-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202331.85546LYE-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512202332.cPVupLsK-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210010.kLb4fmr8-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210018.ZcEdgI6o-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210031.v4yKIJFE-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210038.6F02IwRo-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210041.NZ084FEx-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210106.IqHUCCpt-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210108.l9B1EKna-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210133.hQCBSnrQ-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210228.QnsbClZ7-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210308.eEv9d6co-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210339.nHxRhG7l-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210351.fZ2BxCPV-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210402.xNA4HhAd-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210422.Gfg4tcZV-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210450.P2GW20wS-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210513.adq7k77G-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210747.245hMJvq-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210813.VozNt0tS-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512210938.tNGRHg5O-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512211025.4cSwOTdS-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512211148.JPQqoPy8-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202512211327.X52XldqR-lkp@intel.com
arch/arm64/kernel/cpufeature.c:2129:13: warning: 'enable_pseudo_nmi' defined but not used [-Wunused-variable]
arch/arm64/kernel/cpufeature.c:2129:13: warning: unused variable 'enable_pseudo_nmi' [-Wunused-variable]
arch/arm64/kvm/arm.c:569:5: warning: no previous prototype for 'kvm_arch_rec_init' [-Wmissing-prototypes]
arch/arm64/kvm/cca_base.c:52:6: warning: no previous prototype for 'set_cca_cvm_type' [-Wmissing-prototypes]
arch/x86/kernel/cpu/proc.c:63:5: warning: no previous prototype for 'show_cpuinfo' [-Wmissing-prototypes]
arch/x86/kernel/cpu/proc.c:63:5: warning: no previous prototype for function 'show_cpuinfo' [-Wmissing-prototypes]
arch/x86/kernel/early-quirks.c:722:6: warning: no previous prototype for 'is_zhaoxin_kh40000' [-Wmissing-prototypes]
arch/x86/kernel/early-quirks.c:722:6: warning: no previous prototype for function 'is_zhaoxin_kh40000' [-Wmissing-prototypes]
arch/x86/kernel/early-quirks.c:727:34: warning: no previous prototype for 'kh40000_get_direct_dma_ops' [-Wmissing-prototypes]
arch/x86/kernel/early-quirks.c:727:34: warning: no previous prototype for function 'kh40000_get_direct_dma_ops' [-Wmissing-prototypes]
arch/x86/kvm/svm/csv.c:1196: warning: Function parameter or member 'argp' not described in 'csv3_launch_encrypt_data_alt_1'
arch/x86/kvm/svm/csv.c:1196: warning: Function parameter or member 'kvm' not described in 'csv3_launch_encrypt_data_alt_1'
arch/x86/kvm/svm/csv.c:1319: warning: Function parameter or member 'argp' not described in '__csv3_launch_encrypt_data'
arch/x86/kvm/svm/csv.c:1319: warning: Function parameter or member 'end_pgoff' not described in '__csv3_launch_encrypt_data'
arch/x86/kvm/svm/csv.c:1319: warning: Function parameter or member 'kvm' not described in '__csv3_launch_encrypt_data'
arch/x86/kvm/svm/csv.c:1319: warning: Function parameter or member 'params' not described in '__csv3_launch_encrypt_data'
arch/x86/kvm/svm/csv.c:1319: warning: Function parameter or member 'src_buf' not described in '__csv3_launch_encrypt_data'
arch/x86/kvm/svm/csv.c:1319: warning: Function parameter or member 'start_pgoff' not described in '__csv3_launch_encrypt_data'
arch/x86/kvm/svm/csv.c:1436: warning: Function parameter or member 'argp' not described in 'csv3_launch_encrypt_data_alt_2'
arch/x86/kvm/svm/csv.c:1436: warning: Function parameter or member 'kvm' not described in 'csv3_launch_encrypt_data_alt_2'
block/blk-cgroup.c:2320:18: warning: no previous prototype for function 'bpf_blkcg_get_dev_iostat' [-Wmissing-prototypes]
block/genhd.c:100:6: warning: no previous prototype for 'part_stat_read_all' [-Wmissing-prototypes]
block/genhd.c:100:6: warning: no previous prototype for function 'part_stat_read_all' [-Wmissing-prototypes]
clang: warning: no such include directory: 'drivers/infiniband/hw/hiroce3/include/mag' [-Wmissing-include-dirs]
crypto/asymmetric_keys/pgp_library.c:189: warning: Excess function parameter '_data' description in 'pgp_parse_packets'
crypto/asymmetric_keys/pgp_library.c:189: warning: Excess function parameter '_datalen' description in 'pgp_parse_packets'
crypto/asymmetric_keys/pgp_library.c:189: warning: Function parameter or member 'data' not described in 'pgp_parse_packets'
crypto/asymmetric_keys/pgp_library.c:189: warning: Function parameter or member 'datalen' not described in 'pgp_parse_packets'
drivers/ata/ahci_zhaoxin_sgpio.c:31:5: warning: no previous prototype for function 'ahci_wait_em_reset' [-Wmissing-prototypes]
drivers/ata/ahci_zhaoxin_sgpio.c:55:6: warning: no previous prototype for function 'ahci_zhaoxin_set_em_sgpio' [-Wmissing-prototypes]
drivers/ata/ahci_zhaoxin_sgpio.c:601:6: warning: no previous prototype for function 'set_em_messages' [-Wmissing-prototypes]
drivers/ata/ahci_zhaoxin_sgpio.c:621:5: warning: no previous prototype for function 'add_sgpio_zhaoxin' [-Wmissing-prototypes]
drivers/ata/ahci_zhaoxin_sgpio.c:99:6: warning: no previous prototype for function 'ahci_zhaoxin_set_em_sgpio_gpmode' [-Wmissing-prototypes]
drivers/ata/libahci.c:210:5: warning: no previous prototype for function 'get_ahci_em_messages' [-Wmissing-prototypes]
drivers/block/drbd/drbd_bitmap.c:1232: warning: Function parameter or member 'peer_device' not described in 'drbd_bm_write'
drivers/clk/renesas/r9a06g032-clocks.c:147: warning: Function parameter or member 'dual' not described in 'r9a06g032_clkdesc'
drivers/clocksource/arm_arch_timer.c:371:33: warning: unused variable 'hisi_165010801_oem_info' [-Wunused-variable]
drivers/cpufreq/acpi-cpufreq.c:638:13: warning: 'sched_set_itmt' defined but not used [-Wunused-function]
drivers/cpufreq/cppc_cpufreq.c:852:19: error: invalid use of undefined type 'struct fb_ctr_pair'
drivers/cpufreq/cppc_cpufreq.c:866:21: warning: unused variable 'fb_ctrs' [-Wunused-variable]
drivers/cpufreq/cppc_cpufreq.c:866:34: error: 'struct fb_ctr_pair' has no member named 'cpu'
drivers/cpufreq/cppc_cpufreq.c:866:40: warning: excess elements in struct initializer
drivers/cpufreq/cppc_cpufreq.c:866:9: error: variable 'fb_ctrs' has initializer but incomplete type
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:127:25: sparse: sparse: cast to restricted __be64
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:150:22: sparse: sparse: incorrect type in assignment (different base types)
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:202:25: sparse: sparse: cast to restricted __be32
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:212:32: sparse: sparse: incorrect type in assignment (different base types)
drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: sparse: incorrect type in assignment (different base types)
drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:25: sparse: sparse: cast from restricted __le32
drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: sparse: incorrect type in assignment (different base types)
drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: sparse: incorrect type in assignment (different base types)
drivers/crypto/ccp/hygon/ccp-mdev.c:1144:15: warning: no previous prototype for function 'ccp_pin_memory' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/csv-dev.c:814: warning: Function parameter or member 'api_minor' not described in 'user_data_status'
drivers/crypto/ccp/hygon/hct.c:1333:15: warning: no previous prototype for function 'hct_pin_memory' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/hct.c:1427:15: warning: no previous prototype for function 'hct_pin_memory' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/psp-dev.c:30:5: warning: no previous prototype for function 'psp_mutex_init' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/tdm-kernel-guard.c:151:5: warning: no previous prototype for function 'tdm_service_run' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/tdm-kernel-guard.c:212:5: warning: no previous prototype for function 'tdm_service_exit' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/vpsp.c:1024:5: warning: no previous prototype for function 'vpsp_do_cmd' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/vpsp.c:1055:5: warning: no previous prototype for function 'vpsp_do_cmd' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/vpsp.c:65: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/crypto/ccp/hygon/vpsp.c:773:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission' [-Wmissing-prototypes]
drivers/crypto/ccp/hygon/vpsp.c:92: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/dax/super.c:45: warning: Function parameter or member 'KABI_RESERVE(1' not described in 'dax_device'
drivers/gpu/drm/phytium/pe220x_dc.c:110:6: warning: no previous prototype for function 'pe220x_dc_hw_reset' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/pe220x_dc.c:270:6: warning: no previous prototype for function 'pe220x_dc_hw_update_primary_hi_addr' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/pe220x_dc.c:287:6: warning: no previous prototype for function 'pe220x_dc_hw_update_cursor_hi_addr' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/pe220x_dc.c:93:6: warning: no previous prototype for function 'pe220x_dc_hw_config_pix_clock' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/pe220x_dp.c:470:5: warning: no previous prototype for function 'pe220x_dp_hw_reset' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_crtc.c:174:1: warning: no previous prototype for function 'phytium_crtc_atomic_duplicate_state' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_crtc.c:189:1: warning: no previous prototype for function 'phytium_crtc_atomic_destroy_state' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_debugfs.c:376:5: warning: no previous prototype for function 'phytium_debugfs_connector_add' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:1033:6: warning: no previous prototype for function 'phytium_dp_hw_hpd_irq_setup' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:1451:5: warning: no previous prototype for function 'phytium_dp_get_link_train_fallback_values' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:1500:5: warning: no previous prototype for function 'phytium_dp_start_link_train' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:1815:6: warning: no previous prototype for function 'phytium_dp_hpd_poll_handler' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:1962:6: warning: no previous prototype for function 'phytium_dp_fast_link_train' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:2153:6: warning: no previous prototype for function 'phytium_dp_adjust_link_train_parameter' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:2213:1: warning: no previous prototype for function 'phytium_encoder_mode_valid' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:2482:5: warning: no previous prototype for function 'phytium_get_encoder_crtc_mask' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:656:6: warning: no previous prototype for function 'phytium_dp_hw_enable_audio' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:825:6: warning: no previous prototype for function 'phytium_dp_hw_disable_video' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:963:6: warning: no previous prototype for function 'phytium_dp_hw_enable_output' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:975:6: warning: no previous prototype for function 'phytium_dp_hw_enable_input_source' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:986:6: warning: no previous prototype for function 'phytium_dp_hw_disable_input_source' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_dp.c:996:6: warning: no previous prototype for function 'phytium_dp_hw_output_is_enable' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_fbdev.c:108:5: warning: no previous prototype for function 'phytium_drm_fbdev_init' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_gem.c:186:5: warning: no previous prototype for function 'phytium_dma_transfer' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_panel.c:234:6: warning: no previous prototype for function 'phytium_dp_panel_release_backlight_funcs' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_pci.c:115:5: warning: no previous prototype for function 'phytium_pci_dma_init' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_pci.c:24:6: warning: no previous prototype for function 'phytium_pci_vram_hw_init' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_plane.c:30:6: warning: no previous prototype for function 'phytium_plane_destroy' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/phytium_plane.c:82:1: warning: no previous prototype for function 'phytium_plane_atomic_duplicate_state' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dc.c:244:6: warning: no previous prototype for function 'px210_dc_hw_plane_get_primary_format' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dc.c:253:6: warning: no previous prototype for function 'px210_dc_hw_plane_get_cursor_format' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dc.c:262:6: warning: no previous prototype for function 'px210_dc_hw_update_dcreq' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dc.c:319:6: warning: no previous prototype for function 'px210_dc_hw_update_primary_hi_addr' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dc.c:71:6: warning: no previous prototype for function 'px210_dc_hw_vram_init' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dp.c:852:6: warning: no previous prototype for function 'px210_dp_hw_spread_is_enable' [-Wmissing-prototypes]
drivers/gpu/drm/phytium/px210_dp.c:864:5: warning: no previous prototype for function 'px210_dp_hw_reset' [-Wmissing-prototypes]
drivers/i2c/busses/i2c-zhaoxin.c:176:5: warning: no previous prototype for function 'zxi2c_fifo_irq_xfer' [-Wmissing-prototypes]
drivers/i2c/busses/i2c-zhaoxin.c:314:5: warning: no previous prototype for function 'zxi2c_xfer' [-Wmissing-prototypes]
drivers/infiniband/hw/bnxt_re/ib_verbs.c:2928:24: warning: variable 'nq' set but not used [-Wunused-but-set-variable]
drivers/irqchip/irq-gic-v3-its.c:392:15: warning: no previous prototype for 'gic_data_rdist_get_vlpi_base' [-Wmissing-prototypes]
drivers/irqchip/irq-gic-v3.c:1526:6: warning: no previous prototype for 'gic_dist_enable_ipiv' [-Wmissing-prototypes]
drivers/irqchip/irq-gic-v3.c:561:6: warning: no previous prototype for 'gic_irq_set_prio' [-Wmissing-prototypes]
drivers/irqchip/irq-gic-v3.c:561:6: warning: no previous prototype for function 'gic_irq_set_prio' [-Wmissing-prototypes]
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:1001:46: sparse: sparse: incorrect type in argument 4 (different base types)
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:161:31: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:244:20: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:305:20: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:355:20: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:783:41: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:816:37: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:894:43: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:1823:5: sparse: sparse: symbol 'cfg_set_func_sf_en' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:1866:5: sparse: sparse: symbol 'cfg_get_func_sf_en' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:38:6: sparse: sparse: symbol 'g_rdma_mtts_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:39:6: sparse: sparse: symbol 'g_rdma_qps_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:40:6: sparse: sparse: symbol 'g_rdma_mpts_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:41:6: sparse: sparse: symbol 'g_vfs_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:55:6: sparse: sparse: symbol 'g_test_qpc_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:56:6: sparse: sparse: symbol 'g_test_qpc_resvd_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:57:6: sparse: sparse: symbol 'g_test_pagesize_reorder' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:58:6: sparse: sparse: symbol 'g_test_xid_alloc_mode' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:59:6: sparse: sparse: symbol 'g_test_gpa_check_enable' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:60:6: sparse: sparse: symbol 'g_test_qpc_alloc_mode' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:61:6: sparse: sparse: symbol 'g_test_scqc_alloc_mode' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:62:6: sparse: sparse: symbol 'g_test_max_conn' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:63:6: sparse: sparse: symbol 'g_test_max_cache_conn' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:64:6: sparse: sparse: symbol 'g_test_scqc_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:65:6: sparse: sparse: symbol 'g_test_mpt_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:66:6: sparse: sparse: symbol 'g_test_mpt_resvd' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:67:6: sparse: sparse: symbol 'g_test_scq_resvd' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:68:6: sparse: sparse: symbol 'g_test_hash_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cfg.c:69:6: sparse: sparse: symbol 'g_test_reorder_num' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1297:31: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1367:23: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1384:5: sparse: sparse: symbol 'hinic_set_cmdq_ctxts' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:369:20: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:372:28: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:372:28: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:513:31: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:519:40: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:205:51: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:219:44: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:375:37: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:394:37: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:459:54: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:480:44: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:487:44: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:548:37: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_dcb.c:103:19: error: invalid application of 'sizeof' to an incomplete type 'struct ieee_ets'
drivers/net/ethernet/huawei/hinic/hinic_dcb.c:1201:4: sparse: sparse: symbol 'hinic_dcbnl_set_all' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_dcb.c:1601:5: sparse: sparse: symbol '__set_cos_up_map' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_dcb.c:258:6: sparse: sparse: symbol 'hinic_set_prio_tc_map' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_dcb.c:62:6: sparse: sparse: symbol 'hinic_dcb_config_init' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_dcb.c:95:6: sparse: sparse: symbol 'hinic_init_ieee_settings' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:391: warning: expecting prototype for hinic_aeq_unregister_sw_cb(). Prototype was for hinic_aeq_unregister_swe_cb() instead
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:417: warning: expecting prototype for hinic_ceq_register_sw_cb(). Prototype was for hinic_ceq_register_cb() instead
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:524:29: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:544:37: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:902:25: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:920:28: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:1858:6: sparse: sparse: symbol 'hinic_lp_test' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:2271:54: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1061:5: sparse: sparse: symbol 'hinic_msg_to_mgmt_no_ack' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1153:22: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1175:24: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1978:5: sparse: sparse: symbol 'comm_pf_mbox_handler' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:227:5: sparse: sparse: symbol 'hinic_hw_rx_buf_size' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:2749:5: sparse: sparse: symbol 'hinic_ppf_ht_gpa_init' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:2795:6: sparse: sparse: symbol 'hinic_ppf_ht_gpa_deinit' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4581:5: sparse: sparse: symbol '_set_led_status' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4667:5: sparse: sparse: symbol 'hinic_get_phy_init_status' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4934:21: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4994:18: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:583:28: sparse: sparse: symbol 'hw_cmd_support_vf' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:40:16: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:46:16: sparse: sparse: incorrect type in argument 1 (different base types)
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:592:29: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:593:30: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:596:23: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:664:64: sparse: sparse: incorrect type in argument 4 (different base types)
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:717: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1139:6: sparse: sparse: symbol 'hinic_get_ppf_hwdev_by_pdev' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:133:1: sparse: sparse: symbol 'g_hinic_chip_list' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1448:19: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1785:57: sparse: sparse: Using plain integer as NULL pointer
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1896:6: sparse: sparse: symbol 'hinic_event_process' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1950:53: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2381:32: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2382:33: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2383:27: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_lld.c:447:6: sparse: sparse: symbol 'hinic_init_syncfw_timer' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:462:6: sparse: sparse: symbol 'hinic_destroy_syncfw_timer' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:505:31: sparse: sparse: symbol 'ver_incompat_table' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:550:5: sparse: sparse: symbol 'hinic_version_cmp' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_lld.c:744:29: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_lld.c:745:24: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_lld.c:746:26: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_main.c:182:5: sparse: sparse: symbol 'hinic_netdev_event' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_main.c:182:5: warning: no previous prototype for 'hinic_netdev_event' [-Wmissing-prototypes]
drivers/net/ethernet/huawei/hinic/hinic_main.c:230:1: sparse: sparse: symbol 'g_hinic_netdev_notifiers_mutex' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1009:6: sparse: sparse: symbol 'dump_mox_reg' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1024:22: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1567:25: sparse: sparse: incorrect type in assignment (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:373: warning: expecting prototype for hinic_unregister_ppf_mbox_cb(). Prototype was for hinic_unregister_pf_mbox_cb() instead
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:796:5: sparse: sparse: symbol 'set_vf_mbox_random_id' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:846:6: sparse: sparse: symbol 'check_vf_mbox_random_id' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:872:21: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:951:54: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:629:6: sparse: sparse: symbol 'comm_ppf_to_pf_handler' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:647:5: sparse: sparse: symbol 'hinic_nic_ppf_mbox_handler' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:656:6: sparse: sparse: symbol 'hinic_nic_ppf_to_pf_handler' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:665:5: sparse: sparse: symbol 'hinic_register_slave_ppf' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1740:30: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1743:23: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1745:22: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1949:31: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1968:27: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:2622:5: sparse: sparse: symbol 'nic_pf_mbox_handler' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:3623:5: sparse: sparse: symbol 'hw_speed_convert' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:531:5: sparse: sparse: symbol 'hinic_hiovs_set_cpath_vlan' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:557:5: sparse: sparse: symbol 'hinic_hiovs_del_cpath_vlan' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:98:28: sparse: sparse: symbol 'nic_cmd_support_vf' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c:102:24: sparse: sparse: incorrect type in return expression (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c:161:22: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/ethernet/huawei/hinic/hinic_nic_dev.h:212:19: error: field has incomplete type 'struct ieee_pfc'
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:1028:27: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:362:6: sparse: sparse: symbol 'hinic_qp_prepare_cmdq_header' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:381:6: sparse: sparse: symbol 'hinic_sq_prepare_ctxt' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:395:24: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:443:6: sparse: sparse: symbol 'hinic_rq_prepare_ctxt' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:897:16: sparse: sparse: cast to restricted __be16
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:967:23: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:971:31: sparse: sparse: cast removes address space '__iomem' of expression
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:971:31: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:115:43: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1714:35: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:182:32: sparse: sparse: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:698:5: sparse: sparse: symbol 'get_pfc_info' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:720:5: sparse: sparse: symbol 'set_pfc_control' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:752:5: sparse: sparse: symbol 'set_ets' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:827:5: sparse: sparse: symbol 'get_support_up' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:855:5: sparse: sparse: symbol 'get_support_tc' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:875:5: sparse: sparse: symbol 'get_ets_info' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:893:5: sparse: sparse: symbol 'set_pfc_priority' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_qp.c:49:26: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:85:21: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_rx.c:149:44: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_rx.c:151:43: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_rx.c:171:6: sparse: sparse: symbol 'hinic_rx_free_buffers' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_rx.c:560:6: sparse: sparse: symbol 'rx_pass_super_cqe' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:28:23: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:41:25: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:44:21: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:158:28: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:274:35: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:275:35: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:68:20: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:87:26: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_tx.c:1100:5: sparse: sparse: symbol 'hinic_stop_sq' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_tx.c:551:35: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_tx.c:913:5: sparse: sparse: symbol 'hinic_setup_tx_wqe' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_wq.c:206:54: sparse: sparse: incorrect type in argument 4 (different base types)
drivers/net/ethernet/huawei/hinic/hinic_wq.c:212:24: sparse: sparse: incorrect type in assignment (different base types)
drivers/net/ethernet/huawei/hinic/hinic_wq.c:583:16: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:893:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc_low2bit_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc_reserved() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_free() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:119: warning: expecting prototype for Prototype(). Prototype was for cqm_check_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1212: warning: expecting prototype for Prototype(). Prototype was for cqm_single_object_table_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1232: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1299: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_uninit() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_insert() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_remove() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_get() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: expecting prototype for Prototype(). Prototype was for cqm_kmalloc_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:187: warning: expecting prototype for Prototype(). Prototype was for cqm_kfree_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: expecting prototype for Prototype(). Prototype was for cqm_buf_alloc() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: expecting prototype for Prototype(). Prototype was for cqm_swab64() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: expecting prototype for Prototype(). Prototype was for cqm_buf_free() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: expecting prototype for Prototype(). Prototype was for cqm_swab32() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:771: warning: expecting prototype for Prototype(). Prototype was for cqm_single_bitmap_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:841: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:937: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_uninit() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:96: warning: expecting prototype for Prototype(). Prototype was for cqm_shift() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_check_range() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:823:5: warning: no previous prototype for 'hinic3_set_rxq_recovery_flag' [-Wmissing-prototypes]
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:548:38: warning: ', rx power: ' directive output may be truncated writing 12 bytes into a region of size between 1 and 512 [-Wformat-truncation=]
drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:395:5: warning: no previous prototype for 'hinic3_tx_offload' [-Wmissing-prototypes]
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1860:22: warning: assignment to 'int (*)(struct pci_dev *)' from 'int' makes pointer from integer without a cast [-Wint-conversion]
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1860:24: error: implicit declaration of function '__symbol_get'; did you mean 'symbol_get'? [-Werror=implicit-function-declaration]
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1869:3: error: implicit declaration of function '__symbol_put'; did you mean 'symbol_put'? [-Werror=implicit-function-declaration]
drivers/net/ethernet/linkdata/sxe/base/log/sxe_log.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/base/trace/sxe_trace.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_csum.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_dcb.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_debugfs.c:432:6: error: no previous prototype for 'sxe_debugfs_entries_init' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_debugfs.c:459:6: error: no previous prototype for 'sxe_debugfs_entries_exit' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_debugfs.c:465:6: error: no previous prototype for 'sxe_debugfs_init' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_debugfs.c:470:6: error: no previous prototype for 'sxe_debugfs_exit' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c:2022:5: error: no previous prototype for 'sxe_reg_test' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c:2644:5: error: no previous prototype for 'sxe_phys_id_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c:2736:47: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_filter.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1033:6: error: no previous prototype for 'sxe_hw_is_link_state_up' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1064:5: error: no previous prototype for 'sxe_hw_fc_enable' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1135:6: error: no previous prototype for 'sxe_fc_autoneg_localcap_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1256:6: error: no previous prototype for 'sxe_hw_crc_configure' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1330:6: error: no previous prototype for 'sxe_hw_fc_tc_high_water_mark_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1335:6: error: no previous prototype for 'sxe_hw_fc_tc_low_water_mark_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1340:6: error: no previous prototype for 'sxe_hw_is_fc_autoneg_disabled' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1345:6: error: no previous prototype for 'sxe_hw_fc_autoneg_disable_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1360:6: error: no previous prototype for 'sxe_hw_fc_requested_mode_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:1437:6: error: no previous prototype for 'sxe_hw_fc_mac_addr_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2147:6: error: no previous prototype for 'sxe_hw_fnav_enable' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2204:5: error: no previous prototype for 'sxe_hw_fnav_port_mask_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2310:5: error: no previous prototype for 'sxe_hw_fnav_specific_rule_mask_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2445:5: error: no previous prototype for 'sxe_hw_fnav_specific_rule_add' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2469:5: error: no previous prototype for 'sxe_hw_fnav_specific_rule_del' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2500:6: error: no previous prototype for 'sxe_hw_fnav_sample_rule_configure' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:2587:5: error: no previous prototype for 'sxe_hw_fnav_sample_rules_table_reinit' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3147:6: error: no previous prototype for 'sxe_hw_all_ring_disable' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3295:6: error: no previous prototype for 'sxe_hw_dcb_rx_bw_alloc_configure' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3330:6: error: no previous prototype for 'sxe_hw_dcb_tx_desc_bw_alloc_configure' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3360:6: error: no previous prototype for 'sxe_hw_dcb_tx_data_bw_alloc_configure' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3397:6: error: no previous prototype for 'sxe_hw_dcb_pfc_configure' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3565:6: error: no previous prototype for 'sxe_hw_dcb_max_mem_window_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3570:6: error: no previous prototype for 'sxe_hw_dcb_tx_ring_rate_factor_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:3674:6: error: no previous prototype for 'sxe_hw_dcb_rate_limiter_clear' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4497:5: error: no previous prototype for 'sxe_hw_hdc_lock_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4536:6: error: no previous prototype for 'sxe_hw_hdc_lock_release' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4552:6: error: no previous prototype for 'sxe_hw_hdc_fw_ov_clear' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4557:6: error: no previous prototype for 'sxe_hw_hdc_is_fw_over_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4567:6: error: no previous prototype for 'sxe_hw_hdc_packet_send_done' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4573:6: error: no previous prototype for 'sxe_hw_hdc_packet_header_send' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4578:6: error: no previous prototype for 'sxe_hw_hdc_packet_data_dword_send' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4584:5: error: no previous prototype for 'sxe_hw_hdc_fw_ack_header_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4589:5: error: no previous prototype for 'sxe_hw_hdc_packet_data_dword_rcv' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4594:5: error: no previous prototype for 'sxe_hw_hdc_fw_status_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4604:6: error: no previous prototype for 'sxe_hw_hdc_drv_status_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:4609:5: error: no previous prototype for 'sxe_hw_hdc_channel_state_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:745:5: error: no previous prototype for 'sxe_hw_irq_cause_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:775:6: error: no previous prototype for 'sxe_hw_irq_general_reg_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:780:5: error: no previous prototype for 'sxe_hw_irq_general_reg_get' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:790:6: error: no previous prototype for 'sxe_hw_event_irq_map' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:838:6: error: no previous prototype for 'sxe_hw_event_irq_auto_clear_set' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:876:6: error: no previous prototype for 'sxe_hw_all_irq_disable' [-Werror=missing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_hw.c:994:5: error: no previous prototype for function 'sxe_hw_link_speed_get' [-Werror,-Wmissing-prototypes]
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ipsec.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ptp.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxe/sxepf/sxe_tx_proc.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxevf/base/log/sxe_log.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_csum.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_hw.c:640:6: error: no previous prototype for function 'sxevf_rx_rcv_ctl_configure' [-Werror,-Wmissing-prototypes]
drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_main.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_monitor.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_netdev.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/linkdata/sxevf/sxevf/sxevf_ring.c:3: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:171: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:378:6: warning: variable 'node_size' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:674:6: warning: variable 'node_num' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_common/nbl_common.c:798:6: warning: variable 'node_size' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c:458:13: warning: assignment to 'struct eventfd_ctx *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev_user.c:756:16: warning: variable 'vfn' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:2593:38: warning: variable 'param' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:3554:38: warning: variable 'param' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:4331:26: warning: variable 'chan_ops' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dispatch.c:7888:26: warning: variable 'chan_ops' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: sparse: incorrect type in argument 2 (different address spaces)
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:3025:28: warning: variable 'ring_mgt' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:34: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:1823:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:550:55: warning: '%08x' directive output may be truncated writing 8 bytes into a region of size between 2 and 11 [-Wformat-truncation=]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_flow_leonis.c:893:22: warning: variable 'phy_ops' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_interrupt.c:12:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_txrx.c:1196: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:76:24: warning: variable 'queue_mgt' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:83:22: warning: variable 'vsi_mgt' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:84:22: warning: variable 'phy_ops' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:96:22: warning: variable 'vsi_mgt' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_vsi.c:97:22: warning: variable 'phy_ops' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/nebula-matrix/nbl/nbl_main.c:330: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/nebula-matrix/nbl/nbl_main.c:434: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:34: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:1376: warning: Excess function parameter 'vmdq' description in 'ngbe_set_vmdq'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:1376: warning: Function parameter or member 'pool' not described in 'ngbe_set_vmdq'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3328: warning: expecting prototype for ngbe_read_ee_hostif(). Prototype was for ngbe_read_ee_hostif_data() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3667: warning: expecting prototype for ngbe_read_ee_hostif(). Prototype was for ngbe_read_ee_hostif32() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3739: warning: expecting prototype for ngbe_write_ee_hostif(). Prototype was for ngbe_write_ee_hostif_data32() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:4272:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3772:6: warning: variable 'vlvfb' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5771: warning: expecting prototype for ngbe_watchdog_update_link(). Prototype was for ngbe_watchdog_update_link_status() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:1737: warning: expecting prototype for ngbe_tn_check_overtemp(). Prototype was for ngbe_phy_check_overtemp() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:877: warning: expecting prototype for ngbe_identify_module(). Prototype was for ngbe_phy_identify() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_sriov.c:161: warning: expecting prototype for ngbe_pet_vfs(). Prototype was for ngbe_put_vfs() instead
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:123:6: warning: variable 'value_back' set but not used [-Wunused-but-set-variable]
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:487:6: warning: variable 'test_mask' set but not used [-Wunused-but-set-variable]
drivers/platform/surface/surface3_power.c:248:3: warning: 'snprintf' will always be truncated; specified size is 10, but format string expands to at least 12 [-Wformat-truncation-non-kprintf]
drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c:545:5: error: no previous prototype for function 'ps3_pci_init' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c:899:5: error: no previous prototype for function 'ps3_pci_init_complete' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c:945:6: error: no previous prototype for function 'ps3_pci_init_complete_exit' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_cli_debug.c:1059:5: error: no previous prototype for function 'ps3_dump_context_show' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_driver_log.c:41:19: error: unused function 'time_for_log' [-Werror,-Wunused-function]
drivers/scsi/linkdata/ps3stor/./linux/ps3_driver_log.c:65:19: error: unused function 'time_for_file_name' [-Werror,-Wunused-function]
drivers/scsi/linkdata/ps3stor/./linux/ps3_dump.c:159:5: error: no previous prototype for function 'ps3_dump_file_write' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_dump.c:200:5: error: no previous prototype for function 'ps3_dump_file_close' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_dump.c:28:5: error: no previous prototype for function 'ps3_dump_local_time' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_dump.c:50:5: error: no previous prototype for function 'ps3_dump_filename_build' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/./linux/ps3_dump.c:76:5: error: no previous prototype for function 'ps3_dump_file_open' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:131:6: error: no previous prototype for function 'ps3_trigger_irq_poll' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:243:5: error: no previous prototype for function 'ps3_resp_status_convert' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:403:6: error: no previous prototype for function 'ps3_io_recv_ok_stat_inc' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:85:6: error: no previous prototype for function 'ps3_cmd_stat_content_clear' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_debug.c:883:5: error: no previous prototype for function 'ps3_dump_dir_length' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_device_manager.c:1581:5: error: no previous prototype for function 'ps3_scsi_private_init_pd' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_device_manager.c:1663:5: error: no previous prototype for function 'ps3_scsi_private_init_vd' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_device_manager_sas.c:1632:5: error: no previous prototype for function 'ps3_sas_expander_phys_refresh' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_ioc_adp.c:147:6: error: no previous prototype for function 'ps3_ioc_resource_prepare_hba' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_ioc_adp.c:36:6: error: no previous prototype for function 'ps3_ioc_resource_prepare_switch' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_ioc_adp.c:88:6: error: no previous prototype for function 'ps3_ioc_resource_prepare_raid' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:307:5: error: no previous prototype for function 'ps3_hard_reset_to_ready' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_ioctl.c:785:6: error: no previous prototype for function 'ps3_clean_mgr_cmd' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:21:27: error: unused variable 'PS3_INTERRUPT_CMD_DISABLE_ALL_MASK' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:22:27: error: unused variable 'PS3_INTERRUPT_CMD_ENABLE_MSIX' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:23:27: error: unused variable 'PS3_INTERRUPT_MASK_DISABLE' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:24:27: error: unused variable 'PS3_INTERRUPT_STATUS_EXIST_IRQ' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:25:27: error: unused variable 'PS3_INTERRUPT_CLEAR_IRQ' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:27:27: error: unused variable 'PS3_SSD_IOPS_MSIX_VECTORS' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_irq.c:28:27: error: unused variable 'PS3_HDD_IOPS_MSIX_VECTORS' [-Werror,-Wunused-const-variable]
drivers/scsi/linkdata/ps3stor/ps3_module_para.c:609:14: error: no previous prototype for function 'ps3_cli_ver_query' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:6: error: no previous prototype for function 'ps3_qos_pd_waitq_ratio_update' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:15: error: no previous prototype for function 'ps3_hba_qos_decision' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:6: error: no previous prototype for function 'ps3_hba_qos_waitq_notify' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:6: error: no previous prototype for function 'ps3_cmd_waitq_abort' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:211:1: error: no previous prototype for function 'ps3_qos_cmd_waitq_get' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:6: error: no previous prototype for function 'ps3_hba_qos_waitq_clear_all' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:6: error: no previous prototype for function 'ps3_hba_qos_vd_init' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:6: error: no previous prototype for function 'ps3_hba_qos_vd_reset' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3023:6: error: no previous prototype for function 'ps3_hba_qos_waitq_poll' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3279:15: error: no previous prototype for function 'ps3_raid_qos_decision' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3334:6: error: no previous prototype for function 'ps3_qos_mgrq_resend' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:15: error: no previous prototype for function 'ps3_qos_vd_cmdword_get' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3478:6: error: no previous prototype for function 'ps3_raid_qos_waitq_notify' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:15: error: no previous prototype for function 'ps3_qos_exclusive_cmdword_get' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:15: error: no previous prototype for function 'ps3_qos_tg_decision' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3821:15: error: no previous prototype for function 'ps3_raid_qos_waitq_abort' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:15: error: no previous prototype for function 'ps3_qos_all_pd_rc_get' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clear_all' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clean' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:1173:5: error: no previous prototype for function 'ps3_range_check_and_insert' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:1231:5: error: no previous prototype for function 'ps3_r1x_hash_range_lock' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:1312:6: error: no previous prototype for function 'ps3_r1x_hash_range_unlock' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:578:5: error: no previous prototype for function 'ps3_r1x_hash_bit_check' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:678:6: error: no previous prototype for function 'ps3_r1x_conflict_queue_hash_bit_lock' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:730:5: error: no previous prototype for function 'ps3_r1x_hash_bit_lock' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_r1x_write_lock.c:988:6: error: no previous prototype for function 'ps3_r1x_hash_bit_unlock' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_rb_tree.c:154:6: error: no previous prototype for function 'rbtDelNodeDo' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_recovery.c:204:6: error: no previous prototype for function 'ps3_recovery_irq_queue_destroy' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_recovery.c:2700:6: error: no previous prototype for function 'ps3_hard_recovery_state_finish' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_recovery.c:363:5: error: no previous prototype for function 'ps3_recovery_state_transfer' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_recovery.c:72:30: error: no previous prototype for function 'ps3_recovery_context_alloc' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_recovery.c:82:6: error: no previous prototype for function 'ps3_recovery_context_free' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_recovery.c:88:6: error: no previous prototype for function 'ps3_recovery_context_delete' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_sas_transport.c:407:5: error: no previous prototype for function 'ps3_sas_update_phy_info' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:1110:5: error: no previous prototype for function 'ps3_wait_for_outstanding_complete' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:876:6: error: no previous prototype for function 'ps3_set_task_manager_busy' [-Werror,-Wmissing-prototypes]
drivers/scsi/linkdata/ps3stor/ps3_scsih.c:1958:1: error: unused function 'ps3_scsih_dev_id_get' [-Werror,-Wunused-function]
drivers/spi/spi-axi-spi-engine.c:101: warning: Function parameter or member 'p' not described in 'spi_engine_message_state'
drivers/ub/obmm/obmm_addr_check.c:53:14: warning: variable 'user' set but not used [-Wunused-but-set-variable]
drivers/xcu/xcu_group.c:41:5: warning: no previous prototype for function '__xcu_group_attach' [-Wmissing-prototypes]
fs/nfs/dir.c:1500:6: warning: no previous prototype for function 'nfs_check_have_lookup_cache_flag' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:123: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
fs/nfs/enfs/dns_process.c:125:6: warning: no previous prototype for function 'enfs_swap_name_cache' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:144:6: warning: no previous prototype for function 'enfs_domain_inc' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:213:6: warning: no previous prototype for function 'ip_list_append' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:357:5: warning: no previous prototype for function 'enfs_quick_sort' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:390:5: warning: no previous prototype for function 'enfs_dns_process_ip' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:430:5: warning: no previous prototype for function 'enfs_server_query_dns' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:490:6: warning: no previous prototype for function 'query_dns_each_name' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:578:5: warning: no previous prototype for function 'enfs_iter_nfs_clnt' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:665:6: warning: no previous prototype for function 'enfs_domain_for_each' [-Wmissing-prototypes]
fs/nfs/enfs/dns_process.c:88:6: warning: no previous prototype for function 'enfs_update_domain_name' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_config.c:551:6: warning: no previous prototype for function 'enfs_glob_match' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:111:6: warning: no previous prototype for function 'enfs_update_lookup_cache_flag_to_server' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:145:5: warning: no previous prototype for function 'enfs_query_lookup_cache' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:246:6: warning: no previous prototype for function 'enfs_query_lookup_cache_pre_check' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:264:6: warning: no previous prototype for function 'lookupcache_execute_work' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:287:5: warning: no previous prototype for function 'lookupcache_add_work' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:356:6: warning: no previous prototype for function 'lookupcache_loop_rpclnt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:405:6: warning: no previous prototype for function 'enfs_lookupcache_update_switch' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:422:5: warning: no previous prototype for function 'lookupcache_routine' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:442:5: warning: no previous prototype for function 'lookupcache_start' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:453:5: warning: no previous prototype for function 'enfs_lookupcache_workqueue_init' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:464:6: warning: no previous prototype for function 'lookupcache_workqueue_fini' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:472:5: warning: no previous prototype for function 'enfs_lookupcache_timer_init' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_lookup_cache.c:97:6: warning: no previous prototype for function 'enfs_clean_server_lookup_cache_flag' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:178: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
fs/nfs/enfs/enfs_multipath.c:315:5: warning: no previous prototype for function 'enfs_configure_xprt_to_clnt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:349:6: warning: no previous prototype for function 'enfs_cmp_addrs' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:366:6: warning: no previous prototype for function 'enfs_xprt_addrs_is_same' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:385:6: warning: no previous prototype for function 'enfs_already_have_xprt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:582:6: warning: variable 'link_count' set but not used [-Wunused-but-set-variable]
fs/nfs/enfs/enfs_multipath.c:823:5: warning: no previous prototype for function 'enfs_multipath_create_thread' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:919:6: warning: no previous prototype for function 'enfs_create_multi_xprt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath.c:971:6: warning: no previous prototype for function 'enfs_release_rpc_clnt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:154:5: warning: no previous prototype for function 'enfs_parse_ip_single' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:201:7: warning: no previous prototype for function 'nfs_multipath_parse_ip_list_get_cursor' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:20:6: warning: no previous prototype for function 'nfs_multipath_parse_ip_ipv6_add' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:228:6: warning: no previous prototype for function 'enfs_valid_ip' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:240:5: warning: no previous prototype for function 'nfs_multipath_parse_ip_list' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:353:6: warning: no previous prototype for function 'isInvalidDns' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:379:5: warning: no previous prototype for function 'nfs_multipath_parse_dns_list' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:423:5: warning: no previous prototype for function 'parse_remote_type' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:463:5: warning: no previous prototype for function 'nfs_multipath_parse_options_check_ipv4_valid' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:470:5: warning: no previous prototype for function 'nfs_multipath_parse_options_check_ipv6_valid' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:486:5: warning: no previous prototype for function 'nfs_multipath_parse_options_check_ip_valid' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:502:5: warning: no previous prototype for function 'nfs_multipath_parse_options_check_valid' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:528:5: warning: no previous prototype for function 'nfs_multipath_parse_options_check_duplicate' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_multipath_parse.c:553:5: warning: no previous prototype for function 'nfs_multipath_parse_options_check' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_proc.c:547:30: warning: unused variable 'shardview_proc_fops' [-Wunused-const-variable]
fs/nfs/enfs/enfs_remount.c:101:6: warning: no previous prototype for function 'enfs_clnt_delete_obsolete_xprts' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_roundrobin.c:108:1: warning: no previous prototype for function 'enfs_lb_switch_find_first_active_xprt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_roundrobin.c:119:18: warning: no previous prototype for function 'enfs_lb_switch_get_main_xprt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_roundrobin.c:169:18: warning: no previous prototype for function 'enfs_lb_get_singular_xprt' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_roundrobin.c:330:5: warning: no previous prototype for function 'enfs_lb_revert_policy' [-Wmissing-prototypes]
fs/nfs/enfs/enfs_rpc_init.c:7:5: warning: no previous prototype for function 'enfs_rpc_init' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:180:5: warning: no previous prototype for function 'NfsExtendDecodeFsShard' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:265:5: warning: no previous prototype for function 'NfsExtendDecodeLifInfo' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:533:5: warning: no previous prototype for function 'EnfsExtendDecodePreCheck' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:601:5: warning: no previous prototype for function 'dorado_extend_route' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:662:6: warning: no previous prototype for function 'nego_enfs_version' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:947:6: warning: no previous prototype for function 'NfsExtendDnsQuerySetArgs' [-Wmissing-prototypes]
fs/nfs/enfs/exten_call.c:958:6: warning: no previous prototype for function 'NfsExtendDnsQuerySetRes' [-Wmissing-prototypes]
fs/nfs/enfs/failover_path.c:239: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
fs/nfs/enfs/pm_state.c:83:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
fs/nfs/enfs/shard_route.c:257: warning: Function parameter or member '__list_name' not described in 'DEFINE_CLEAR_LIST_FUNC'
fs/nfs/enfs/shard_route.c:257: warning: Function parameter or member '__struct_name' not described in 'DEFINE_CLEAR_LIST_FUNC'
fs/nfs/enfs/shard_route.c:333: warning: Cannot understand * @return:0 for success,otherwise for failed
fs/nfs/enfs_adapter.c:47:26: warning: no previous prototype for function 'nfs_multipath_router_get' [-Wmissing-prototypes]
fs/nfs/enfs_adapter.c:63:6: warning: no previous prototype for function 'nfs_multipath_router_put' [-Wmissing-prototypes]
fs/nfs/enfs_adapter.c:69:6: warning: no previous prototype for function 'is_valid_option' [-Wmissing-prototypes]
fs/nfs/fs_context.c:374:26: warning: no previous prototype for function 'getNfsMultiPathOpt' [-Wmissing-prototypes]
fs/proc/stat.c:227:17: warning: no previous prototype for function 'bpf_get_idle_time' [-Wmissing-prototypes]
fs/proc/stat.c:232:17: warning: no previous prototype for function 'bpf_get_iowait_time' [-Wmissing-prototypes]
fs/proc/stat.c:237:18: warning: no previous prototype for function 'bpf_show_all_irqs' [-Wmissing-prototypes]
fs/reiserfs/reiserfs.o: warning: objtool: balance_leaf+0x81f9: stack state mismatch: cfa1=4+368 cfa2=4+360
fs/resctrl/monitor.c:51: warning: Cannot understand * @closid_num_dirty_rmid The number of dirty RMID each CLOSID has.
fs/xfs/libxfs/xfs_alloc.c:103:1: warning: no previous prototype for function 'xfs_ag_fixup_aside' [-Wmissing-prototypes]
include/linux/fortify-string.h:597:4: warning: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning]
include/net/sock.h:392:45: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean 'skc_daddr'?
kernel/cpu.c:2684: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
kernel/crash_core.c:749:1: sparse: sparse: symbol '__crash_hotplug_lock' was not declared. Should it be static?
kernel/fork.c:2233: warning: Excess function parameter 'pidfd' description in '__pidfd_prepare'
kernel/fork.c:2233: warning: Function parameter or member 'ret' not described in '__pidfd_prepare'
kernel/fork.c:2282: warning: Excess function parameter 'pidfd' description in 'pidfd_prepare'
kernel/fork.c:2282: warning: Function parameter or member 'ret' not described in 'pidfd_prepare'
kernel/irq/proc.c:338:13: warning: no previous prototype for function 'register_irqchip_proc' [-Wmissing-prototypes]
kernel/irq/proc.c:339:13: warning: no previous prototype for function 'unregister_irqchip_proc' [-Wmissing-prototypes]
kernel/locking/mutex.c:623:6: warning: variable 'ifs_clock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
kernel/power/swap.c:1572: warning: Excess function parameter 'exclusive' description in 'swsusp_close'
kernel/sched/core.c:11465:5: warning: no previous prototype for function 'tg_set_dynamic_affinity_mode' [-Wmissing-prototypes]
kernel/sched/core.c:11506:5: warning: no previous prototype for function 'tg_set_affinity_period' [-Wmissing-prototypes]
kernel/sched/core.c:11520:5: warning: no previous prototype for function 'tg_get_affinity_period' [-Wmissing-prototypes]
kernel/xsched/cfs.c:108: warning: Excess function parameter 'gxcu' description in 'xg_update'
kernel/xsched/cfs.c:108: warning: Function parameter or member 'task_delta' not described in 'xg_update'
kernel/xsched/cfs.c:108: warning: Function parameter or member 'xg' not described in 'xg_update'
kernel/xsched/cfs.c:22:6: warning: no previous prototype for function 'xs_rq_add' [-Wmissing-prototypes]
kernel/xsched/cfs.c:233:6: warning: no previous prototype for function 'rq_init_fair' [-Wmissing-prototypes]
kernel/xsched/cfs.c:238:6: warning: no previous prototype for function 'xse_init_fair' [-Wmissing-prototypes]
kernel/xsched/cfs.c:243:6: warning: no previous prototype for function 'xse_deinit_fair' [-Wmissing-prototypes]
kernel/xsched/cfs.c:45:6: warning: no previous prototype for function 'xs_rq_remove' [-Wmissing-prototypes]
kernel/xsched/cfs.c:56: warning: Function parameter or member 'new_xrt' not described in 'xs_cfs_rq_update'
kernel/xsched/cfs.c:56: warning: Function parameter or member 'xse_cfs' not described in 'xs_cfs_rq_update'
kernel/xsched/cgroup.c:402:6: warning: no previous prototype for function 'xcu_move_task' [-Wmissing-prototypes]
kernel/xsched/cgroup.c:65: warning: Cannot understand * @brief Initialize the core components of an xsched_group.
kernel/xsched/core.c:188:5: warning: no previous prototype for function 'xsched_xse_set_class' [-Wmissing-prototypes]
kernel/xsched/core.c:514:12: warning: no previous prototype for function 'xsched_sched_init' [-Wmissing-prototypes]
kernel/xsched/rt.c:122:6: warning: no previous prototype for function 'rq_init_rt' [-Wmissing-prototypes]
kernel/xsched/rt.c:133:6: warning: no previous prototype for function 'xse_init_rt' [-Wmissing-prototypes]
kernel/xsched/rt.c:144:6: warning: no previous prototype for function 'xse_deinit_rt' [-Wmissing-prototypes]
kernel/xsched/vstream.c:99:19: warning: no previous prototype for function 'xcu_find' [-Wmissing-prototypes]
lib/kunit/test.c:764:38: warning: cast from 'void (*)(const void *)' to 'kunit_action_t *' (aka 'void (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
lib/kunit/test.c:862:38: warning: cast from 'void (*)(const void *)' to 'kunit_action_t *' (aka 'void (*)(void *)') converts to incompatible function type [-Wcast-function-type-strict]
lib/test_kmod.c:100: warning: Function parameter or member 'task_sync' not described in 'kmod_test_device_info'
lib/test_kmod.c:134: warning: Function parameter or member 'thread_mutex' not described in 'kmod_test_device'
mm/madvise.c:285:6: warning: no previous prototype for 'force_swapin_vma' [-Wmissing-prototypes]
mm/madvise.c:285:6: warning: no previous prototype for function 'force_swapin_vma' [-Wmissing-prototypes]
mm/memblock.c:1444:20: warning: no previous prototype for 'memblock_alloc_range_nid_flags' [-Wmissing-prototypes]
mm/memblock.c:1444:20: warning: no previous prototype for function 'memblock_alloc_range_nid_flags' [-Wmissing-prototypes]
mm/memblock.c:1611: warning: expecting prototype for memblock_alloc_internal(). Prototype was for __memblock_alloc_internal() instead
mm/mempolicy.c:1145:25: warning: variable 'vma' set but not used [-Wunused-but-set-variable]
net/ipv4/tcp_comp.c:740:6: warning: no previous prototype for function 'comp_stream_read' [-Wmissing-prototypes]
net/ipv4/tcp_comp.c:779:6: warning: no previous prototype for function 'comp_setup_strp' [-Wmissing-prototypes]
security/integrity/ima/ima_tpm.c:19:6: warning: no previous prototype for 'ima_pcrread' [-Wmissing-prototypes]
security/integrity/ima/ima_tpm.c:41:5: warning: no previous prototype for 'ima_tpm_init' [-Wmissing-prototypes]
security/integrity/ima/ima_tpm.c:53:5: warning: no previous prototype for 'ima_tpm_extend' [-Wmissing-prototypes]
security/integrity/ima/ima_tpm.c:60:5: warning: no previous prototype for 'ima_tpm_calc_boot_aggregate' [-Wmissing-prototypes]
Unverified Error/Warning (likely false positive, kindly check if interested):
lib/crypto/mpi/mpi-inv.c:34:15: warning: variable 'k' set but not used [-Wunused-but-set-variable]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| `-- drivers-ub-obmm-obmm_addr_check.c:warning:variable-user-set-but-not-used
|-- arm64-allnoconfig
| |-- block-genhd.c:warning:no-previous-prototype-for-part_stat_read_all
| |-- drivers-irqchip-irq-gic-v3.c:warning:no-previous-prototype-for-gic_irq_set_prio
| |-- kernel-cpu.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-pidfd_prepare
| |-- mm-madvise.c:warning:no-previous-prototype-for-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| `-- mm-memblock.c:warning:no-previous-prototype-for-memblock_alloc_range_nid_flags
|-- arm64-defconfig
| |-- arch-arm64-kernel-cpufeature.c:warning:enable_pseudo_nmi-defined-but-not-used
| |-- arch-arm64-kvm-arm.c:warning:no-previous-prototype-for-kvm_arch_rec_init
| |-- arch-arm64-kvm-cca_base.c:warning:no-previous-prototype-for-set_cca_cvm_type
| |-- drivers-irqchip-irq-gic-v3-its.c:warning:no-previous-prototype-for-gic_data_rdist_get_vlpi_base
| |-- drivers-irqchip-irq-gic-v3.c:warning:no-previous-prototype-for-gic_dist_enable_ipiv
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_debugfs.c:error:no-previous-prototype-for-sxe_debugfs_entries_exit
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_debugfs.c:error:no-previous-prototype-for-sxe_debugfs_entries_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_debugfs.c:error:no-previous-prototype-for-sxe_debugfs_exit
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_debugfs.c:error:no-previous-prototype-for-sxe_debugfs_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ethtool.c:error:no-previous-prototype-for-sxe_phys_id_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ethtool.c:error:no-previous-prototype-for-sxe_reg_test
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ethtool.c:error:suggest-braces-around-empty-body-in-an-if-statement
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_fc_autoneg_localcap_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_all_irq_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_all_ring_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_crc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_max_mem_window_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_pfc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_rate_limiter_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_rx_bw_alloc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_tx_data_bw_alloc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_tx_desc_bw_alloc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_dcb_tx_ring_rate_factor_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_event_irq_auto_clear_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_event_irq_map
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fc_autoneg_disable_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fc_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fc_mac_addr_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fc_requested_mode_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fc_tc_high_water_mark_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fc_tc_low_water_mark_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_port_mask_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_sample_rule_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_sample_rules_table_reinit
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_specific_rule_add
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_specific_rule_del
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_fnav_specific_rule_mask_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_channel_state_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_drv_status_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_fw_ack_header_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_fw_ov_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_fw_status_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_is_fw_over_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_lock_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_lock_release
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_packet_data_dword_rcv
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_packet_data_dword_send
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_packet_header_send
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_hdc_packet_send_done
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_irq_cause_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_irq_general_reg_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_irq_general_reg_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_is_fc_autoneg_disabled
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_is_link_state_up
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_link_speed_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_link_speed_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_loopback_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mac_max_frame_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mac_max_frame_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mac_pad_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mac_txrx_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mbx_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mbx_mem_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mc_filter_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mc_filter_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mta_hash_table_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_mta_hash_table_update
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_nic_reset
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_no_snoop_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pcie_vt_mode_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pending_irq_read_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pending_irq_write_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pf_rst_done_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pfc_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pool_mac_anti_spoof_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pool_rx_mode_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pool_rx_mode_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_pool_rx_ring_drop_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_is_rx_timestamp_valid
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_rx_timestamp_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_rx_timestamp_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_systime_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_systime_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_timestamp_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_timestamp_mode_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ptp_tx_timestamp_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rcv_msg_from_vf
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ring_irq_auto_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ring_irq_interval_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_ring_irq_map
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rss_key_set_all
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rss_redir_tbl_reg_write
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rss_redir_tbl_set_all
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_cap_switch_off
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_cap_switch_on
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_desc_thresh_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_dma_ctrl_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_dma_lro_ctrl_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_drop_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_lro_ack_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_lro_ctl_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_lro_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_mode_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_mode_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_multi_ring_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_nfs_filter_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_pkt_buf_size_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_pool_bitmap_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_pool_bitmap_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_queue_desc_reg_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_rcv_ctl_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_ring_desc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_ring_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_ring_switch_not_polling
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_rx_udp_frag_checksum_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_send_msg_to_vf
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_specific_irq_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_specific_irq_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_spoof_count_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_stats_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_stats_regs_clean
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_stats_seq_clean
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_desc_thresh_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_pkt_buf_size_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_pkt_buf_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_pkt_buf_thresh_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_pool_bitmap_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_pool_bitmap_set
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_ring_desc_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_ring_head_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_ring_info_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_ring_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_ring_switch_not_polling
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_ring_tail_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_vlan_insert_get
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_tx_vlan_tag_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_uc_addr_add
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_uc_addr_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_uc_addr_del
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_uc_addr_pool_del
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_uc_addr_pool_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vf_ack_check
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vf_req_check
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vf_rst_check
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_filter_array_clear
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_filter_array_read
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_filter_array_write
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_filter_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_filter_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_pool_filter_read
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlan_tag_strip_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vlvf_slot_find
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vt_ctrl_cfg
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vt_disable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-sxe_hw_vt_pool_loopback_switch
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:suggest-braces-around-empty-body-in-an-if-statement
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_irq.c:error:no-previous-prototype-for-sxe_disable_dcb
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_irq.c:error:no-previous-prototype-for-sxe_disable_rss
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_irq.c:error:no-previous-prototype-for-sxe_lsc_irq_handler
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_irq.c:error:no-previous-prototype-for-sxe_mailbox_irq_handler
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_irq.c:error:no-previous-prototype-for-sxe_msi_irq_init
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_main.c:error:no-previous-prototype-for-sxe_allow_inval_mac
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_phy.c:error:no-previous-prototype-for-sxe_multispeed_sfp_link_configure
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_rx_proc.c:error:no-previous-prototype-for-sxe_headers_cleanup
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_rx_proc.c:error:no-previous-prototype-for-sxe_rx_buffer_page_offset_update
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_sriov.c:error:no-previous-prototype-for-sxe_set_vf_link_enable
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_sriov.c:error:variable-ret-set-but-not-used
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_xdp.c:error:no-previous-prototype-for-sxe_txrx_ring_enable
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_32bit_counter_update
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_36bit_counter_update
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_event_irq_map
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_hw_reset
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_hw_ring_irq_map
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_hw_stop
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_irq_disable
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_irq_enable
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_link_state_get
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_mailbox_read
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_mailbox_write
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_msg_read
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_msg_write
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_packet_stats_get
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_pf_ack_irq_trigger
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_pf_req_irq_trigger
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_ring_irq_interval_set
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_rx_rcv_ctl_configure
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_rx_ring_desc_configure
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_rx_ring_switch
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_specific_irq_enable
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_stats_init_value_get
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-sxevf_tx_ring_switch
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_rx_proc.c:error:no-previous-prototype-for-sxevf_rx_ring_buffers_alloc
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_tx_proc.c:error:no-previous-prototype-for-sxevf_tx_ring_alloc
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_tx_proc.c:error:no-previous-prototype-for-sxevf_tx_ring_free
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_tx_proc.c:error:suggest-braces-around-empty-body-in-an-else-statement
| `-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_tx_proc.c:error:suggest-braces-around-empty-body-in-an-if-statement
|-- arm64-randconfig-001-20251216
| `-- drivers-irqchip-irq-gic-v3.c:warning:no-previous-prototype-for-function-gic_irq_set_prio
|-- arm64-randconfig-002-20251215
| |-- arch-arm64-kernel-cpufeature.c:warning:unused-variable-enable_pseudo_nmi
| |-- drivers-net-ethernet-huawei-hinic-hinic_dcb.c:error:invalid-application-of-sizeof-to-an-incomplete-type-struct-ieee_ets
| `-- drivers-net-ethernet-huawei-hinic-hinic_nic_dev.h:error:field-has-incomplete-type-struct-ieee_pfc
|-- arm64-randconfig-002-20251218
| `-- drivers-clocksource-arm_arch_timer.c:warning:unused-variable-hisi_165010801_oem_info
|-- arm64-randconfig-003-20251216
| |-- drivers-cpufreq-cppc_cpufreq.c:error:invalid-use-of-undefined-type-struct-fb_ctr_pair
| |-- drivers-cpufreq-cppc_cpufreq.c:error:struct-fb_ctr_pair-has-no-member-named-cpu
| |-- drivers-cpufreq-cppc_cpufreq.c:error:variable-fb_ctrs-has-initializer-but-incomplete-type
| |-- drivers-cpufreq-cppc_cpufreq.c:warning:excess-elements-in-struct-initializer
| |-- drivers-cpufreq-cppc_cpufreq.c:warning:unused-variable-fb_ctrs
| |-- drivers-net-ethernet-huawei-hinic-hinic_main.c:warning:no-previous-prototype-for-hinic_netdev_event
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bat_cla.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_alloc()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_alloc_low2bit_align()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_alloc_reserved()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_check_range()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_free()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_init()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_bitmap_uninit()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_buf_alloc()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_buf_free()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_check_align()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_kfree_align()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_kmalloc_align()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_object_table_get()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_object_table_init()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_object_table_insert()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_object_table_remove()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_object_table_uninit()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_shift()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_single_bitmap_init()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_single_object_table_init()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_swab32()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:warning:expecting-prototype-for-Prototype().-Prototype-was-for-cqm_swab64()-instead
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_main.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_ethtool.c:warning:no-previous-prototype-for-hinic3_set_rxq_recovery_flag
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_mag_cfg.c:warning:rx-power:directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-hinic3_tx_offload
| |-- drivers-net-ethernet-huawei-hinic3-hw-hinic3_lld.c:error:implicit-declaration-of-function-__symbol_get
| |-- drivers-net-ethernet-huawei-hinic3-hw-hinic3_lld.c:error:implicit-declaration-of-function-__symbol_put
| `-- drivers-net-ethernet-huawei-hinic3-hw-hinic3_lld.c:warning:assignment-to-int-(-)(struct-pci_dev-)-from-int-makes-pointer-from-integer-without-a-cast
|-- arm64-randconfig-r132-20251218
| |-- drivers-irqchip-irq-gic-phytium-.c:sparse:sparse:dereference-of-noderef-expression
| |-- drivers-irqchip-irq-gic-phytium-.c:sparse:sparse:dubious:x-y
| |-- drivers-irqchip-irq-gic-phytium-its.c:sparse:sparse:dereference-of-noderef-expression
| |-- drivers-irqchip-irq-gic-phytium-its.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-cpumask-usertype-mask-got-struct-cpumask-usertype-noderef-__percpu
| |-- drivers-irqchip-irq-gic-phytium-its.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-struct-raw_spinlock-usertype-lock-got-struct-raw_spinlock-noderef-__percpu
| |-- drivers-platform-mpam-mpam_resctrl.c:sparse:sparse:symbol-__mon_is_rmid_idx-was-not-declared.-Should-it-be-static
| |-- drivers-platform-mpam-mpam_resctrl.c:sparse:sparse:symbol-resctrl_mon_ctx_waiters-was-not-declared.-Should-it-be-static
| |-- security-integrity-ima-ima_digest_list.c:sparse:sparse:cast-to-restricted-__le16
| |-- security-integrity-ima-ima_digest_list.c:sparse:sparse:cast-to-restricted-__le32
| `-- security-integrity-ima-ima_digest_list.c:sparse:sparse:symbol-parser_task-was-not-declared.-Should-it-be-static
|-- loongarch-allnoconfig
| |-- block-genhd.c:warning:no-previous-prototype-for-function-part_stat_read_all
| |-- kernel-cpu.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-pidfd_prepare
| |-- 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-locking-mutex.c:warning:variable-ifs_clock-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-madvise.c:warning:no-previous-prototype-for-function-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| `-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
|-- x86_64-allmodconfig
| |-- arch-x86-kernel-cpu-proc.c:warning:no-previous-prototype-for-function-show_cpuinfo
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-csv3_launch_encrypt_data_alt_1
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-csv3_launch_encrypt_data_alt_2
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-end_pgoff-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-csv3_launch_encrypt_data_alt_1
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-csv3_launch_encrypt_data_alt_2
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-params-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-src_buf-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-start_pgoff-not-described-in-__csv3_launch_encrypt_data
| |-- block-blk-cgroup.c:warning:no-previous-prototype-for-function-bpf_blkcg_get_dev_iostat
| |-- block-genhd.c:warning:no-previous-prototype-for-function-part_stat_read_all
| |-- clang:warning:no-such-include-directory:drivers-infiniband-hw-hiroce3-include-mag
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Excess-function-parameter-_data-description-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Excess-function-parameter-_datalen-description-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Function-parameter-or-member-data-not-described-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Function-parameter-or-member-datalen-not-described-in-pgp_parse_packets
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-block-drbd-drbd_bitmap.c:warning:Function-parameter-or-member-peer_device-not-described-in-drbd_bm_write
| |-- drivers-clk-renesas-r9a06g032-clocks.c:warning:Function-parameter-or-member-dual-not-described-in-r9a06g032_clkdesc
| |-- drivers-crypto-ccp-hygon-ccp-mdev.c:warning:no-previous-prototype-for-function-ccp_pin_memory
| |-- drivers-crypto-ccp-hygon-csv-dev.c:warning:Function-parameter-or-member-api_minor-not-described-in-user_data_status
| |-- drivers-crypto-ccp-hygon-hct.c:warning:no-previous-prototype-for-function-hct_pin_memory
| |-- drivers-crypto-ccp-hygon-psp-dev.c:warning:no-previous-prototype-for-function-atomic64_exchange
| |-- drivers-crypto-ccp-hygon-psp-dev.c:warning:no-previous-prototype-for-function-psp_mutex_init
| |-- drivers-crypto-ccp-hygon-tdm-kernel-guard.c:warning:no-previous-prototype-for-function-tdm_service_exit
| |-- drivers-crypto-ccp-hygon-tdm-kernel-guard.c:warning:no-previous-prototype-for-function-tdm_service_run
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:no-previous-prototype-for-function-vpsp_do_cmd
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:no-previous-prototype-for-function-vpsp_set_default_vid_permission
| |-- drivers-dax-super.c:warning:Function-parameter-or-member-KABI_RESERVE(-not-described-in-dax_device
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_config_pix_clock
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_reset
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_update_cursor_hi_addr
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_update_primary_hi_addr
| |-- drivers-gpu-drm-phytium-pe22_dp.c:warning:no-previous-prototype-for-function-pe22_dp_hw_reset
| |-- drivers-gpu-drm-phytium-phytium_crtc.c:warning:no-previous-prototype-for-function-phytium_crtc_atomic_destroy_state
| |-- drivers-gpu-drm-phytium-phytium_crtc.c:warning:no-previous-prototype-for-function-phytium_crtc_atomic_duplicate_state
| |-- drivers-gpu-drm-phytium-phytium_debugfs.c:warning:no-previous-prototype-for-function-phytium_debugfs_connector_add
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_adjust_link_train_parameter
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_fast_link_train
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_get_link_train_fallback_values
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hpd_poll_handler
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_disable_input_source
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_disable_video
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_enable_audio
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_enable_input_source
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_enable_output
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_hpd_irq_setup
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_output_is_enable
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_start_link_train
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_encoder_mode_valid
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_get_encoder_crtc_mask
| |-- drivers-gpu-drm-phytium-phytium_fbdev.c:warning:no-previous-prototype-for-function-phytium_drm_fbdev_init
| |-- drivers-gpu-drm-phytium-phytium_gem.c:warning:no-previous-prototype-for-function-phytium_dma_transfer
| |-- drivers-gpu-drm-phytium-phytium_panel.c:warning:no-previous-prototype-for-function-phytium_dp_panel_release_backlight_funcs
| |-- drivers-gpu-drm-phytium-phytium_pci.c:warning:no-previous-prototype-for-function-phytium_pci_dma_init
| |-- drivers-gpu-drm-phytium-phytium_pci.c:warning:no-previous-prototype-for-function-phytium_pci_vram_hw_init
| |-- drivers-gpu-drm-phytium-phytium_plane.c:warning:no-previous-prototype-for-function-phytium_plane_atomic_duplicate_state
| |-- drivers-gpu-drm-phytium-phytium_plane.c:warning:no-previous-prototype-for-function-phytium_plane_destroy
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_plane_get_cursor_format
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_plane_get_primary_format
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_update_dcreq
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_update_primary_hi_addr
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_vram_init
| |-- drivers-gpu-drm-phytium-px210_dp.c:warning:no-previous-prototype-for-function-px210_dp_hw_reset
| |-- drivers-gpu-drm-phytium-px210_dp.c:warning:no-previous-prototype-for-function-px210_dp_hw_spread_is_enable
| |-- drivers-i2c-busses-i2c-zhaoxin.c:warning:no-previous-prototype-for-function-zxi2c_fifo_irq_xfer
| |-- drivers-i2c-busses-i2c-zhaoxin.c:warning:no-previous-prototype-for-function-zxi2c_xfer
| |-- drivers-infiniband-hw-bnxt_re-ib_verbs.c:warning:variable-nq-set-but-not-used
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_dcb.c:error:no-previous-prototype-for-function-sss_tool_dcb_mt_dcb_state-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_dcb.c:error:no-previous-prototype-for-function-sss_tool_dcb_mt_hw_qos_get-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_dcb.c:error:no-previous-prototype-for-function-sss_tool_dcb_mt_qos_map-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_func.c:error:no-previous-prototype-for-function-sss_tool_ioctl-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_get_loopback_mode-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_get_netdev_name-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_get_netdev_tx_timeout-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_get_pf_bw_limit-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_get_xsfp_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_get_xsfp_present-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_set_link_mode-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_set_loopback_mode-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_set_netdev_tx_timeout-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:no-previous-prototype-for-function-sss_tool_set_pf_bw_limit-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_phy_attr.c:error:variable-old_bw_limit-set-but-not-used-Werror-Wunused-but-set-variable
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_inter_num-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_q_num-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_rx_cqe_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_rx_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_rx_wqe_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_tx_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_qp_info.c:error:no-previous-prototype-for-function-sss_tool_get_tx_wqe_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_stats.c:error:no-previous-prototype-for-function-sss_tool_clear_func_stats-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_stats.c:error:no-previous-prototype-for-function-sss_tool_get_sset_count-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-.-tool-sss_tool_nic_stats.c:error:no-previous-prototype-for-function-sss_tool_get_sset_stats-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool.c:error:no-previous-prototype-for-function-sss_nic_set_ethtool_ops-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_api.c:error:no-previous-prototype-for-function-sss_nic_finish_loop_test-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats.c:error:no-previous-prototype-for-function-sss_nic_get_ethtool_stats-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats.c:error:no-previous-prototype-for-function-sss_nic_get_link_ksettings-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats.c:error:no-previous-prototype-for-function-sss_nic_get_sset_count-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats.c:error:no-previous-prototype-for-function-sss_nic_get_strings-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats.c:error:no-previous-prototype-for-function-sss_nic_set_link_ksettings-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ethtool_stats_api.c:error:no-previous-prototype-for-function-sss_nic_get_io_stats_size-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_filter.c:error:no-previous-prototype-for-function-sss_nic_clean_mac_list_filter-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_filter.c:error:no-previous-prototype-for-function-sss_nic_set_rx_mode_work-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_irq.c:error:no-previous-prototype-for-function-sss_nic_release_qp_irq-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_irq.c:error:no-previous-prototype-for-function-sss_nic_request_qp_irq-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_main.c:error:no-previous-prototype-for-function-get_nic_uld_info-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_main.c:error:no-previous-prototype-for-function-sss_nic_port_module_cable_plug-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_main.c:error:no-previous-prototype-for-function-sss_nic_port_module_cable_unplug-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_main.c:error:no-previous-prototype-for-function-sss_nic_port_module_link_err-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_netdev_ops.c:error:no-previous-prototype-for-function-sss_nic_is_netdev_ops_match-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_netdev_ops.c:error:no-previous-prototype-for-function-sss_nic_ndo_set_vf_link_state-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_netdev_ops.c:error:no-previous-prototype-for-function-sss_nic_ndo_vlan_rx_add_vid-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_netdev_ops.c:error:no-previous-prototype-for-function-sss_nic_ndo_vlan_rx_kill_vid-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_netdev_ops.c:error:no-previous-prototype-for-function-sss_nic_set_netdev_ops-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_ethtool_delete_flow-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_ethtool_get_all_flows-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_ethtool_get_flow-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_ethtool_update_flow-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_flush_rx_flow_rule-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_flush_tcam-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_flush_tcam_list-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_flush_tcam_node_list-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_ntuple.c:error:no-previous-prototype-for-function-sss_nic_validate_channel_setting_in_ntuple-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_alloc_rq_desc_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_alloc_rq_res_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_free_rq_desc_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_free_rq_res_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_init_rq_desc_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_reset_rx_rss-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_init.c:error:no-previous-prototype-for-function-sss_nic_update_rx_rss-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_rx_reset.c:error:no-previous-prototype-for-function-sss_nic_rq_watchdog_handler-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_tx_init.c:error:no-previous-prototype-for-function-sss_nic_alloc_sq_desc_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_tx_init.c:error:no-previous-prototype-for-function-sss_nic_alloc_sq_resource-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_tx_init.c:error:no-previous-prototype-for-function-sss_nic_flush_all_sq-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_tx_init.c:error:no-previous-prototype-for-function-sss_nic_free_sq_desc_group-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_tx_init.c:error:no-previous-prototype-for-function-sss_nic_free_sq_resource-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-3snic-sssnic-nic-sss_nic_tx_init.c:error:no-previous-prototype-for-function-sss_nic_init_all_sq-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:warning:expecting-prototype-for-hinic_aeq_unregister_sw_cb().-Prototype-was-for-hinic_aeq_unregister_swe_cb()-instead
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:warning:expecting-prototype-for-hinic_ceq_register_sw_cb().-Prototype-was-for-hinic_ceq_register_cb()-instead
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:warning:expecting-prototype-for-hinic_unregister_ppf_mbox_cb().-Prototype-was-for-hinic_unregister_pf_mbox_cb()-instead
| |-- drivers-net-ethernet-linkdata-sxe-base-log-sxe_log.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-base-trace-sxe_trace.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_csum.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_dcb.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_filter.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-function-sxe_hw_link_speed_get-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ipsec.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ptp.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_tx_proc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-base-log-sxe_log.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_csum.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-function-sxevf_rx_rcv_ctl_configure-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_main.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_monitor.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_netdev.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_ring.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:variable-node_num-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:variable-node_size-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dev_user.c:warning:variable-vfn-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dispatch.c:warning:variable-chan_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dispatch.c:warning:variable-param-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_service.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_service.c:warning:variable-ring_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_adminq.c:warning:variable-ret-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_hw_leonis-nbl_flow_leonis.c:warning:variable-phy_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_interrupt.c:warning:variable-dev-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_txrx.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-phy_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-queue_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-vsi_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_main.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_debugfs.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:Excess-function-parameter-vmdq-description-in-ngbe_set_vmdq
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:Function-parameter-or-member-pool-not-described-in-ngbe_set_vmdq
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:expecting-prototype-for-ngbe_read_ee_hostif().-Prototype-was-for-ngbe_read_ee_hostif32()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:expecting-prototype-for-ngbe_read_ee_hostif().-Prototype-was-for-ngbe_read_ee_hostif_data()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:expecting-prototype-for-ngbe_write_ee_hostif().-Prototype-was-for-ngbe_write_ee_hostif_data32()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:variable-status-set-but-not-used
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_main.c:warning:expecting-prototype-for-ngbe_watchdog_update_link().-Prototype-was-for-ngbe_watchdog_update_link_status()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_main.c:warning:variable-vlvfb-set-but-not-used
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_phy.c:warning:expecting-prototype-for-ngbe_identify_module().-Prototype-was-for-ngbe_phy_identify()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_phy.c:warning:expecting-prototype-for-ngbe_tn_check_overtemp().-Prototype-was-for-ngbe_phy_check_overtemp()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_sriov.c:warning:expecting-prototype-for-ngbe_pet_vfs().-Prototype-was-for-ngbe_put_vfs()-instead
| |-- drivers-pinctrl-zhaoxin-pinctrl-zhaoxin.c:warning:variable-test_mask-set-but-not-used
| |-- drivers-pinctrl-zhaoxin-pinctrl-zhaoxin.c:warning:variable-value_back-set-but-not-used
| |-- drivers-platform-surface-surface3_power.c:warning:snprintf-will-always-be-truncated-specified-size-is-but-format-string-expands-to-at-least
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_base.c:error:no-previous-prototype-for-function-ps3_pci_init-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_base.c:error:no-previous-prototype-for-function-ps3_pci_init_complete-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_base.c:error:no-previous-prototype-for-function-ps3_pci_init_complete_exit-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_cli_debug.c:error:no-previous-prototype-for-function-ps3_dump_context_show-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_file_close-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_file_open-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_file_write-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_filename_build-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_local_time-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_complete.c:error:no-previous-prototype-for-function-ps3_resp_status_convert-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_complete.c:error:no-previous-prototype-for-function-ps3_trigger_irq_poll-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_statistics.c:error:no-previous-prototype-for-function-ps3_cmd_stat_content_clear-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_statistics.c:error:no-previous-prototype-for-function-ps3_io_recv_ok_stat_inc-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_debug.c:error:no-previous-prototype-for-function-ps3_dump_dir_length-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_device_manager.c:error:no-previous-prototype-for-function-ps3_scsi_private_init_pd-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_device_manager.c:error:no-previous-prototype-for-function-ps3_scsi_private_init_vd-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_device_manager_sas.c:error:no-previous-prototype-for-function-ps3_sas_expander_phys_refresh-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_adp.c:error:no-previous-prototype-for-function-ps3_ioc_resource_prepare_hba-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_adp.c:error:no-previous-prototype-for-function-ps3_ioc_resource_prepare_raid-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_adp.c:error:no-previous-prototype-for-function-ps3_ioc_resource_prepare_switch-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_manager.c:error:no-previous-prototype-for-function-ps3_hard_reset_to_ready-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioctl.c:error:no-previous-prototype-for-function-ps3_clean_mgr_cmd-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_module_para.c:error:no-previous-prototype-for-function-ps3_cli_ver_query-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_cmd_waitq_abort-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_decision-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_vd_init-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_vd_reset-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_waitq_clear_all-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_waitq_notify-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_pd_quota_waitq_clean-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_pd_quota_waitq_clear_all-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_all_pd_rc_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_cmd_waitq_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_exclusive_cmdword_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_pd_waitq_ratio_update-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_tg_decision-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_vd_cmdword_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_conflict_queue_hash_bit_lock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_bit_check-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_bit_lock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_bit_unlock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_range_lock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_range_unlock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_range_check_and_insert-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_rb_tree.c:error:no-previous-prototype-for-function-rbtDelNodeDo-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_hard_recovery_state_finish-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_context_alloc-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_context_delete-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_context_free-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_irq_queue_destroy-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_state_transfer-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_sas_transport.c:error:no-previous-prototype-for-function-ps3_sas_update_phy_info-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_scsi_cmd_err.c:error:no-previous-prototype-for-function-ps3_set_task_manager_busy-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_scsi_cmd_err.c:error:no-previous-prototype-for-function-ps3_wait_for_outstanding_complete-Werror-Wmissing-prototypes
| |-- drivers-spi-spi-axi-spi-engine.c:warning:Function-parameter-or-member-p-not-described-in-spi_engine_message_state
| |-- drivers-spmi-spmi-pmic-arb.c:warning:Function-parameter-or-member-core-not-described-in-spmi_pmic_arb
| |-- drivers-xcu-xcu_group.c:warning:no-previous-prototype-for-function-__xcu_group_attach
| |-- fs-nfs-dir.c:warning:no-previous-prototype-for-function-nfs_check_have_lookup_cache_flag
| |-- fs-nfs-enfs-dns_process.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_dns_process_ip
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_domain_for_each
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_domain_inc
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_iter_nfs_clnt
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_quick_sort
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_server_query_dns
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_swap_name_cache
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_update_domain_name
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-ip_list_append
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-query_dns_each_name
| |-- fs-nfs-enfs-enfs_config.c:warning:no-previous-prototype-for-function-enfs_glob_match
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_clean_server_lookup_cache_flag
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_lookupcache_timer_init
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_lookupcache_update_switch
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_lookupcache_workqueue_init
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_query_lookup_cache
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_query_lookup_cache_pre_check
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_update_lookup_cache_flag_to_server
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_add_work
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_execute_work
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_loop_rpclnt
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_routine
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_start
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_workqueue_fini
| |-- fs-nfs-enfs-enfs_multipath.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_already_have_xprt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_cmp_addrs
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_configure_xprt_to_clnt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_create_multi_xprt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_multipath_create_thread
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_release_rpc_clnt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_xprt_addrs_is_same
| |-- fs-nfs-enfs-enfs_multipath.c:warning:variable-link_count-set-but-not-used
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-enfs_parse_ip_single
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-enfs_valid_ip
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-isInvalidDns
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_dns_list
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_ip_ipv6_add
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_ip_list
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_ip_list_get_cursor
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_duplicate
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_ip_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_ipv4_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_ipv6_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-parse_remote_type
| |-- fs-nfs-enfs-enfs_proc.c:warning:unused-variable-shardview_proc_fops
| |-- fs-nfs-enfs-enfs_remount.c:warning:no-previous-prototype-for-function-enfs_clnt_delete_obsolete_xprts
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_get_singular_xprt
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_revert_policy
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_switch_find_first_active_xprt
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_switch_get_main_xprt
| |-- fs-nfs-enfs-enfs_rpc_init.c:warning:no-previous-prototype-for-function-enfs_rpc_init
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-EnfsExtendDecodePreCheck
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDecodeFsShard
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDecodeLifInfo
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDnsQuerySetArgs
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDnsQuerySetRes
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-dorado_extend_route
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-nego_enfs_version
| |-- fs-nfs-enfs-failover_path.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- fs-nfs-enfs-pm_state.c:warning:variable-ret-set-but-not-used
| |-- fs-nfs-enfs-shard_route.c:warning:Cannot-understand-return-for-success-otherwise-for-failed
| |-- fs-nfs-enfs-shard_route.c:warning:Function-parameter-or-member-__list_name-not-described-in-DEFINE_CLEAR_LIST_FUNC
| |-- fs-nfs-enfs-shard_route.c:warning:Function-parameter-or-member-__struct_name-not-described-in-DEFINE_CLEAR_LIST_FUNC
| |-- fs-nfs-enfs_adapter.c:warning:no-previous-prototype-for-function-is_valid_option
| |-- fs-nfs-enfs_adapter.c:warning:no-previous-prototype-for-function-nfs_multipath_router_get
| |-- fs-nfs-enfs_adapter.c:warning:no-previous-prototype-for-function-nfs_multipath_router_put
| |-- fs-nfs-fs_context.c:warning:no-previous-prototype-for-function-getNfsMultiPathOpt
| |-- fs-proc-stat.c:warning:no-previous-prototype-for-function-bpf_get_idle_time
| |-- fs-proc-stat.c:warning:no-previous-prototype-for-function-bpf_get_iowait_time
| |-- fs-proc-stat.c:warning:no-previous-prototype-for-function-bpf_show_all_irqs
| |-- fs-reiserfs-reiserfs.o:warning:objtool:balance_leaf:stack-state-mismatch:cfa1-cfa2
| |-- fs-resctrl-monitor.c:warning:Cannot-understand-closid_num_dirty_rmid-The-number-of-dirty-RMID-each-CLOSID-has.
| |-- fs-xfs-libxfs-xfs_alloc.c:warning:no-previous-prototype-for-function-xfs_ag_fixup_aside
| |-- include-linux-fortify-string.h:warning:call-to-__write_overflow_field-declared-with-warning-attribute:detected-write-beyond-size-of-field-(1st-parameter)-maybe-use-struct_group()
| |-- kernel-cpu.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-pidfd_prepare
| |-- 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-livepatch-core.c:warning:bad-line:
| |-- kernel-locking-mutex.c:warning:variable-ifs_clock-is-used-uninitialized-whenever-if-condition-is-true
| |-- kernel-power-swap.c:warning:Excess-function-parameter-exclusive-description-in-swsusp_close
| |-- kernel-sched-core.c:warning:no-previous-prototype-for-function-tg_get_affinity_period
| |-- kernel-sched-core.c:warning:no-previous-prototype-for-function-tg_set_affinity_period
| |-- kernel-sched-core.c:warning:no-previous-prototype-for-function-tg_set_dynamic_affinity_mode
| |-- kernel-xsched-cfs.c:warning:Excess-function-parameter-gxcu-description-in-xg_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-new_xrt-not-described-in-xs_cfs_rq_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-task_delta-not-described-in-xg_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-xg-not-described-in-xg_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-xse_cfs-not-described-in-xs_cfs_rq_update
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-rq_init_fair
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xs_rq_add
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xs_rq_remove
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xse_deinit_fair
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xse_init_fair
| |-- kernel-xsched-cgroup.c:warning:Cannot-understand-brief-Initialize-the-core-components-of-an-xsched_group.
| |-- kernel-xsched-cgroup.c:warning:no-previous-prototype-for-function-xcu_move_task
| |-- kernel-xsched-core.c:warning:no-previous-prototype-for-function-xsched_sched_init
| |-- kernel-xsched-core.c:warning:no-previous-prototype-for-function-xsched_xse_set_class
| |-- kernel-xsched-rt.c:warning:no-previous-prototype-for-function-rq_init_rt
| |-- kernel-xsched-rt.c:warning:no-previous-prototype-for-function-xse_deinit_rt
| |-- kernel-xsched-rt.c:warning:no-previous-prototype-for-function-xse_init_rt
| |-- kernel-xsched-vstream.c:warning:no-previous-prototype-for-function-xcu_find
| |-- lib-crypto-mpi-mpi-inv.c:warning:variable-k-set-but-not-used
| |-- lib-kunit-test.c:warning:cast-from-void-(-)(const-void-)-to-kunit_action_t-(aka-void-(-)(void-)-)-converts-to-incompatible-function-type
| |-- lib-test_kmod.c:warning:Function-parameter-or-member-task_sync-not-described-in-kmod_test_device_info
| |-- lib-test_kmod.c:warning:Function-parameter-or-member-thread_mutex-not-described-in-kmod_test_device
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
| `-- mm-mempolicy.c:warning:variable-vma-set-but-not-used
|-- x86_64-allnoconfig
| |-- arch-x86-kernel-cpu-proc.c:warning:no-previous-prototype-for-function-show_cpuinfo
| |-- block-genhd.c:warning:no-previous-prototype-for-function-part_stat_read_all
| |-- kernel-cpu.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-pidfd_prepare
| |-- 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-locking-mutex.c:warning:variable-ifs_clock-is-used-uninitialized-whenever-if-condition-is-true
| |-- mm-madvise.c:warning:no-previous-prototype-for-function-force_swapin_vma
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| `-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
|-- x86_64-allyesconfig
| |-- arch-x86-kernel-cpu-proc.c:warning:no-previous-prototype-for-function-show_cpuinfo
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-csv3_launch_encrypt_data_alt_1
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-csv3_launch_encrypt_data_alt_2
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-end_pgoff-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-csv3_launch_encrypt_data_alt_1
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-csv3_launch_encrypt_data_alt_2
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-params-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-src_buf-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-start_pgoff-not-described-in-__csv3_launch_encrypt_data
| |-- block-blk-cgroup.c:warning:no-previous-prototype-for-function-bpf_blkcg_get_dev_iostat
| |-- block-genhd.c:warning:no-previous-prototype-for-function-part_stat_read_all
| |-- clang:warning:no-such-include-directory:drivers-infiniband-hw-hiroce3-include-mag
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Excess-function-parameter-_data-description-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Excess-function-parameter-_datalen-description-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Function-parameter-or-member-data-not-described-in-pgp_parse_packets
| |-- crypto-asymmetric_keys-pgp_library.c:warning:Function-parameter-or-member-datalen-not-described-in-pgp_parse_packets
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-block-drbd-drbd_bitmap.c:warning:Function-parameter-or-member-peer_device-not-described-in-drbd_bm_write
| |-- drivers-clk-renesas-r9a06g032-clocks.c:warning:Function-parameter-or-member-dual-not-described-in-r9a06g032_clkdesc
| |-- drivers-crypto-ccp-hygon-ccp-mdev.c:warning:no-previous-prototype-for-function-ccp_pin_memory
| |-- drivers-crypto-ccp-hygon-csv-dev.c:warning:Function-parameter-or-member-api_minor-not-described-in-user_data_status
| |-- drivers-crypto-ccp-hygon-hct.c:warning:no-previous-prototype-for-function-hct_pin_memory
| |-- drivers-crypto-ccp-hygon-psp-dev.c:warning:no-previous-prototype-for-function-atomic64_exchange
| |-- drivers-crypto-ccp-hygon-psp-dev.c:warning:no-previous-prototype-for-function-psp_mutex_init
| |-- drivers-crypto-ccp-hygon-tdm-kernel-guard.c:warning:no-previous-prototype-for-function-tdm_service_exit
| |-- drivers-crypto-ccp-hygon-tdm-kernel-guard.c:warning:no-previous-prototype-for-function-tdm_service_run
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:no-previous-prototype-for-function-vpsp_do_cmd
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:no-previous-prototype-for-function-vpsp_set_default_vid_permission
| |-- drivers-dax-super.c:warning:Function-parameter-or-member-KABI_RESERVE(-not-described-in-dax_device
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_config_pix_clock
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_reset
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_update_cursor_hi_addr
| |-- drivers-gpu-drm-phytium-pe22_dc.c:warning:no-previous-prototype-for-function-pe22_dc_hw_update_primary_hi_addr
| |-- drivers-gpu-drm-phytium-pe22_dp.c:warning:no-previous-prototype-for-function-pe22_dp_hw_reset
| |-- drivers-gpu-drm-phytium-phytium_crtc.c:warning:no-previous-prototype-for-function-phytium_crtc_atomic_destroy_state
| |-- drivers-gpu-drm-phytium-phytium_crtc.c:warning:no-previous-prototype-for-function-phytium_crtc_atomic_duplicate_state
| |-- drivers-gpu-drm-phytium-phytium_debugfs.c:warning:no-previous-prototype-for-function-phytium_debugfs_connector_add
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_adjust_link_train_parameter
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_fast_link_train
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_get_link_train_fallback_values
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hpd_poll_handler
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_disable_input_source
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_disable_video
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_enable_audio
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_enable_input_source
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_enable_output
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_hpd_irq_setup
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_hw_output_is_enable
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_dp_start_link_train
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_encoder_mode_valid
| |-- drivers-gpu-drm-phytium-phytium_dp.c:warning:no-previous-prototype-for-function-phytium_get_encoder_crtc_mask
| |-- drivers-gpu-drm-phytium-phytium_fbdev.c:warning:no-previous-prototype-for-function-phytium_drm_fbdev_init
| |-- drivers-gpu-drm-phytium-phytium_gem.c:warning:no-previous-prototype-for-function-phytium_dma_transfer
| |-- drivers-gpu-drm-phytium-phytium_panel.c:warning:no-previous-prototype-for-function-phytium_dp_panel_release_backlight_funcs
| |-- drivers-gpu-drm-phytium-phytium_pci.c:warning:no-previous-prototype-for-function-phytium_pci_dma_init
| |-- drivers-gpu-drm-phytium-phytium_pci.c:warning:no-previous-prototype-for-function-phytium_pci_vram_hw_init
| |-- drivers-gpu-drm-phytium-phytium_plane.c:warning:no-previous-prototype-for-function-phytium_plane_atomic_duplicate_state
| |-- drivers-gpu-drm-phytium-phytium_plane.c:warning:no-previous-prototype-for-function-phytium_plane_destroy
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_plane_get_cursor_format
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_plane_get_primary_format
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_update_dcreq
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_update_primary_hi_addr
| |-- drivers-gpu-drm-phytium-px210_dc.c:warning:no-previous-prototype-for-function-px210_dc_hw_vram_init
| |-- drivers-gpu-drm-phytium-px210_dp.c:warning:no-previous-prototype-for-function-px210_dp_hw_reset
| |-- drivers-gpu-drm-phytium-px210_dp.c:warning:no-previous-prototype-for-function-px210_dp_hw_spread_is_enable
| |-- drivers-i2c-busses-i2c-zhaoxin.c:warning:no-previous-prototype-for-function-zxi2c_fifo_irq_xfer
| |-- drivers-i2c-busses-i2c-zhaoxin.c:warning:no-previous-prototype-for-function-zxi2c_xfer
| |-- drivers-infiniband-hw-bnxt_re-ib_verbs.c:warning:variable-nq-set-but-not-used
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:warning:expecting-prototype-for-hinic_aeq_unregister_sw_cb().-Prototype-was-for-hinic_aeq_unregister_swe_cb()-instead
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:warning:expecting-prototype-for-hinic_ceq_register_sw_cb().-Prototype-was-for-hinic_ceq_register_cb()-instead
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:warning:expecting-prototype-for-hinic_unregister_ppf_mbox_cb().-Prototype-was-for-hinic_unregister_pf_mbox_cb()-instead
| |-- drivers-net-ethernet-linkdata-sxe-base-log-sxe_log.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-base-trace-sxe_trace.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_csum.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_dcb.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_filter.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_hw.c:error:no-previous-prototype-for-function-sxe_hw_link_speed_get-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ipsec.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_ptp.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_tx_proc.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-base-log-sxe_log.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_csum.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_hw.c:error:no-previous-prototype-for-function-sxevf_rx_rcv_ctl_configure-Werror-Wmissing-prototypes
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_main.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_monitor.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_netdev.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_ring.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:variable-node_num-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:variable-node_size-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dev_user.c:warning:variable-vfn-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dispatch.c:warning:variable-chan_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dispatch.c:warning:variable-param-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_service.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_service.c:warning:variable-ring_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_adminq.c:warning:variable-ret-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_hw_leonis-nbl_flow_leonis.c:warning:variable-phy_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_interrupt.c:warning:variable-dev-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_txrx.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-phy_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-queue_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-vsi_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_main.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_debugfs.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:Excess-function-parameter-vmdq-description-in-ngbe_set_vmdq
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:Function-parameter-or-member-pool-not-described-in-ngbe_set_vmdq
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:expecting-prototype-for-ngbe_read_ee_hostif().-Prototype-was-for-ngbe_read_ee_hostif32()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:expecting-prototype-for-ngbe_read_ee_hostif().-Prototype-was-for-ngbe_read_ee_hostif_data()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:expecting-prototype-for-ngbe_write_ee_hostif().-Prototype-was-for-ngbe_write_ee_hostif_data32()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_hw.c:warning:variable-status-set-but-not-used
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_main.c:warning:expecting-prototype-for-ngbe_watchdog_update_link().-Prototype-was-for-ngbe_watchdog_update_link_status()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_main.c:warning:variable-vlvfb-set-but-not-used
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_phy.c:warning:expecting-prototype-for-ngbe_identify_module().-Prototype-was-for-ngbe_phy_identify()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_phy.c:warning:expecting-prototype-for-ngbe_tn_check_overtemp().-Prototype-was-for-ngbe_phy_check_overtemp()-instead
| |-- drivers-net-ethernet-wangxun-ngbe-ngbe_sriov.c:warning:expecting-prototype-for-ngbe_pet_vfs().-Prototype-was-for-ngbe_put_vfs()-instead
| |-- drivers-pinctrl-zhaoxin-pinctrl-zhaoxin.c:warning:variable-test_mask-set-but-not-used
| |-- drivers-pinctrl-zhaoxin-pinctrl-zhaoxin.c:warning:variable-value_back-set-but-not-used
| |-- drivers-platform-surface-surface3_power.c:warning:snprintf-will-always-be-truncated-specified-size-is-but-format-string-expands-to-at-least
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_base.c:error:no-previous-prototype-for-function-ps3_pci_init-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_base.c:error:no-previous-prototype-for-function-ps3_pci_init_complete-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_base.c:error:no-previous-prototype-for-function-ps3_pci_init_complete_exit-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_cli_debug.c:error:no-previous-prototype-for-function-ps3_dump_context_show-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_driver_log.c:error:unused-function-time_for_file_name-Werror-Wunused-function
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_driver_log.c:error:unused-function-time_for_log-Werror-Wunused-function
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_file_close-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_file_open-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_file_write-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_filename_build-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-.-linux-ps3_dump.c:error:no-previous-prototype-for-function-ps3_dump_local_time-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_complete.c:error:no-previous-prototype-for-function-ps3_resp_status_convert-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_complete.c:error:no-previous-prototype-for-function-ps3_trigger_irq_poll-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_statistics.c:error:no-previous-prototype-for-function-ps3_cmd_stat_content_clear-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_cmd_statistics.c:error:no-previous-prototype-for-function-ps3_io_recv_ok_stat_inc-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_debug.c:error:no-previous-prototype-for-function-ps3_dump_dir_length-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_device_manager.c:error:no-previous-prototype-for-function-ps3_scsi_private_init_pd-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_device_manager.c:error:no-previous-prototype-for-function-ps3_scsi_private_init_vd-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_device_manager_sas.c:error:no-previous-prototype-for-function-ps3_sas_expander_phys_refresh-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_adp.c:error:no-previous-prototype-for-function-ps3_ioc_resource_prepare_hba-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_adp.c:error:no-previous-prototype-for-function-ps3_ioc_resource_prepare_raid-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_adp.c:error:no-previous-prototype-for-function-ps3_ioc_resource_prepare_switch-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioc_manager.c:error:no-previous-prototype-for-function-ps3_hard_reset_to_ready-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_ioctl.c:error:no-previous-prototype-for-function-ps3_clean_mgr_cmd-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_HDD_IOPS_MSIX_VECTORS-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_INTERRUPT_CLEAR_IRQ-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_INTERRUPT_CMD_DISABLE_ALL_MASK-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_INTERRUPT_CMD_ENABLE_MSIX-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_INTERRUPT_MASK_DISABLE-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_INTERRUPT_STATUS_EXIST_IRQ-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_irq.c:error:unused-variable-PS3_SSD_IOPS_MSIX_VECTORS-Werror-Wunused-const-variable
| |-- drivers-scsi-linkdata-ps3stor-ps3_module_para.c:error:no-previous-prototype-for-function-ps3_cli_ver_query-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_cmd_waitq_abort-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_decision-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_vd_init-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_vd_reset-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_waitq_clear_all-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_waitq_notify-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_hba_qos_waitq_poll-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_pd_quota_waitq_clean-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_pd_quota_waitq_clear_all-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_all_pd_rc_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_cmd_waitq_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_exclusive_cmdword_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_mgrq_resend-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_pd_waitq_ratio_update-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_tg_decision-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_qos_vd_cmdword_get-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_raid_qos_decision-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_raid_qos_waitq_abort-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_qos.c:error:no-previous-prototype-for-function-ps3_raid_qos_waitq_notify-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_conflict_queue_hash_bit_lock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_bit_check-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_bit_lock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_bit_unlock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_range_lock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_r1x_hash_range_unlock-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_r1x_write_lock.c:error:no-previous-prototype-for-function-ps3_range_check_and_insert-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_rb_tree.c:error:no-previous-prototype-for-function-rbtDelNodeDo-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_hard_recovery_state_finish-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_context_alloc-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_context_delete-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_context_free-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_irq_queue_destroy-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_recovery.c:error:no-previous-prototype-for-function-ps3_recovery_state_transfer-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_sas_transport.c:error:no-previous-prototype-for-function-ps3_sas_update_phy_info-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_scsi_cmd_err.c:error:no-previous-prototype-for-function-ps3_set_task_manager_busy-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_scsi_cmd_err.c:error:no-previous-prototype-for-function-ps3_wait_for_outstanding_complete-Werror-Wmissing-prototypes
| |-- drivers-scsi-linkdata-ps3stor-ps3_scsih.c:error:unused-function-ps3_scsih_dev_id_get-Werror-Wunused-function
| |-- drivers-spi-spi-axi-spi-engine.c:warning:Function-parameter-or-member-p-not-described-in-spi_engine_message_state
| |-- drivers-spmi-spmi-pmic-arb.c:warning:Function-parameter-or-member-core-not-described-in-spmi_pmic_arb
| |-- drivers-xcu-xcu_group.c:warning:no-previous-prototype-for-function-__xcu_group_attach
| |-- fs-nfs-dir.c:warning:no-previous-prototype-for-function-nfs_check_have_lookup_cache_flag
| |-- fs-nfs-enfs-dns_process.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_dns_process_ip
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_domain_for_each
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_domain_inc
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_iter_nfs_clnt
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_quick_sort
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_server_query_dns
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_swap_name_cache
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-enfs_update_domain_name
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-ip_list_append
| |-- fs-nfs-enfs-dns_process.c:warning:no-previous-prototype-for-function-query_dns_each_name
| |-- fs-nfs-enfs-enfs_config.c:warning:no-previous-prototype-for-function-enfs_glob_match
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_clean_server_lookup_cache_flag
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_lookupcache_timer_init
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_lookupcache_update_switch
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_lookupcache_workqueue_init
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_query_lookup_cache
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_query_lookup_cache_pre_check
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-enfs_update_lookup_cache_flag_to_server
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_add_work
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_execute_work
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_loop_rpclnt
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_routine
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_start
| |-- fs-nfs-enfs-enfs_lookup_cache.c:warning:no-previous-prototype-for-function-lookupcache_workqueue_fini
| |-- fs-nfs-enfs-enfs_multipath.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_already_have_xprt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_cmp_addrs
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_configure_xprt_to_clnt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_create_multi_xprt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_multipath_create_thread
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_release_rpc_clnt
| |-- fs-nfs-enfs-enfs_multipath.c:warning:no-previous-prototype-for-function-enfs_xprt_addrs_is_same
| |-- fs-nfs-enfs-enfs_multipath.c:warning:variable-link_count-set-but-not-used
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-enfs_parse_ip_single
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-enfs_valid_ip
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-isInvalidDns
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_dns_list
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_ip_ipv6_add
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_ip_list
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_ip_list_get_cursor
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_duplicate
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_ip_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_ipv4_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_ipv6_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-nfs_multipath_parse_options_check_valid
| |-- fs-nfs-enfs-enfs_multipath_parse.c:warning:no-previous-prototype-for-function-parse_remote_type
| |-- fs-nfs-enfs-enfs_proc.c:warning:unused-variable-shardview_proc_fops
| |-- fs-nfs-enfs-enfs_remount.c:warning:no-previous-prototype-for-function-enfs_clnt_delete_obsolete_xprts
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_get_singular_xprt
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_revert_policy
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_switch_find_first_active_xprt
| |-- fs-nfs-enfs-enfs_roundrobin.c:warning:no-previous-prototype-for-function-enfs_lb_switch_get_main_xprt
| |-- fs-nfs-enfs-enfs_rpc_init.c:warning:no-previous-prototype-for-function-enfs_rpc_init
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-EnfsExtendDecodePreCheck
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDecodeFsShard
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDecodeLifInfo
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDnsQuerySetArgs
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-NfsExtendDnsQuerySetRes
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-dorado_extend_route
| |-- fs-nfs-enfs-exten_call.c:warning:no-previous-prototype-for-function-nego_enfs_version
| |-- fs-nfs-enfs-failover_path.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- fs-nfs-enfs-pm_state.c:warning:variable-ret-set-but-not-used
| |-- fs-nfs-enfs-shard_route.c:warning:Cannot-understand-return-for-success-otherwise-for-failed
| |-- fs-nfs-enfs-shard_route.c:warning:Function-parameter-or-member-__list_name-not-described-in-DEFINE_CLEAR_LIST_FUNC
| |-- fs-nfs-enfs-shard_route.c:warning:Function-parameter-or-member-__struct_name-not-described-in-DEFINE_CLEAR_LIST_FUNC
| |-- fs-nfs-enfs_adapter.c:warning:no-previous-prototype-for-function-is_valid_option
| |-- fs-nfs-enfs_adapter.c:warning:no-previous-prototype-for-function-nfs_multipath_router_get
| |-- fs-nfs-enfs_adapter.c:warning:no-previous-prototype-for-function-nfs_multipath_router_put
| |-- fs-nfs-fs_context.c:warning:no-previous-prototype-for-function-getNfsMultiPathOpt
| |-- fs-proc-stat.c:warning:no-previous-prototype-for-function-bpf_get_idle_time
| |-- fs-proc-stat.c:warning:no-previous-prototype-for-function-bpf_get_iowait_time
| |-- fs-proc-stat.c:warning:no-previous-prototype-for-function-bpf_show_all_irqs
| |-- fs-resctrl-monitor.c:warning:Cannot-understand-closid_num_dirty_rmid-The-number-of-dirty-RMID-each-CLOSID-has.
| |-- fs-xfs-libxfs-xfs_alloc.c:warning:no-previous-prototype-for-function-xfs_ag_fixup_aside
| |-- include-linux-fortify-string.h:warning:call-to-__write_overflow_field-declared-with-warning-attribute:detected-write-beyond-size-of-field-(1st-parameter)-maybe-use-struct_group()
| |-- kernel-cpu.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Excess-function-parameter-pidfd-description-in-pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-__pidfd_prepare
| |-- kernel-fork.c:warning:Function-parameter-or-member-ret-not-described-in-pidfd_prepare
| |-- 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-livepatch-core.c:warning:bad-line:
| |-- kernel-locking-mutex.c:warning:variable-ifs_clock-is-used-uninitialized-whenever-if-condition-is-true
| |-- kernel-power-swap.c:warning:Excess-function-parameter-exclusive-description-in-swsusp_close
| |-- kernel-sched-core.c:warning:no-previous-prototype-for-function-tg_get_affinity_period
| |-- kernel-sched-core.c:warning:no-previous-prototype-for-function-tg_set_affinity_period
| |-- kernel-sched-core.c:warning:no-previous-prototype-for-function-tg_set_dynamic_affinity_mode
| |-- kernel-xsched-cfs.c:warning:Excess-function-parameter-gxcu-description-in-xg_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-new_xrt-not-described-in-xs_cfs_rq_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-task_delta-not-described-in-xg_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-xg-not-described-in-xg_update
| |-- kernel-xsched-cfs.c:warning:Function-parameter-or-member-xse_cfs-not-described-in-xs_cfs_rq_update
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-rq_init_fair
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xs_rq_add
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xs_rq_remove
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xse_deinit_fair
| |-- kernel-xsched-cfs.c:warning:no-previous-prototype-for-function-xse_init_fair
| |-- kernel-xsched-cgroup.c:warning:Cannot-understand-brief-Initialize-the-core-components-of-an-xsched_group.
| |-- kernel-xsched-cgroup.c:warning:no-previous-prototype-for-function-xcu_move_task
| |-- kernel-xsched-core.c:warning:no-previous-prototype-for-function-xsched_sched_init
| |-- kernel-xsched-core.c:warning:no-previous-prototype-for-function-xsched_xse_set_class
| |-- kernel-xsched-rt.c:warning:no-previous-prototype-for-function-rq_init_rt
| |-- kernel-xsched-rt.c:warning:no-previous-prototype-for-function-xse_deinit_rt
| |-- kernel-xsched-rt.c:warning:no-previous-prototype-for-function-xse_init_rt
| |-- kernel-xsched-vstream.c:warning:no-previous-prototype-for-function-xcu_find
| |-- lib-crypto-mpi-mpi-inv.c:warning:variable-k-set-but-not-used
| |-- lib-kunit-test.c:warning:cast-from-void-(-)(const-void-)-to-kunit_action_t-(aka-void-(-)(void-)-)-converts-to-incompatible-function-type
| |-- lib-test_kmod.c:warning:Function-parameter-or-member-task_sync-not-described-in-kmod_test_device_info
| |-- lib-test_kmod.c:warning:Function-parameter-or-member-thread_mutex-not-described-in-kmod_test_device
| |-- mm-memblock.c:warning:expecting-prototype-for-memblock_alloc_internal().-Prototype-was-for-__memblock_alloc_internal()-instead
| |-- mm-memblock.c:warning:no-previous-prototype-for-function-memblock_alloc_range_nid_flags
| |-- mm-mempolicy.c:warning:variable-vma-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
|-- x86_64-randconfig-006-20251216
| |-- drivers-cpufreq-acpi-cpufreq.c:warning:sched_set_itmt-defined-but-not-used
| |-- 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-randconfig-011-20251215
| |-- lib-kunit-test.c:warning:cast-from-void-(-)(const-void-)-to-kunit_action_t-(aka-void-(-)(void-)-)-converts-to-incompatible-function-type
| |-- lib-test_kmod.c:warning:Function-parameter-or-member-task_sync-not-described-in-kmod_test_device_info
| `-- lib-test_kmod.c:warning:Function-parameter-or-member-thread_mutex-not-described-in-kmod_test_device
|-- x86_64-randconfig-012-20251215
| |-- drivers-crypto-ccp-hygon-hct.c:warning:no-previous-prototype-for-function-hct_pin_memory
| |-- drivers-crypto-ccp-hygon-psp-dev.c:warning:no-previous-prototype-for-function-psp_mutex_init
| |-- drivers-crypto-ccp-hygon-tdm-kernel-guard.c:warning:no-previous-prototype-for-function-tdm_service_exit
| |-- drivers-crypto-ccp-hygon-tdm-kernel-guard.c:warning:no-previous-prototype-for-function-tdm_service_run
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-crypto-ccp-hygon-vpsp.c:warning:no-previous-prototype-for-function-vpsp_do_cmd
| |-- drivers-i2c-busses-i2c-zhaoxin.c:warning:no-previous-prototype-for-function-zxi2c_fifo_irq_xfer
| `-- drivers-i2c-busses-i2c-zhaoxin.c:warning:no-previous-prototype-for-function-zxi2c_xfer
|-- x86_64-randconfig-014-20251215
| |-- arch-x86-kernel-early-quirks.c:warning:no-previous-prototype-for-function-is_zhaoxin_kh40000
| |-- arch-x86-kernel-early-quirks.c:warning:no-previous-prototype-for-function-kh40000_get_direct_dma_ops
| |-- drivers-dax-super.c:warning:Function-parameter-or-member-KABI_RESERVE(-not-described-in-dax_device
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_csum.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxe-sxepf-sxe_dcb.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-linkdata-sxevf-sxevf-sxevf_csum.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_common-nbl_common.c:warning:variable-node_size-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dispatch.c:warning:variable-chan_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dispatch.c:warning:variable-param-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-phy_ops-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_vsi.c:warning:variable-vsi_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_main.c:warning:This-comment-starts-with-but-isn-t-a-kernel-doc-comment.-Refer-Documentation-doc-guide-kernel-doc.rst
| `-- lib-crypto-mpi-mpi-inv.c:warning:variable-k-set-but-not-used
|-- x86_64-randconfig-016-20251215
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-csv3_launch_encrypt_data_alt_1
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-argp-not-described-in-csv3_launch_encrypt_data_alt_2
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-end_pgoff-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-csv3_launch_encrypt_data_alt_1
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-kvm-not-described-in-csv3_launch_encrypt_data_alt_2
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-params-not-described-in-__csv3_launch_encrypt_data
| |-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-src_buf-not-described-in-__csv3_launch_encrypt_data
| `-- arch-x86-kvm-svm-csv.c:warning:Function-parameter-or-member-start_pgoff-not-described-in-__csv3_launch_encrypt_data
|-- x86_64-randconfig-074-20251216
| `-- include-net-sock.h:error:struct-sock_common-has-no-member-named-skc_v6_daddr
|-- x86_64-randconfig-075-20251218
| `-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_dev_user.c:warning:assignment-to-struct-eventfd_ctx-from-int-makes-pointer-from-integer-without-a-cast
|-- x86_64-randconfig-122-20251217
| |-- drivers-crypto-ccp-ccp-crypto-sm2-hygon.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-crypto-ccp-ccp-crypto-sm2-hygon.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-crypto-ccp-ccp-crypto-sm2-hygon.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__be32-usertype
| |-- drivers-crypto-ccp-ccp-crypto-sm2-hygon.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-got-restricted-__be64-usertype
| |-- drivers-crypto-ccp-hygon-ccp-dev-v5.c:sparse:sparse:cast-from-restricted-__le32
| |-- drivers-crypto-ccp-hygon-ccp-dev-v5.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le32-usertype-sm3_len_hi-got-unsigned-int-usertype
| |-- drivers-crypto-ccp-hygon-ccp-dev-v5.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-restricted-__le32-usertype-sm3_len_lo-got-unsigned-int-usertype
| |-- drivers-crypto-ccp-hygon-ccp-dev-v5.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__le32-usertype
| `-- kernel-crash_core.c:sparse:sparse:symbol-__crash_hotplug_lock-was-not-declared.-Should-it-be-static
|-- x86_64-randconfig-123-20251217
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-int-flag-got-restricted-gfp_t
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-desc-got-restricted-__be64-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-got-restricted-__be64-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-hw_cmd_paddr-got-restricted-__be64-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-hw_wb_resp_paddr-got-restricted-__be64-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_api_cmd.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-next_cell_paddr-got-restricted-__be64-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-cfg_get_func_sf_en-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-cfg_set_func_sf_en-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_rdma_mpts_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_rdma_mtts_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_rdma_qps_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_gpa_check_enable-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_hash_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_max_cache_conn-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_max_conn-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_mpt_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_mpt_resvd-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_pagesize_reorder-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_qpc_alloc_mode-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_qpc_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_qpc_resvd_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_reorder_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_scq_resvd-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_scqc_alloc_mode-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_scqc_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_test_xid_alloc_mode-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cfg.c:sparse:sparse:symbol-g_vfs_num-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:cast-removes-address-space-__iomem-of-expression
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-unsigned-char-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-__iomem-db_base-got-unsigned-char-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-addressable-usertype-db_info-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-got-restricted-__be64-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_cmdq.c:sparse:sparse:symbol-hinic_set_cmdq_ctxts-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-__user-from-got-unsigned-char-usertype-cmd
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-__user-from-got-void
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-__user-from-got-void-buf_in
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__user-to-got-struct-ffm_record_info-ffm_rd
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__user-to-got-struct-pf_dev_info-dev_info
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__user-to-got-unsigned-short-usertype-out_size
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__user-to-got-void-ack
| |-- drivers-net-ethernet-huawei-hinic-hinic_dbgtool_knl.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__user-to-got-void-buf_out
| |-- drivers-net-ethernet-huawei-hinic-hinic_dcb.c:sparse:sparse:symbol-__set_cos_up_map-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_dcb.c:sparse:sparse:symbol-hinic_dcb_config_init-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_dcb.c:sparse:sparse:symbol-hinic_dcbnl_set_all-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_dcb.c:sparse:sparse:symbol-hinic_init_ieee_settings-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_dcb.c:sparse:sparse:symbol-hinic_set_prio_tc_map-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-desc-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_eqs.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_ethtool.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_ethtool.c:sparse:sparse:symbol-hinic_lp_test-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-addressable-assigned-usertype-val-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-udp_port-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-_set_led_status-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-comm_pf_mbox_handler-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-hinic_get_phy_init_status-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-hinic_hw_rx_buf_size-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-hinic_msg_to_mgmt_no_ack-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-hinic_ppf_ht_gpa_deinit-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-hinic_ppf_ht_gpa_init-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:sparse:sparse:symbol-hw_cmd_support_vf-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-restricted-gfp_t-usertype-gfp-got-unsigned-int-flag
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-int-val-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-__iomem-cfg_regs_base-got-void-cfg_reg_base
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-__iomem-db_base-got-void-db_base
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwif.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-noderef-usertype-__iomem-intr_regs_base-got-void-intr_reg_ba
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:Using-plain-integer-as-NULL-pointer
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-cfg_reg_base-got-void-noderef-__iomem-cfg_reg_base
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-assigned-cfg_reg_base-got-void-noderef-__iomem-cfg_reg_base
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-assigned-db_base-got-void-noderef-__iomem-db_base
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-void-assigned-intr_reg_base-got-void-noderef-__iomem-intr_reg_base
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-manufacture_id-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-short-usertype-reason_code-got-restricted-__be16-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-short-usertype-resp_code-got-restricted-__be16-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-g_hinic_chip_list-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-hinic_destroy_syncfw_timer-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-hinic_event_process-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-hinic_get_ppf_hwdev_by_pdev-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-hinic_init_syncfw_timer-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-hinic_version_cmp-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_lld.c:sparse:sparse:symbol-ver_incompat_table-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_main.c:sparse:sparse:symbol-g_hinic_netdev_notifiers_mutex-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_main.c:sparse:sparse:symbol-hinic_netdev_event-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-unsigned-char-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:incorrect-type-in-assignment-(different-address-spaces)-expected-unsigned-char-usertype-data-got-unsigned-char-noderef-usertype-__iomem
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:symbol-check_vf_mbox_random_id-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:symbol-dump_mox_reg-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_mbox.c:sparse:sparse:symbol-set_vf_mbox_random_id-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_multi_host_mgmt.c:sparse:sparse:symbol-comm_ppf_to_pf_handler-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_multi_host_mgmt.c:sparse:sparse:symbol-hinic_nic_ppf_mbox_handler-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_multi_host_mgmt.c:sparse:sparse:symbol-hinic_nic_ppf_to_pf_handler-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_multi_host_mgmt.c:sparse:sparse:symbol-hinic_register_slave_ppf-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-ctx-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-group_index-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-offset-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-size-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:symbol-hinic_hiovs_del_cpath_vlan-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:symbol-hinic_hiovs_set_cpath_vlan-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:symbol-hw_speed_convert-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:symbol-nic_cmd_support_vf-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_cfg.c:sparse:sparse:symbol-nic_pf_mbox_handler-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_dbg.c:sparse:sparse:cast-removes-address-space-__iomem-of-expression
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_dbg.c:sparse:sparse:incorrect-type-in-return-expression-(different-base-types)-expected-unsigned-short-got-restricted-__be16-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:cast-removes-address-space-__iomem-of-expression
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:cast-to-restricted-__be16
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-volatile-noderef-__iomem-addr-got-unsigned-long-long-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-addressable-usertype-db_info-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-short-usertype-got-restricted-__be16-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:symbol-hinic_qp_prepare_cmdq_header-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:symbol-hinic_rq_prepare_ctxt-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nic_io.c:sparse:sparse:symbol-hinic_sq_prepare_ctxt-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-__user-from-got-void
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-__user-from-got-void-in_buff
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-noderef-__user-to-got-void-out_buf
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-get_ets_info-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-get_pfc_info-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-get_support_tc-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-get_support_up-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-set_ets-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-set_pfc_control-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_nictool.c:sparse:sparse:symbol-set_pfc_priority-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_qp.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_qp.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-status-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_rx.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-addr_high-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_rx.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-addr_low-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_rx.c:sparse:sparse:symbol-hinic_rx_free_buffers-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_rx.c:sparse:sparse:symbol-rx_pass_super_cqe-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_counter.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-ctr_id-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_counter.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_counter.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-value-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_lt.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-assigned-usertype-csr_write_data_h-got-restricted-__be32-userty
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_lt.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-assigned-usertype-csr_write_data_l-got-restricted-__be32-userty
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_lt.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-assigned-usertype-val32-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_lt.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_lt.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-index-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_sml_lt.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-value-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_tx.c:sparse:sparse:cast-to-restricted-__be32
| |-- drivers-net-ethernet-huawei-hinic-hinic_tx.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-hi_addr-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_tx.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-len-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_tx.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-int-usertype-lo_addr-got-restricted-__be32-usertype
| |-- drivers-net-ethernet-huawei-hinic-hinic_tx.c:sparse:sparse:symbol-hinic_setup_tx_wqe-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_tx.c:sparse:sparse:symbol-hinic_stop_sq-was-not-declared.-Should-it-be-static
| |-- drivers-net-ethernet-huawei-hinic-hinic_wq.c:sparse:sparse:cast-to-restricted-__be64
| |-- drivers-net-ethernet-huawei-hinic-hinic_wq.c:sparse:sparse:incorrect-type-in-argument-(different-base-types)-expected-unsigned-int-flag-got-restricted-gfp_t
| `-- drivers-net-ethernet-huawei-hinic-hinic_wq.c:sparse:sparse:incorrect-type-in-assignment-(different-base-types)-expected-unsigned-long-long-usertype-got-restricted-__be64-usertype
|-- x86_64-randconfig-123-20251218
| `-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_service.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-const-noderef-__user-from-got-void
`-- x86_64-randconfig-161-20251215
|-- arch-x86-kernel-cpu-proc.c:warning:no-previous-prototype-for-show_cpuinfo
|-- arch-x86-kernel-early-quirks.c:warning:no-previous-prototype-for-is_zhaoxin_kh40000
|-- arch-x86-kernel-early-quirks.c:warning:no-previous-prototype-for-kh40000_get_direct_dma_ops
`-- drivers-net-ethernet-nebula-matrix-nbl-nbl_hw-nbl_adminq.c:warning:08x-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
elapsed time: 1466m
configs tested: 6
configs skipped: 6
tested configs:
arm64 allnoconfig gcc-15.1.0
loongarch allnoconfig clang-22
x86_64 allmodconfig clang-20
x86_64 allnoconfig clang-20
x86_64 allyesconfig clang-20
x86_64 rhel-9.4-rust clang-20
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3557/3557] security/integrity/ima/ima_digest_list.c:164:37: sparse: sparse: cast to restricted __le16
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 5fbe16a682d5af0c2f7145096851e31e3c921d64 [3557/3557] ima: Execute parser to upload digest lists not recognizable by the kernel
config: arm64-randconfig-r132-20251218 (https://download.01.org/0day-ci/archive/20251221/202512211327.X52XldqR-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512211327.X52XldqR-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/202512211327.X52XldqR-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> security/integrity/ima/ima_digest_list.c:164:37: sparse: sparse: cast to restricted __le16
security/integrity/ima/ima_digest_list.c:165:42: sparse: sparse: cast to restricted __le16
security/integrity/ima/ima_digest_list.c:166:37: sparse: sparse: cast to restricted __le16
>> security/integrity/ima/ima_digest_list.c:167:38: sparse: sparse: cast to restricted __le32
security/integrity/ima/ima_digest_list.c:168:40: sparse: sparse: cast to restricted __le32
>> security/integrity/ima/ima_digest_list.c:416:20: sparse: sparse: symbol 'parser_task' was not declared. Should it be static?
vim +164 security/integrity/ima/ima_digest_list.c
b3fef06570ef2b Roberto Sassu 2023-09-12 138
b3fef06570ef2b Roberto Sassu 2023-09-12 139 int ima_parse_compact_list(loff_t size, void *buf, int op)
b3fef06570ef2b Roberto Sassu 2023-09-12 140 {
b3fef06570ef2b Roberto Sassu 2023-09-12 141 u8 *digest;
b3fef06570ef2b Roberto Sassu 2023-09-12 142 void *bufp = buf, *bufendp = buf + size;
b3fef06570ef2b Roberto Sassu 2023-09-12 143 struct compact_list_hdr *hdr;
b3fef06570ef2b Roberto Sassu 2023-09-12 144 size_t digest_len;
b3fef06570ef2b Roberto Sassu 2023-09-12 145 int ret = 0, i;
b3fef06570ef2b Roberto Sassu 2023-09-12 146
80701e75d21f48 Roberto Sassu 2023-09-12 147 if (!(ima_digest_list_actions & ima_policy_flag))
80701e75d21f48 Roberto Sassu 2023-09-12 148 return -EACCES;
80701e75d21f48 Roberto Sassu 2023-09-12 149
b3fef06570ef2b Roberto Sassu 2023-09-12 150 while (bufp < bufendp) {
b3fef06570ef2b Roberto Sassu 2023-09-12 151 if (bufp + sizeof(*hdr) > bufendp) {
b3fef06570ef2b Roberto Sassu 2023-09-12 152 pr_err("compact list, invalid data\n");
b3fef06570ef2b Roberto Sassu 2023-09-12 153 return -EINVAL;
b3fef06570ef2b Roberto Sassu 2023-09-12 154 }
b3fef06570ef2b Roberto Sassu 2023-09-12 155
b3fef06570ef2b Roberto Sassu 2023-09-12 156 hdr = bufp;
b3fef06570ef2b Roberto Sassu 2023-09-12 157
b3fef06570ef2b Roberto Sassu 2023-09-12 158 if (hdr->version != 1) {
b3fef06570ef2b Roberto Sassu 2023-09-12 159 pr_err("compact list, unsupported version\n");
b3fef06570ef2b Roberto Sassu 2023-09-12 160 return -EINVAL;
b3fef06570ef2b Roberto Sassu 2023-09-12 161 }
b3fef06570ef2b Roberto Sassu 2023-09-12 162
b3fef06570ef2b Roberto Sassu 2023-09-12 163 if (ima_canonical_fmt) {
b3fef06570ef2b Roberto Sassu 2023-09-12 @164 hdr->type = le16_to_cpu(hdr->type);
b3fef06570ef2b Roberto Sassu 2023-09-12 165 hdr->modifiers = le16_to_cpu(hdr->modifiers);
b3fef06570ef2b Roberto Sassu 2023-09-12 166 hdr->algo = le16_to_cpu(hdr->algo);
b3fef06570ef2b Roberto Sassu 2023-09-12 @167 hdr->count = le32_to_cpu(hdr->count);
b3fef06570ef2b Roberto Sassu 2023-09-12 168 hdr->datalen = le32_to_cpu(hdr->datalen);
b3fef06570ef2b Roberto Sassu 2023-09-12 169 }
b3fef06570ef2b Roberto Sassu 2023-09-12 170
b3fef06570ef2b Roberto Sassu 2023-09-12 171 if (hdr->algo >= HASH_ALGO__LAST)
b3fef06570ef2b Roberto Sassu 2023-09-12 172 return -EINVAL;
b3fef06570ef2b Roberto Sassu 2023-09-12 173
b3fef06570ef2b Roberto Sassu 2023-09-12 174 digest_len = hash_digest_size[hdr->algo];
b3fef06570ef2b Roberto Sassu 2023-09-12 175
b3fef06570ef2b Roberto Sassu 2023-09-12 176 if (hdr->type >= COMPACT__LAST) {
b3fef06570ef2b Roberto Sassu 2023-09-12 177 pr_err("compact list, invalid type %d\n", hdr->type);
b3fef06570ef2b Roberto Sassu 2023-09-12 178 return -EINVAL;
b3fef06570ef2b Roberto Sassu 2023-09-12 179 }
b3fef06570ef2b Roberto Sassu 2023-09-12 180
b3fef06570ef2b Roberto Sassu 2023-09-12 181 bufp += sizeof(*hdr);
b3fef06570ef2b Roberto Sassu 2023-09-12 182
b3fef06570ef2b Roberto Sassu 2023-09-12 183 for (i = 0; i < hdr->count; i++) {
b3fef06570ef2b Roberto Sassu 2023-09-12 184 if (bufp + digest_len > bufendp) {
b3fef06570ef2b Roberto Sassu 2023-09-12 185 pr_err("compact list, invalid data\n");
b3fef06570ef2b Roberto Sassu 2023-09-12 186 return -EINVAL;
b3fef06570ef2b Roberto Sassu 2023-09-12 187 }
b3fef06570ef2b Roberto Sassu 2023-09-12 188
b3fef06570ef2b Roberto Sassu 2023-09-12 189 digest = bufp;
b3fef06570ef2b Roberto Sassu 2023-09-12 190 bufp += digest_len;
b3fef06570ef2b Roberto Sassu 2023-09-12 191
b3fef06570ef2b Roberto Sassu 2023-09-12 192 if (op == DIGEST_LIST_OP_ADD)
b3fef06570ef2b Roberto Sassu 2023-09-12 193 ret = ima_add_digest_data_entry(digest,
b3fef06570ef2b Roberto Sassu 2023-09-12 194 hdr->algo, hdr->type, hdr->modifiers);
b3fef06570ef2b Roberto Sassu 2023-09-12 195 else if (op == DIGEST_LIST_OP_DEL)
b3fef06570ef2b Roberto Sassu 2023-09-12 196 ima_del_digest_data_entry(digest, hdr->algo,
b3fef06570ef2b Roberto Sassu 2023-09-12 197 hdr->type);
b3fef06570ef2b Roberto Sassu 2023-09-12 198 if (ret < 0 && ret != -EEXIST)
b3fef06570ef2b Roberto Sassu 2023-09-12 199 return ret;
b3fef06570ef2b Roberto Sassu 2023-09-12 200 }
b3fef06570ef2b Roberto Sassu 2023-09-12 201
b3fef06570ef2b Roberto Sassu 2023-09-12 202 if (i != hdr->count ||
b3fef06570ef2b Roberto Sassu 2023-09-12 203 bufp != (void *)hdr + sizeof(*hdr) + hdr->datalen) {
b3fef06570ef2b Roberto Sassu 2023-09-12 204 pr_err("compact list, invalid data\n");
b3fef06570ef2b Roberto Sassu 2023-09-12 205 return -EINVAL;
b3fef06570ef2b Roberto Sassu 2023-09-12 206 }
b3fef06570ef2b Roberto Sassu 2023-09-12 207 }
b3fef06570ef2b Roberto Sassu 2023-09-12 208
b3fef06570ef2b Roberto Sassu 2023-09-12 209 return bufp - buf;
b3fef06570ef2b Roberto Sassu 2023-09-12 210 }
80701e75d21f48 Roberto Sassu 2023-09-12 211
:::::: The code at line 164 was first introduced by commit
:::::: b3fef06570ef2b61dd7181e5c1d128bfcbf6b2ef ima: Add parser of compact digest list
:::::: TO: Roberto Sassu <roberto.sassu(a)huawei.com>
:::::: CC: zgzxx <zhangguangzhi3(a)huawei.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:883:6: error: no previous prototype for function 'sss_nic_port_module_cable_plug'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 6864d14bb90f03a1e5b7fbcc04fc2ba4d692bd3e [1/1] support 3SNIC 910/920/930 NIC
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20251221/202512211239.WIsno7Ky-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512211239.WIsno7Ky-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/202512211239.WIsno7Ky-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:6:
In file included from include/linux/pci.h:1663:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2204:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:883:6: error: no previous prototype for function 'sss_nic_port_module_cable_plug' [-Werror,-Wmissing-prototypes]
883 | void sss_nic_port_module_cable_plug(struct sss_nic_dev *nic_dev, void *event_data)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:883:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
883 | void sss_nic_port_module_cable_plug(struct sss_nic_dev *nic_dev, void *event_data)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:889:6: error: no previous prototype for function 'sss_nic_port_module_cable_unplug' [-Werror,-Wmissing-prototypes]
889 | void sss_nic_port_module_cable_unplug(struct sss_nic_dev *nic_dev, void *event_data)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:889:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
889 | void sss_nic_port_module_cable_unplug(struct sss_nic_dev *nic_dev, void *event_data)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:895:6: error: no previous prototype for function 'sss_nic_port_module_link_err' [-Werror,-Wmissing-prototypes]
895 | void sss_nic_port_module_link_err(struct sss_nic_dev *nic_dev, void *event_data)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:895:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
895 | void sss_nic_port_module_link_err(struct sss_nic_dev *nic_dev, void *event_data)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:1034:22: error: no previous prototype for function 'get_nic_uld_info' [-Werror,-Wmissing-prototypes]
1034 | struct sss_uld_info *get_nic_uld_info(void)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c:1034:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1034 | struct sss_uld_info *get_nic_uld_info(void)
| ^
| static
9 errors generated.
--
In file included from drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:6:
In file included from include/net/xfrm.h:9:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2204:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:42:5: error: no previous prototype for function 'sss_nic_alloc_sq_resource' [-Werror,-Wmissing-prototypes]
42 | int sss_nic_alloc_sq_resource(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:42:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
42 | int sss_nic_alloc_sq_resource(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:87:6: error: no previous prototype for function 'sss_nic_free_sq_resource' [-Werror,-Wmissing-prototypes]
87 | void sss_nic_free_sq_resource(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:87:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
87 | void sss_nic_free_sq_resource(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:104:6: error: no previous prototype for function 'sss_nic_init_all_sq' [-Werror,-Wmissing-prototypes]
104 | void sss_nic_init_all_sq(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:104:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
104 | void sss_nic_init_all_sq(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:128:5: error: no previous prototype for function 'sss_nic_alloc_sq_desc_group' [-Werror,-Wmissing-prototypes]
128 | int sss_nic_alloc_sq_desc_group(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:128:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
128 | int sss_nic_alloc_sq_desc_group(struct sss_nic_dev *nic_dev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:153:6: error: no previous prototype for function 'sss_nic_free_sq_desc_group' [-Werror,-Wmissing-prototypes]
153 | void sss_nic_free_sq_desc_group(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:153:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
153 | void sss_nic_free_sq_desc_group(struct sss_nic_dev *nic_dev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:200:6: error: no previous prototype for function 'sss_nic_flush_all_sq' [-Werror,-Wmissing-prototypes]
200 | void sss_nic_flush_all_sq(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_tx_init.c:200:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
200 | void sss_nic_flush_all_sq(struct sss_nic_dev *nic_dev)
| ^
| static
11 errors generated.
--
In file included from drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:8:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2204:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:80:5: error: no previous prototype for function 'sss_nic_alloc_rq_res_group' [-Werror,-Wmissing-prototypes]
80 | int sss_nic_alloc_rq_res_group(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:80:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
80 | int sss_nic_alloc_rq_res_group(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:136:6: error: no previous prototype for function 'sss_nic_free_rq_res_group' [-Werror,-Wmissing-prototypes]
136 | void sss_nic_free_rq_res_group(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:136:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
136 | void sss_nic_free_rq_res_group(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:208:5: error: no previous prototype for function 'sss_nic_init_rq_desc_group' [-Werror,-Wmissing-prototypes]
208 | int sss_nic_init_rq_desc_group(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:208:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
208 | int sss_nic_init_rq_desc_group(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:235:6: error: no previous prototype for function 'sss_nic_free_rq_desc_group' [-Werror,-Wmissing-prototypes]
235 | void sss_nic_free_rq_desc_group(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:235:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
235 | void sss_nic_free_rq_desc_group(struct sss_nic_dev *nic_dev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:241:5: error: no previous prototype for function 'sss_nic_alloc_rq_desc_group' [-Werror,-Wmissing-prototypes]
241 | int sss_nic_alloc_rq_desc_group(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:241:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
241 | int sss_nic_alloc_rq_desc_group(struct sss_nic_dev *nic_dev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:267:5: error: no previous prototype for function 'sss_nic_update_rx_rss' [-Werror,-Wmissing-prototypes]
267 | int sss_nic_update_rx_rss(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:267:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
267 | int sss_nic_update_rx_rss(struct sss_nic_dev *nic_dev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:282:6: error: no previous prototype for function 'sss_nic_reset_rx_rss' [-Werror,-Wmissing-prototypes]
282 | void sss_nic_reset_rx_rss(struct net_device *netdev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_init.c:282:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
282 | void sss_nic_reset_rx_rss(struct net_device *netdev)
| ^
| static
12 errors generated.
--
In file included from drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_reset.c:8:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2204:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_reset.c:179:6: error: no previous prototype for function 'sss_nic_rq_watchdog_handler' [-Werror,-Wmissing-prototypes]
179 | void sss_nic_rq_watchdog_handler(struct work_struct *work)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_rx_reset.c:179:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
179 | void sss_nic_rq_watchdog_handler(struct work_struct *work)
| ^
| static
6 errors generated.
--
In file included from drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:7:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2204:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:350:6: error: no previous prototype for function 'sss_nic_flush_tcam_list' [-Werror,-Wmissing-prototypes]
350 | void sss_nic_flush_tcam_list(struct sss_nic_tcam_info *tcam_info)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:350:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
350 | void sss_nic_flush_tcam_list(struct sss_nic_tcam_info *tcam_info)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:366:6: error: no previous prototype for function 'sss_nic_flush_tcam_node_list' [-Werror,-Wmissing-prototypes]
366 | void sss_nic_flush_tcam_node_list(struct sss_nic_tcam_info *tcam_info)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:366:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
366 | void sss_nic_flush_tcam_node_list(struct sss_nic_tcam_info *tcam_info)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:382:6: error: no previous prototype for function 'sss_nic_flush_rx_flow_rule' [-Werror,-Wmissing-prototypes]
382 | void sss_nic_flush_rx_flow_rule(struct sss_nic_rx_rule *rx_flow_rule)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:382:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
382 | void sss_nic_flush_rx_flow_rule(struct sss_nic_rx_rule *rx_flow_rule)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:397:6: error: no previous prototype for function 'sss_nic_flush_tcam' [-Werror,-Wmissing-prototypes]
397 | void sss_nic_flush_tcam(struct sss_nic_dev *nic_dev)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:397:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
397 | void sss_nic_flush_tcam(struct sss_nic_dev *nic_dev)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:797:5: error: no previous prototype for function 'sss_nic_ethtool_update_flow' [-Werror,-Wmissing-prototypes]
797 | int sss_nic_ethtool_update_flow(struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:797:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
797 | int sss_nic_ethtool_update_flow(struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:842:5: error: no previous prototype for function 'sss_nic_ethtool_delete_flow' [-Werror,-Wmissing-prototypes]
842 | int sss_nic_ethtool_delete_flow(struct sss_nic_dev *nic_dev, u32 location)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:842:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
842 | int sss_nic_ethtool_delete_flow(struct sss_nic_dev *nic_dev, u32 location)
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:864:5: error: no previous prototype for function 'sss_nic_ethtool_get_flow' [-Werror,-Wmissing-prototypes]
864 | int sss_nic_ethtool_get_flow(const struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:864:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
864 | int sss_nic_ethtool_get_flow(const struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:887:5: error: no previous prototype for function 'sss_nic_ethtool_get_all_flows' [-Werror,-Wmissing-prototypes]
887 | int sss_nic_ethtool_get_all_flows(const struct sss_nic_dev *nic_dev,
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:887:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
887 | int sss_nic_ethtool_get_all_flows(const struct sss_nic_dev *nic_dev,
| ^
| static
>> drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:905:6: error: no previous prototype for function 'sss_nic_validate_channel_setting_in_ntuple' [-Werror,-Wmissing-prototypes]
905 | bool sss_nic_validate_channel_setting_in_ntuple(const struct sss_nic_dev *nic_dev, u32 q_num)
| ^
drivers/net/ethernet/3snic/sssnic/nic/sss_nic_ntuple.c:905:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
905 | bool sss_nic_validate_channel_setting_in_ntuple(const struct sss_nic_dev *nic_dev, u32 q_num)
| ^
| static
14 errors generated.
..
vim +/sss_nic_port_module_cable_plug +883 drivers/net/ethernet/3snic/sssnic/nic/sss_nic_main.c
882
> 883 void sss_nic_port_module_cable_plug(struct sss_nic_dev *nic_dev, void *event_data)
884 {
885 nicif_info(nic_dev, link, nic_dev->netdev,
886 "Port module event: Cable plugged\n");
887 }
888
> 889 void sss_nic_port_module_cable_unplug(struct sss_nic_dev *nic_dev, void *event_data)
890 {
891 nicif_info(nic_dev, link, nic_dev->netdev,
892 "Port module event: Cable unplugged\n");
893 }
894
> 895 void sss_nic_port_module_link_err(struct sss_nic_dev *nic_dev, void *event_data)
896 {
897 struct sss_nic_port_module_event *port_event = event_data;
898 enum link_err_type err_type = port_event->err_type;
899
900 nicif_info(nic_dev, link, nic_dev->netdev,
901 "Fail to link, err_type: 0x%x\n", err_type);
902 }
903
904 static void sss_nic_port_module_event_handler(struct sss_nic_dev *nic_dev,
905 struct sss_event_info *event)
906 {
907 struct sss_nic_port_module_event *port_event = (void *)event->event_data;
908 enum port_module_event_type type = port_event->type;
909
910 sss_nic_port_module_event_handler_t handler[SSSNIC_PORT_MODULE_MAX_EVENT] = {
911 sss_nic_port_module_cable_plug,
912 sss_nic_port_module_cable_unplug,
913 sss_nic_port_module_link_err,
914 };
915
916 if (type >= SSSNIC_PORT_MODULE_MAX_EVENT) {
917 nicif_err(nic_dev, link, nic_dev->netdev,
918 "Unknown port module type %d\n", type);
919 return;
920 }
921
922 if (handler[type])
923 handler[type](nic_dev, event->event_data);
924 }
925
926 static void sss_nic_link_down(struct sss_nic_dev *nic_dev, struct sss_event_info *event)
927 {
928 struct net_device *netdev = nic_dev->netdev;
929
930 if (!SSS_CHANNEL_RES_VALID(nic_dev) ||
931 test_bit(SSSNIC_LP_TEST, &nic_dev->flags) ||
932 test_bit(SSSNIC_FORCE_LINK_UP, &nic_dev->flags))
933 return;
934
935 if (!netif_carrier_ok(netdev))
936 return;
937
938 netif_carrier_off(netdev);
939 nic_dev->link_status = false;
940 nicif_info(nic_dev, link, netdev, "Link is down\n");
941 }
942
943 static void sss_nic_link_up(struct sss_nic_dev *nic_dev, struct sss_event_info *event)
944 {
945 struct net_device *netdev = nic_dev->netdev;
946
947 if (!SSS_CHANNEL_RES_VALID(nic_dev) ||
948 test_bit(SSSNIC_LP_TEST, &nic_dev->flags) ||
949 test_bit(SSSNIC_FORCE_LINK_UP, &nic_dev->flags))
950 return;
951
952 if (netif_carrier_ok(netdev))
953 return;
954
955 netif_carrier_on(netdev);
956 nic_dev->link_status = true;
957
958 nicif_info(nic_dev, link, netdev, "Link is up\n");
959 }
960
961 static void sss_nic_comm_fail_envet_handler(struct sss_nic_dev *nic_dev,
962 struct sss_event_info *event)
963 {
964 struct sss_fault_event *fault = (void *)event->event_data;
965
966 if (fault->fault_level == SSS_FAULT_LEVEL_SERIOUS_FLR &&
967 fault->info.chip.func_id == sss_get_global_func_id(nic_dev->hwdev))
968 sss_nic_link_down(nic_dev, event);
969 }
970
971 static void sss_nic_event_handler(struct sss_nic_dev *nic_dev, struct sss_event_info *event)
972 {
973 sss_nic_event_handler_t handler[SSSNIC_EVENT_MAX] = {
974 sss_nic_link_down,
975 sss_nic_link_up,
976 sss_nic_port_module_event_handler,
977 NULL,
978 };
979
980 if (event->type >= SSSNIC_EVENT_MAX)
981 return;
982
983 if (handler[event->type])
984 handler[event->type](nic_dev, event);
985 }
986
987 static void sss_nic_comm_event_handler(struct sss_nic_dev *nic_dev,
988 struct sss_event_info *event)
989 {
990 sss_nic_event_handler_t handler[SSS_EVENT_MAX] = {
991 sss_nic_link_down,
992 sss_nic_link_down,
993 sss_nic_comm_fail_envet_handler,
994 sss_nic_sriov_state_change,
995 NULL,
996 sss_nic_link_down,
997 };
998
999 if (event->type >= SSS_EVENT_MAX)
1000 return;
1001
1002 if (handler[event->type])
1003 handler[event->type](nic_dev, event);
1004 }
1005
1006 static void sss_nic_event(struct sss_hal_dev *uld_dev, void *adapter,
1007 struct sss_event_info *event)
1008 {
1009 struct sss_nic_dev *nic_dev = adapter;
1010
1011 if (!nic_dev || !event || !sss_support_nic(uld_dev->hwdev))
1012 return;
1013
1014 if (event->service == SSS_EVENT_SRV_NIC) {
1015 sss_nic_event_handler(nic_dev, event);
1016 return;
1017 }
1018
1019 if (event->service == SSS_EVENT_SRV_COMM) {
1020 sss_nic_comm_event_handler(nic_dev, event);
1021 return;
1022 }
1023 }
1024
1025 struct sss_uld_info g_nic_uld_info = {
1026 .probe = sss_nic_probe,
1027 .remove = sss_nic_remove,
1028 .suspend = NULL,
1029 .resume = NULL,
1030 .event = sss_nic_event,
1031 .ioctl = sss_tool_ioctl,
1032 };
1033
> 1034 struct sss_uld_info *get_nic_uld_info(void)
1035 {
1036 return &g_nic_uld_info;
1037 }
1038
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3563/3563] drivers/scsi/linkdata/ps3stor/ps3_qos.c:3023:6: error: no previous prototype for function 'ps3_hba_qos_waitq_poll'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi openeuler-ci-bot,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 663a9a1c191fd26f1d8cb44edb6e0e50dd0536b2 [3563/3563] !14287 [OLK-6.6] SCSI: Support Linkdata HBA/RAID Controllers
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251221/202512211148.JPQqoPy8-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512211148.JPQqoPy8-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/202512211148.JPQqoPy8-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/scsi/linkdata/ps3stor/ps3_qos.c:211:1: error: no previous prototype for function 'ps3_qos_cmd_waitq_get' [-Werror,-Wmissing-prototypes]
211 | ps3_qos_cmd_waitq_get(struct ps3_qos_tg_context *qos_tg_ctx,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
210 | struct qos_wait_queue *
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:15: error: no previous prototype for function 'ps3_qos_vd_cmdword_get' [-Werror,-Wmissing-prototypes]
335 | unsigned char ps3_qos_vd_cmdword_get(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
335 | unsigned char ps3_qos_vd_cmdword_get(struct ps3_cmd *cmd)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:15: error: no previous prototype for function 'ps3_qos_exclusive_cmdword_get' [-Werror,-Wmissing-prototypes]
351 | unsigned char ps3_qos_exclusive_cmdword_get(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
351 | unsigned char ps3_qos_exclusive_cmdword_get(struct ps3_cmd *cmd)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:15: error: no previous prototype for function 'ps3_qos_tg_decision' [-Werror,-Wmissing-prototypes]
363 | unsigned char ps3_qos_tg_decision(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
363 | unsigned char ps3_qos_tg_decision(struct ps3_cmd *cmd)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:15: error: no previous prototype for function 'ps3_qos_all_pd_rc_get' [-Werror,-Wmissing-prototypes]
749 | unsigned char ps3_qos_all_pd_rc_get(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
749 | unsigned char ps3_qos_all_pd_rc_get(struct ps3_cmd *cmd)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clear_all' [-Werror,-Wmissing-prototypes]
876 | void ps3_pd_quota_waitq_clear_all(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
876 | void ps3_pd_quota_waitq_clear_all(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clean' [-Werror,-Wmissing-prototypes]
892 | void ps3_pd_quota_waitq_clean(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
892 | void ps3_pd_quota_waitq_clean(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:6: error: no previous prototype for function 'ps3_qos_pd_waitq_ratio_update' [-Werror,-Wmissing-prototypes]
1058 | void ps3_qos_pd_waitq_ratio_update(struct ps3_qos_pd_mgr *qos_pd_mgr)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1058 | void ps3_qos_pd_waitq_ratio_update(struct ps3_qos_pd_mgr *qos_pd_mgr)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:15: error: no previous prototype for function 'ps3_hba_qos_decision' [-Werror,-Wmissing-prototypes]
2019 | unsigned char ps3_hba_qos_decision(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2019 | unsigned char ps3_hba_qos_decision(struct ps3_cmd *cmd)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:6: error: no previous prototype for function 'ps3_hba_qos_waitq_notify' [-Werror,-Wmissing-prototypes]
2040 | void ps3_hba_qos_waitq_notify(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2040 | void ps3_hba_qos_waitq_notify(struct ps3_instance *instance)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:6: error: no previous prototype for function 'ps3_cmd_waitq_abort' [-Werror,-Wmissing-prototypes]
2100 | bool ps3_cmd_waitq_abort(struct ps3_cmd *aborted_cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2100 | bool ps3_cmd_waitq_abort(struct ps3_cmd *aborted_cmd)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:6: error: no previous prototype for function 'ps3_hba_qos_waitq_clear_all' [-Werror,-Wmissing-prototypes]
2463 | void ps3_hba_qos_waitq_clear_all(struct ps3_instance *instance, int resp_status)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2463 | void ps3_hba_qos_waitq_clear_all(struct ps3_instance *instance, int resp_status)
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:6: error: no previous prototype for function 'ps3_hba_qos_vd_init' [-Werror,-Wmissing-prototypes]
2827 | void ps3_hba_qos_vd_init(struct ps3_instance *instance,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2827 | void ps3_hba_qos_vd_init(struct ps3_instance *instance,
| ^
| static
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:6: error: no previous prototype for function 'ps3_hba_qos_vd_reset' [-Werror,-Wmissing-prototypes]
2936 | void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2936 | void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:3023:6: error: no previous prototype for function 'ps3_hba_qos_waitq_poll' [-Werror,-Wmissing-prototypes]
3023 | void ps3_hba_qos_waitq_poll(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3023:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3023 | void ps3_hba_qos_waitq_poll(struct ps3_instance *instance)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:3279:15: error: no previous prototype for function 'ps3_raid_qos_decision' [-Werror,-Wmissing-prototypes]
3279 | unsigned char ps3_raid_qos_decision(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3279:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3279 | unsigned char ps3_raid_qos_decision(struct ps3_cmd *cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:3334:6: error: no previous prototype for function 'ps3_qos_mgrq_resend' [-Werror,-Wmissing-prototypes]
3334 | void ps3_qos_mgrq_resend(struct ps3_qos_softq_mgr *softq_mgr)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3334:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3334 | void ps3_qos_mgrq_resend(struct ps3_qos_softq_mgr *softq_mgr)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:3478:6: error: no previous prototype for function 'ps3_raid_qos_waitq_notify' [-Werror,-Wmissing-prototypes]
3478 | void ps3_raid_qos_waitq_notify(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3478:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3478 | void ps3_raid_qos_waitq_notify(struct ps3_instance *instance)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:3821:15: error: no previous prototype for function 'ps3_raid_qos_waitq_abort' [-Werror,-Wmissing-prototypes]
3821 | unsigned char ps3_raid_qos_waitq_abort(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:3821:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
3821 | unsigned char ps3_raid_qos_waitq_abort(struct ps3_cmd *cmd)
| ^
| static
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
--
>> drivers/scsi/linkdata/ps3stor/ps3_scsih.c:1958:1: error: unused function 'ps3_scsih_dev_id_get' [-Werror,-Wunused-function]
1958 | ps3_scsih_dev_id_get(const struct scsi_cmnd *s_cmd)
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
--
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:21:27: error: unused variable 'PS3_INTERRUPT_CMD_DISABLE_ALL_MASK' [-Werror,-Wunused-const-variable]
21 | static const unsigned int PS3_INTERRUPT_CMD_DISABLE_ALL_MASK = 0x02;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:22:27: error: unused variable 'PS3_INTERRUPT_CMD_ENABLE_MSIX' [-Werror,-Wunused-const-variable]
22 | static const unsigned int PS3_INTERRUPT_CMD_ENABLE_MSIX = 0x01;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:23:27: error: unused variable 'PS3_INTERRUPT_MASK_DISABLE' [-Werror,-Wunused-const-variable]
23 | static const unsigned int PS3_INTERRUPT_MASK_DISABLE = 0x00000002;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:24:27: error: unused variable 'PS3_INTERRUPT_STATUS_EXIST_IRQ' [-Werror,-Wunused-const-variable]
24 | static const unsigned int PS3_INTERRUPT_STATUS_EXIST_IRQ = 0x00000001;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:25:27: error: unused variable 'PS3_INTERRUPT_CLEAR_IRQ' [-Werror,-Wunused-const-variable]
25 | static const unsigned int PS3_INTERRUPT_CLEAR_IRQ = 0x00000001;
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:27:27: error: unused variable 'PS3_SSD_IOPS_MSIX_VECTORS' [-Werror,-Wunused-const-variable]
27 | static const unsigned int PS3_SSD_IOPS_MSIX_VECTORS = 8;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_irq.c:28:27: error: unused variable 'PS3_HDD_IOPS_MSIX_VECTORS' [-Werror,-Wunused-const-variable]
28 | static const unsigned int PS3_HDD_IOPS_MSIX_VECTORS = 8;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
7 errors generated.
--
>> drivers/scsi/linkdata/ps3stor/./linux/ps3_driver_log.c:41:19: error: unused function 'time_for_log' [-Werror,-Wunused-function]
41 | static inline int time_for_log(char *buff, int buf_len)
| ^~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/./linux/ps3_driver_log.c:65:19: error: unused function 'time_for_file_name' [-Werror,-Wunused-function]
65 | static inline int time_for_file_name(char *buff, int buf_len)
| ^~~~~~~~~~~~~~~~~~
2 errors generated.
vim +/ps3_hba_qos_waitq_poll +3023 drivers/scsi/linkdata/ps3stor/ps3_qos.c
97a2bb6ece556f liujie_answer 2024-12-24 2935
97a2bb6ece556f liujie_answer 2024-12-24 @2936 void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id)
97a2bb6ece556f liujie_answer 2024-12-24 2937 {
97a2bb6ece556f liujie_answer 2024-12-24 2938 struct ps3_qos_vd_mgr *qos_vd_mgr = NULL;
97a2bb6ece556f liujie_answer 2024-12-24 2939
97a2bb6ece556f liujie_answer 2024-12-24 2940 qos_vd_mgr = ps3_qos_vd_mgr_get_by_id(instance, disk_id);
97a2bb6ece556f liujie_answer 2024-12-24 2941 qos_vd_mgr->valid = PS3_FALSE;
97a2bb6ece556f liujie_answer 2024-12-24 2942 }
97a2bb6ece556f liujie_answer 2024-12-24 2943
97a2bb6ece556f liujie_answer 2024-12-24 2944 void ps3_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id)
97a2bb6ece556f liujie_answer 2024-12-24 2945 {
97a2bb6ece556f liujie_answer 2024-12-24 2946 if (!PS3_QOS_INITED(instance))
97a2bb6ece556f liujie_answer 2024-12-24 2947 return;
97a2bb6ece556f liujie_answer 2024-12-24 2948
97a2bb6ece556f liujie_answer 2024-12-24 2949 if (instance->qos_context.opts.qos_vd_reset)
97a2bb6ece556f liujie_answer 2024-12-24 2950 instance->qos_context.opts.qos_vd_reset(instance, disk_id);
97a2bb6ece556f liujie_answer 2024-12-24 2951 }
97a2bb6ece556f liujie_answer 2024-12-24 2952
97a2bb6ece556f liujie_answer 2024-12-24 2953 static void ps3_qos_pd_notify_timeout(struct ps3_instance *instance)
97a2bb6ece556f liujie_answer 2024-12-24 2954 {
97a2bb6ece556f liujie_answer 2024-12-24 2955 struct ps3_qos_pd_context *qos_pd_ctx = NULL;
97a2bb6ece556f liujie_answer 2024-12-24 2956 unsigned short i = 0;
97a2bb6ece556f liujie_answer 2024-12-24 2957 struct ps3_qos_pd_mgr *qos_pd_mgr = NULL;
97a2bb6ece556f liujie_answer 2024-12-24 2958 unsigned long timeout_jiffies = 0;
97a2bb6ece556f liujie_answer 2024-12-24 2959
97a2bb6ece556f liujie_answer 2024-12-24 2960 qos_pd_ctx = &instance->qos_context.pd_ctx;
97a2bb6ece556f liujie_answer 2024-12-24 2961 for (i = 1; i <= instance->qos_context.max_pd_count; i++) {
97a2bb6ece556f liujie_answer 2024-12-24 2962 qos_pd_mgr = ps3_qos_pd_mgr_get(instance, i);
97a2bb6ece556f liujie_answer 2024-12-24 2963 timeout_jiffies = qos_pd_mgr->last_sched_jiffies +
97a2bb6ece556f liujie_answer 2024-12-24 2964 PS3_QOS_WAITQ_TIMEOUT * HZ;
97a2bb6ece556f liujie_answer 2024-12-24 2965 if (time_after(jiffies, timeout_jiffies)) {
97a2bb6ece556f liujie_answer 2024-12-24 2966 if (ps3_qos_single_pd_notify(qos_pd_ctx, qos_pd_mgr)) {
97a2bb6ece556f liujie_answer 2024-12-24 2967 LOG_INFO(
97a2bb6ece556f liujie_answer 2024-12-24 2968 "awake qos pd quota waitq by poll. host_no:%u vid:%u pid:%u\n",
97a2bb6ece556f liujie_answer 2024-12-24 2969 PS3_HOST(instance), qos_pd_mgr->vd_id,
97a2bb6ece556f liujie_answer 2024-12-24 2970 qos_pd_mgr->disk_id);
97a2bb6ece556f liujie_answer 2024-12-24 2971 }
97a2bb6ece556f liujie_answer 2024-12-24 2972 }
97a2bb6ece556f liujie_answer 2024-12-24 2973 }
97a2bb6ece556f liujie_answer 2024-12-24 2974 }
97a2bb6ece556f liujie_answer 2024-12-24 2975
97a2bb6ece556f liujie_answer 2024-12-24 2976 static unsigned char ps3_qos_vd_notify_timeout(struct ps3_instance *instance)
97a2bb6ece556f liujie_answer 2024-12-24 2977 {
97a2bb6ece556f liujie_answer 2024-12-24 2978 struct ps3_qos_vd_context *qos_vd_ctx = NULL;
97a2bb6ece556f liujie_answer 2024-12-24 2979 unsigned short i = 0;
97a2bb6ece556f liujie_answer 2024-12-24 2980 struct ps3_qos_vd_mgr *qos_vd_mgr = NULL;
97a2bb6ece556f liujie_answer 2024-12-24 2981 unsigned long timeout_jiffies = 0;
97a2bb6ece556f liujie_answer 2024-12-24 2982 unsigned char notified = PS3_FALSE;
97a2bb6ece556f liujie_answer 2024-12-24 2983
97a2bb6ece556f liujie_answer 2024-12-24 2984 for (i = 1; i <= instance->qos_context.max_vd_count; i++) {
97a2bb6ece556f liujie_answer 2024-12-24 2985 qos_vd_ctx = &instance->qos_context.vd_ctx;
97a2bb6ece556f liujie_answer 2024-12-24 2986 qos_vd_mgr = &qos_vd_ctx->qos_vd_mgrs[i];
97a2bb6ece556f liujie_answer 2024-12-24 2987 timeout_jiffies = qos_vd_mgr->last_sched_jiffies +
97a2bb6ece556f liujie_answer 2024-12-24 2988 PS3_QOS_WAITQ_TIMEOUT * HZ;
97a2bb6ece556f liujie_answer 2024-12-24 2989 if (time_after(jiffies, timeout_jiffies)) {
97a2bb6ece556f liujie_answer 2024-12-24 2990 if (ps3_qos_single_vd_notify(qos_vd_ctx, qos_vd_mgr)) {
97a2bb6ece556f liujie_answer 2024-12-24 2991 notified = PS3_TRUE;
97a2bb6ece556f liujie_answer 2024-12-24 2992 LOG_INFO(
97a2bb6ece556f liujie_answer 2024-12-24 2993 "awake qos vd quota waitq by poll. host_no:%u vid:%u\n",
97a2bb6ece556f liujie_answer 2024-12-24 2994 PS3_HOST(instance), qos_vd_mgr->id);
97a2bb6ece556f liujie_answer 2024-12-24 2995 }
97a2bb6ece556f liujie_answer 2024-12-24 2996 }
97a2bb6ece556f liujie_answer 2024-12-24 2997 }
97a2bb6ece556f liujie_answer 2024-12-24 2998
97a2bb6ece556f liujie_answer 2024-12-24 2999 return notified;
97a2bb6ece556f liujie_answer 2024-12-24 3000 }
97a2bb6ece556f liujie_answer 2024-12-24 3001
97a2bb6ece556f liujie_answer 2024-12-24 3002 static unsigned char ps3_qos_tg_notify_timeout(struct ps3_instance *instance)
97a2bb6ece556f liujie_answer 2024-12-24 3003 {
97a2bb6ece556f liujie_answer 2024-12-24 3004 struct ps3_qos_tg_context *qos_tg_ctx = NULL;
97a2bb6ece556f liujie_answer 2024-12-24 3005 unsigned char notified = PS3_FALSE;
97a2bb6ece556f liujie_answer 2024-12-24 3006 unsigned long timeout_jiffies = 0;
97a2bb6ece556f liujie_answer 2024-12-24 3007
97a2bb6ece556f liujie_answer 2024-12-24 3008 qos_tg_ctx = &instance->qos_context.tg_ctx;
97a2bb6ece556f liujie_answer 2024-12-24 3009 timeout_jiffies =
97a2bb6ece556f liujie_answer 2024-12-24 3010 qos_tg_ctx->last_sched_jiffies + PS3_QOS_WAITQ_TIMEOUT * HZ;
97a2bb6ece556f liujie_answer 2024-12-24 3011 if (qos_tg_ctx->total_wait_cmd_cnt &&
97a2bb6ece556f liujie_answer 2024-12-24 3012 ps3_qos_tag_rsc_available(instance) &&
97a2bb6ece556f liujie_answer 2024-12-24 3013 time_after(jiffies, timeout_jiffies)) {
97a2bb6ece556f liujie_answer 2024-12-24 3014 queue_work(qos_tg_ctx->work_queue, &qos_tg_ctx->resend_work);
97a2bb6ece556f liujie_answer 2024-12-24 3015 notified = PS3_TRUE;
97a2bb6ece556f liujie_answer 2024-12-24 3016 LOG_INFO("awake qos cmd waitq by poll. host_no:%u\n",
97a2bb6ece556f liujie_answer 2024-12-24 3017 PS3_HOST(instance));
97a2bb6ece556f liujie_answer 2024-12-24 3018 }
97a2bb6ece556f liujie_answer 2024-12-24 3019
97a2bb6ece556f liujie_answer 2024-12-24 3020 return notified;
97a2bb6ece556f liujie_answer 2024-12-24 3021 }
97a2bb6ece556f liujie_answer 2024-12-24 3022
97a2bb6ece556f liujie_answer 2024-12-24 @3023 void ps3_hba_qos_waitq_poll(struct ps3_instance *instance)
97a2bb6ece556f liujie_answer 2024-12-24 3024 {
97a2bb6ece556f liujie_answer 2024-12-24 3025 if (!ps3_qos_tg_notify_timeout(instance)) {
97a2bb6ece556f liujie_answer 2024-12-24 3026 if (!ps3_qos_vd_notify_timeout(instance))
97a2bb6ece556f liujie_answer 2024-12-24 3027 ps3_qos_pd_notify_timeout(instance);
97a2bb6ece556f liujie_answer 2024-12-24 3028 }
97a2bb6ece556f liujie_answer 2024-12-24 3029 }
97a2bb6ece556f liujie_answer 2024-12-24 3030
:::::: The code at line 3023 was first introduced by commit
:::::: 97a2bb6ece556f3882263ee8df2b77f10c511311 SCSI: Linkdata: Supports Linkdata HBA/RAID Controllers
:::::: TO: liujie_answer <liujie5(a)linkdatatechnology.com>
:::::: CC: liujie_answer <liujie5(a)linkdatatechnology.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3557/3557] drivers/irqchip/irq-gic-phytium-2500.c:1216:78: sparse: sparse: dubious: !x | !y
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 792b82446538ed840a6e23b89673ce21564702bd [3557/3557] Fix gic support for Phytium S2500
config: arm64-randconfig-r132-20251218 (https://download.01.org/0day-ci/archive/20251221/202512210813.VozNt0tS-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210813.VozNt0tS-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/202512210813.VozNt0tS-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/irqchip/irq-gic-phytium-2500.c:1216:78: sparse: sparse: dubious: !x | !y
>> drivers/irqchip/irq-gic-phytium-2500.c:302:29: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:327:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:454:24: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:479:24: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:266:24: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:767:24: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:1155:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:1156:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:1157:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:1409:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500.c:266:24: sparse: sparse: dereference of noderef expression
--
>> drivers/irqchip/irq-gic-phytium-2500-its.c:1479:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct raw_spinlock [usertype] *lock @@ got struct raw_spinlock [noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:1479:9: sparse: expected struct raw_spinlock [usertype] *lock
drivers/irqchip/irq-gic-phytium-2500-its.c:1479:9: sparse: got struct raw_spinlock [noderef] __percpu *
drivers/irqchip/irq-gic-phytium-2500-its.c:1485:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct raw_spinlock [usertype] *lock @@ got struct raw_spinlock [noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:1485:9: sparse: expected struct raw_spinlock [usertype] *lock
drivers/irqchip/irq-gic-phytium-2500-its.c:1485:9: sparse: got struct raw_spinlock [noderef] __percpu *
>> drivers/irqchip/irq-gic-phytium-2500-its.c:2934:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct cpumask [usertype] **mask @@ got struct cpumask [usertype] *[noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:2934:45: sparse: expected struct cpumask [usertype] **mask
drivers/irqchip/irq-gic-phytium-2500-its.c:2934:45: sparse: got struct cpumask [usertype] *[noderef] __percpu *
drivers/irqchip/irq-gic-phytium-2500-its.c:4281:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct raw_spinlock [usertype] *lock @@ got struct raw_spinlock [noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:4281:9: sparse: expected struct raw_spinlock [usertype] *lock
drivers/irqchip/irq-gic-phytium-2500-its.c:4281:9: sparse: got struct raw_spinlock [noderef] __percpu *
drivers/irqchip/irq-gic-phytium-2500-its.c:4286:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct raw_spinlock [usertype] *lock @@ got struct raw_spinlock [noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:4286:9: sparse: expected struct raw_spinlock [usertype] *lock
drivers/irqchip/irq-gic-phytium-2500-its.c:4286:9: sparse: got struct raw_spinlock [noderef] __percpu *
drivers/irqchip/irq-gic-phytium-2500-its.c:4421:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct raw_spinlock [usertype] *lock @@ got struct raw_spinlock [noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:4421:9: sparse: expected struct raw_spinlock [usertype] *lock
drivers/irqchip/irq-gic-phytium-2500-its.c:4421:9: sparse: got struct raw_spinlock [noderef] __percpu *
drivers/irqchip/irq-gic-phytium-2500-its.c:4439:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct raw_spinlock [usertype] *lock @@ got struct raw_spinlock [noderef] __percpu * @@
drivers/irqchip/irq-gic-phytium-2500-its.c:4439:9: sparse: expected struct raw_spinlock [usertype] *lock
drivers/irqchip/irq-gic-phytium-2500-its.c:4439:9: sparse: got struct raw_spinlock [noderef] __percpu *
drivers/irqchip/irq-gic-phytium-2500-its.c: note: in included file (through include/linux/spinlock.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
include/linux/spinlock_api_smp.h:111:9: sparse: sparse: context imbalance in 'vpe_to_cpuid_lock' - wrong count at exit
drivers/irqchip/irq-gic-phytium-2500-its.c:284:13: sparse: sparse: context imbalance in 'vpe_to_cpuid_unlock' - unexpected unlock
>> drivers/irqchip/irq-gic-phytium-2500-its.c:1481:18: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2337:23: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2337:23: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2751:15: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2751:15: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2772:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2806:15: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2806:15: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2810:38: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2828:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2828:49: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2829:25: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2839:30: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2882:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2909:35: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2938:9: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:2939:14: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3009:9: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3021:45: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3021:45: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3023:9: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3078:15: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3078:15: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3093:29: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3093:29: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3118:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3156:31: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3161:13: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3180:17: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3185:21: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3244:43: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3279:9: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3280:9: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3318:26: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3321:26: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3321:26: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3919:26: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3968:13: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3969:36: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3969:36: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3984:35: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:3998:35: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:4030:35: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:4140:26: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:4220:35: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:4235:35: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:4282:18: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:4422:16: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:5309:19: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:5309:19: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:5314:31: sparse: sparse: dereference of noderef expression
drivers/irqchip/irq-gic-phytium-2500-its.c:5334:14: sparse: sparse: dereference of noderef expression
vim +1216 drivers/irqchip/irq-gic-phytium-2500.c
ade50f9f855e6a Li Yuting 2024-01-17 1181
ade50f9f855e6a Li Yuting 2024-01-17 1182 static int __gic_update_rdist_properties(struct redist_region *region,
ade50f9f855e6a Li Yuting 2024-01-17 1183 void __iomem *ptr)
ade50f9f855e6a Li Yuting 2024-01-17 1184 {
ade50f9f855e6a Li Yuting 2024-01-17 1185 u64 typer = gic_read_typer(ptr + GICR_TYPER);
ade50f9f855e6a Li Yuting 2024-01-17 1186 u32 ctlr = readl_relaxed(ptr + GICR_CTLR);
ade50f9f855e6a Li Yuting 2024-01-17 1187
ade50f9f855e6a Li Yuting 2024-01-17 1188 /* Boot-time cleanup */
ade50f9f855e6a Li Yuting 2024-01-17 1189 if ((typer & GICR_TYPER_VLPIS) && (typer & GICR_TYPER_RVPEID)) {
ade50f9f855e6a Li Yuting 2024-01-17 1190 u64 val;
ade50f9f855e6a Li Yuting 2024-01-17 1191
ade50f9f855e6a Li Yuting 2024-01-17 1192 /* Deactivate any present vPE */
ade50f9f855e6a Li Yuting 2024-01-17 1193 val = gicr_read_vpendbaser(ptr + SZ_128K + GICR_VPENDBASER);
ade50f9f855e6a Li Yuting 2024-01-17 1194 if (val & GICR_VPENDBASER_Valid)
ade50f9f855e6a Li Yuting 2024-01-17 1195 gicr_write_vpendbaser(GICR_VPENDBASER_PendingLast,
ade50f9f855e6a Li Yuting 2024-01-17 1196 ptr + SZ_128K + GICR_VPENDBASER);
ade50f9f855e6a Li Yuting 2024-01-17 1197
ade50f9f855e6a Li Yuting 2024-01-17 1198 /* Mark the VPE table as invalid */
ade50f9f855e6a Li Yuting 2024-01-17 1199 val = gicr_read_vpropbaser(ptr + SZ_128K + GICR_VPROPBASER);
ade50f9f855e6a Li Yuting 2024-01-17 1200 val &= ~GICR_VPROPBASER_4_1_VALID;
ade50f9f855e6a Li Yuting 2024-01-17 1201 gicr_write_vpropbaser(val, ptr + SZ_128K + GICR_VPROPBASER);
ade50f9f855e6a Li Yuting 2024-01-17 1202 }
ade50f9f855e6a Li Yuting 2024-01-17 1203
ade50f9f855e6a Li Yuting 2024-01-17 1204 gic_data.rdists.has_vlpis &= !!(typer & GICR_TYPER_VLPIS);
ade50f9f855e6a Li Yuting 2024-01-17 1205
ade50f9f855e6a Li Yuting 2024-01-17 1206 /*
ade50f9f855e6a Li Yuting 2024-01-17 1207 * TYPER.RVPEID implies some form of DirectLPI, no matter what the
ade50f9f855e6a Li Yuting 2024-01-17 1208 * doc says... :-/ And CTLR.IR implies another subset of DirectLPI
ade50f9f855e6a Li Yuting 2024-01-17 1209 * that the ITS driver can make use of for LPIs (and not VLPIs).
ade50f9f855e6a Li Yuting 2024-01-17 1210 *
ade50f9f855e6a Li Yuting 2024-01-17 1211 * These are 3 different ways to express the same thing, depending
ade50f9f855e6a Li Yuting 2024-01-17 1212 * on the revision of the architecture and its relaxations over
ade50f9f855e6a Li Yuting 2024-01-17 1213 * time. Just group them under the 'direct_lpi' banner.
ade50f9f855e6a Li Yuting 2024-01-17 1214 */
ade50f9f855e6a Li Yuting 2024-01-17 1215 gic_data.rdists.has_rvpeid &= !!(typer & GICR_TYPER_RVPEID);
ade50f9f855e6a Li Yuting 2024-01-17 @1216 gic_data.rdists.has_direct_lpi &= (!!(typer & GICR_TYPER_DirectLPIS) |
ade50f9f855e6a Li Yuting 2024-01-17 1217 !!(ctlr & GICR_CTLR_IR) |
ade50f9f855e6a Li Yuting 2024-01-17 1218 gic_data.rdists.has_rvpeid);
ade50f9f855e6a Li Yuting 2024-01-17 1219 gic_data.rdists.has_vpend_valid_dirty &= !!(typer & GICR_TYPER_DIRTY);
ade50f9f855e6a Li Yuting 2024-01-17 1220
ade50f9f855e6a Li Yuting 2024-01-17 1221 /* Detect non-sensical configurations */
ade50f9f855e6a Li Yuting 2024-01-17 1222 if (WARN_ON_ONCE(gic_data.rdists.has_rvpeid && !gic_data.rdists.has_vlpis)) {
ade50f9f855e6a Li Yuting 2024-01-17 1223 gic_data.rdists.has_direct_lpi = false;
ade50f9f855e6a Li Yuting 2024-01-17 1224 gic_data.rdists.has_vlpis = false;
ade50f9f855e6a Li Yuting 2024-01-17 1225 gic_data.rdists.has_rvpeid = false;
ade50f9f855e6a Li Yuting 2024-01-17 1226 }
ade50f9f855e6a Li Yuting 2024-01-17 1227
ade50f9f855e6a Li Yuting 2024-01-17 1228 gic_data.ppi_nr = min(GICR_TYPER_NR_PPIS(typer), gic_data.ppi_nr);
ade50f9f855e6a Li Yuting 2024-01-17 1229
ade50f9f855e6a Li Yuting 2024-01-17 1230 return 1;
ade50f9f855e6a Li Yuting 2024-01-17 1231 }
ade50f9f855e6a Li Yuting 2024-01-17 1232
:::::: The code at line 1216 was first introduced by commit
:::::: ade50f9f855e6afd85e65b6b036a1bb948d4dfff Add gic support for Phytium S2500
:::::: TO: Li Yuting <liyuting2071(a)phytium.com.cn>
:::::: CC: Li Yuting <liyuting2071(a)phytium.com.cn>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3544/3544] arch/arm64/kvm/arm.c:569:5: warning: no previous prototype for 'kvm_arch_rec_init'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Hou,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: fa36fa3469d2461c1887e823371059401941ae8a [3544/3544] CCA: Fix cca kabi conflict
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251221/202512210513.adq7k77G-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210513.adq7k77G-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/202512210513.adq7k77G-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/arm.c:569:5: warning: no previous prototype for 'kvm_arch_rec_init' [-Wmissing-prototypes]
569 | int kvm_arch_rec_init(struct kvm_vcpu_arch *vcpu_arch)
| ^~~~~~~~~~~~~~~~~
In file included from arch/arm64/kvm/arm.c:52:
arch/arm64/kvm/hisilicon/hisi_virt.h:116:13: warning: 'hisi_ipiv_enable_per_vm' defined but not used [-Wunused-function]
116 | static void hisi_ipiv_enable_per_vm(struct kvm_vcpu *vcpu) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kvm/hisilicon/hisi_virt.h:112:13: warning: 'hisi_ipiv_supported_per_vm' defined but not used [-Wunused-function]
112 | static bool hisi_ipiv_supported_per_vm(struct kvm_vcpu *vcpu)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/kvm_arch_rec_init +569 arch/arm64/kvm/arm.c
568
> 569 int kvm_arch_rec_init(struct kvm_vcpu_arch *vcpu_arch)
570 {
571 struct realm_rec *rec;
572
573 rec = kzalloc(sizeof(struct realm_rec), GFP_KERNEL_ACCOUNT);
574 if (!rec)
575 return -ENOMEM;
576 rec->mpidr = INVALID_HWID;
577 vcpu_arch->rec = rec;
578 return 0;
579 }
580
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for RESCTRL_FS when selected by ARM64_MPAM
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: c5a4bf91167c714de74c47f5cd6d888c66e9860d [1/1] arm64: mpam: Select ARCH_HAS_CPU_RESCTRL
config: arm64-kismet-CONFIG_RESCTRL_FS-CONFIG_ARM64_MPAM-0-0 (https://download.01.org/0day-ci/archive/20251220/202512202217.vP7L1WOs-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512202217.vP7L1WOs-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/202512202217.vP7L1WOs-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for RESCTRL_FS when selected by ARM64_MPAM
WARNING: unmet direct dependencies detected for RESCTRL_FS
Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
Selected by [y]:
- ARM64_MPAM [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3542/3542] drivers/i2c/busses/i2c-zhaoxin.c:176:5: warning: no previous prototype for function 'zxi2c_fifo_irq_xfer'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi leoliu-oc,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 07a6747f952bd8a1ee87d6f5d74448c64fbb152e [3542/3542] i2c: zhaoxin: Add support for Zhaoxin I2C controller
config: x86_64-randconfig-012-20251215 (https://download.01.org/0day-ci/archive/20251221/202512211025.4cSwOTdS-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512211025.4cSwOTdS-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/202512211025.4cSwOTdS-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/i2c/busses/i2c-zhaoxin.c:12:
In file included from include/linux/i2c.h:19:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:20:
In file included from include/linux/mm.h:2235:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/i2c/busses/i2c-zhaoxin.c:176:5: warning: no previous prototype for function 'zxi2c_fifo_irq_xfer' [-Wmissing-prototypes]
176 | int zxi2c_fifo_irq_xfer(struct zxi2c *i2c, bool irq)
| ^
drivers/i2c/busses/i2c-zhaoxin.c:176:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
176 | int zxi2c_fifo_irq_xfer(struct zxi2c *i2c, bool irq)
| ^
| static
>> drivers/i2c/busses/i2c-zhaoxin.c:314:5: warning: no previous prototype for function 'zxi2c_xfer' [-Wmissing-prototypes]
314 | int zxi2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
| ^
drivers/i2c/busses/i2c-zhaoxin.c:314:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
314 | int zxi2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
| ^
| static
drivers/i2c/busses/i2c-zhaoxin.c:540:12: warning: unused function 'zxi2c_resume' [-Wunused-function]
540 | static int zxi2c_resume(struct device *dev)
| ^~~~~~~~~~~~
4 warnings generated.
vim +/zxi2c_fifo_irq_xfer +176 drivers/i2c/busses/i2c-zhaoxin.c
174
175 /* 'irq == true' means in interrupt context */
> 176 int zxi2c_fifo_irq_xfer(struct zxi2c *i2c, bool irq)
177 {
178 u16 i;
179 u8 tmp;
180 struct i2c_msg *msg = i2c->msg;
181 void __iomem *base = i2c->base;
182 bool read = !!(msg->flags & I2C_M_RD);
183
184 if (irq) {
185 /* get the received data */
186 if (read)
187 for (i = 0; i < i2c->xfer_len; i++)
188 msg->buf[i2c->xfered_len + i] = ioread8(base + ZXI2C_REG_HRDR);
189
190 i2c->xfered_len += i2c->xfer_len;
191 if (i2c->xfered_len == msg->len)
192 return 1;
193 }
194
195 /* reset fifo buffer */
196 tmp = ioread8(base + ZXI2C_REG_HCR);
197 iowrite8(tmp | ZXI2C_HCR_RST_FIFO, base + ZXI2C_REG_HCR);
198
199 /* set xfer len */
200 i2c->xfer_len = min_t(u16, msg->len - i2c->xfered_len, ZXI2C_FIFO_SIZE);
201 if (read) {
202 iowrite8(i2c->xfer_len - 1, base + ZXI2C_REG_HRLR);
203 } else {
204 iowrite8(i2c->xfer_len - 1, base + ZXI2C_REG_HTLR);
205 /* set write data */
206 for (i = 0; i < i2c->xfer_len; i++)
207 iowrite8(msg->buf[i2c->xfered_len + i], base + ZXI2C_REG_HTDR);
208 }
209
210 /* prepare to stop transmission */
211 if (i2c->hrv && msg->len == (i2c->xfered_len + i2c->xfer_len)) {
212 tmp = ioread8(base + ZXI2C_REG_CR);
213 tmp |= read ? ZXI2C_CR_RX_END : ZXI2C_CR_TX_END;
214 iowrite8(tmp, base + ZXI2C_REG_CR);
215 }
216
217 if (irq) {
218 /* continue transmission */
219 tmp = ioread8(base + ZXI2C_REG_CR);
220 iowrite8(tmp |= ZXI2C_CR_CPU_RDY, base + ZXI2C_REG_CR);
221 } else {
222 u16 tcr_val = i2c->tcr;
223
224 /* start transmission */
225 tcr_val |= read ? ZXI2C_TCR_READ : 0;
226 writew(tcr_val | msg->addr, base + ZXI2C_REG_TCR);
227 }
228
229 return 0;
230 }
231
232 static irqreturn_t zxi2c_isr(int irq, void *data)
233 {
234 struct zxi2c *i2c = data;
235 void __iomem *base = i2c->base;
236 u8 status;
237
238 /* save the status and write-clear it */
239 status = readw(base + ZXI2C_REG_ISR);
240 if (!status)
241 return IRQ_NONE;
242
243 writew(status, base + ZXI2C_REG_ISR);
244
245 i2c->ret = 0;
246 if (status & ZXI2C_ISR_NACK_ADDR)
247 i2c->ret = -EIO;
248
249 if (!i2c->ret) {
250 if (i2c->mode == ZXI2C_BYTE_MODE)
251 i2c->ret = zxi2c_irq_xfer(i2c);
252 else
253 i2c->ret = zxi2c_fifo_irq_xfer(i2c, true);
254 }
255
256 if (i2c->ret)
257 complete(&i2c->complete);
258
259 return IRQ_HANDLED;
260 }
261
262 static int zxi2c_write(struct zxi2c *i2c, struct i2c_msg *msg, int last)
263 {
264 u16 tcr_val = i2c->tcr;
265 void __iomem *base = i2c->base;
266
267 i2c->last = last;
268
269 writew(msg->buf[0] & 0xFF, base + ZXI2C_REG_CDR);
270
271 reinit_completion(&i2c->complete);
272
273 tcr_val |= msg->addr & 0x7f;
274
275 writew(tcr_val, base + ZXI2C_REG_TCR);
276
277 if (!wait_for_completion_timeout(&i2c->complete, ZXI2C_TIMEOUT))
278 return -ETIMEDOUT;
279
280 return i2c->ret;
281 }
282
283 static int zxi2c_read(struct zxi2c *i2c, struct i2c_msg *msg, bool first)
284 {
285 u16 val, tcr_val = i2c->tcr;
286 void __iomem *base = i2c->base;
287
288 val = readw(base + ZXI2C_REG_CR);
289 val &= ~(ZXI2C_CR_TX_END | ZXI2C_CR_RX_END);
290
291 if (msg->len == 1)
292 val |= ZXI2C_CR_RX_END;
293
294 writew(val, base + ZXI2C_REG_CR);
295
296 reinit_completion(&i2c->complete);
297
298 tcr_val |= ZXI2C_TCR_READ | (msg->addr & 0x7f);
299
300 writew(tcr_val, base + ZXI2C_REG_TCR);
301
302 if (!first) {
303 val = readw(base + ZXI2C_REG_CR);
304 val |= ZXI2C_CR_CPU_RDY;
305 writew(val, base + ZXI2C_REG_CR);
306 }
307
308 if (!wait_for_completion_timeout(&i2c->complete, ZXI2C_TIMEOUT))
309 return -ETIMEDOUT;
310
311 return i2c->ret;
312 }
313
> 314 int zxi2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
315 {
316 struct i2c_msg *msg;
317 int i;
318 int ret = 0;
319 struct zxi2c *i2c = i2c_get_adapdata(adap);
320
321 i2c->mode = ZXI2C_BYTE_MODE;
322 for (i = 0; ret >= 0 && i < num; i++) {
323 i2c->msg = msg = &msgs[i];
324 i2c->xfered_len = 0;
325 if (msg->len == 0)
326 return -EIO;
327
328 if (msg->flags & I2C_M_RD)
329 ret = zxi2c_read(i2c, msg, i == 0);
330 else
331 ret = zxi2c_write(i2c, msg, (i + 1) == num);
332 }
333
334 return (ret < 0) ? ret : i;
335 }
336
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-5.10 3418/3418] drivers/net/ethernet/linkdata/sxe/sxepf/sxe_main.c:48: warning: Excess function parameter 'file' description in 'SXE_MSG_LEVEL_DEFAULT'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi liujie_answer,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 1588d318a9e388d05b6cf5e2a63134c8beb6a355
commit: 3c27aa8f615da8e36e1dc802839c98702187757c [3418/3418] Linkdata:net:fix sxe compile errors 'sxe_resume' defined but not used
config: arm64-randconfig-001-20251217 (https://download.01.org/0day-ci/archive/20251221/202512210525.8hRRLO09-lkp@…)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210525.8hRRLO09-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/202512210525.8hRRLO09-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/linkdata/sxe/sxepf/sxe_main.c:48: warning: Excess function parameter 'file' description in 'SXE_MSG_LEVEL_DEFAULT'
>> drivers/net/ethernet/linkdata/sxe/sxepf/sxe_main.c:48: warning: Excess function parameter 'author' description in 'SXE_MSG_LEVEL_DEFAULT'
>> drivers/net/ethernet/linkdata/sxe/sxepf/sxe_main.c:48: warning: Excess function parameter 'date' description in 'SXE_MSG_LEVEL_DEFAULT'
vim +48 drivers/net/ethernet/linkdata/sxe/sxepf/sxe_main.c
8cee206b555824 liujie_answer 2025-04-01 47
8cee206b555824 liujie_answer 2025-04-01 @48 #define SXE_MSG_LEVEL_DEFAULT (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK)
8cee206b555824 liujie_answer 2025-04-01 49
:::::: The code at line 48 was first introduced by commit
:::::: 8cee206b5558245197158bd20895f95cc28d8468 Ethernet: Linkdata: Supports Linkdata ethernet Controllers
:::::: TO: liujie_answer <liujie5(a)linkdatatechnology.com>
:::::: CC: liujie_answer <liujie5(a)linkdatatechnology.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3544/3544] arch/arm64/kvm/cca_base.c:52:6: warning: no previous prototype for 'set_cca_cvm_type'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Yang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 419da4d196ffa97d1430d017d1b36348fea395e5 [3544/3544] VirtCCA: Add CCA base operations.
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251221/202512210402.xNA4HhAd-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210402.xNA4HhAd-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/202512210402.xNA4HhAd-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/cca_base.c:52:6: warning: no previous prototype for 'set_cca_cvm_type' [-Wmissing-prototypes]
52 | void set_cca_cvm_type(int type)
| ^~~~~~~~~~~~~~~~
vim +/set_cca_cvm_type +52 arch/arm64/kvm/cca_base.c
51
> 52 void set_cca_cvm_type(int type)
53 {
54 cca_cvm_type = type;
55 }
56 EXPORT_SYMBOL_GPL(set_cca_cvm_type);
57
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for PFN_RANGE_ALLOC when selected by OBMM
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: b2b4a358c0963806835f9a6ff96c2e34d1543216 [1/1] obmm: Add Ownership Based Memory Management framework
config: arm64-kismet-CONFIG_PFN_RANGE_ALLOC-CONFIG_OBMM-0-0 (https://download.01.org/0day-ci/archive/20251220/202512202153.48eS6EBE-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512202153.48eS6EBE-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/202512202153.48eS6EBE-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for PFN_RANGE_ALLOC when selected by OBMM
WARNING: unmet direct dependencies detected for PFN_RANGE_ALLOC
Depends on [n]: MEMORY_HOTPLUG [=n]
Selected by [y]:
- OBMM [=y] && UB [=y] && UB_UMMU_CORE [=y] && UB_UBUS [=y] && HISI_SOC_CACHE [=y]
WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING
Depends on [n]: ARM_SPE_PMU [=n]
Selected by [y]:
- MEM_SAMPLING [=y] && ARM64 [=y]
WARNING: unmet direct dependencies detected for ARCH_SUPPORTS_SCHED_SOFT_QUOTA
Depends on [n]: CGROUPS [=n]
Selected by [y]:
- ARM64 [=y]
WARNING: unmet direct dependencies detected for NUMA_REMOTE
Depends on [n]: NUMA [=y] && ARM64 [=y] && ARM64_4K_PAGES [=y] && SPARSEMEM_VMEMMAP [=y] && ZONE_EXTMEM [=n]
Selected by [y]:
- OBMM [=y] && UB [=y] && UB_UMMU_CORE [=y] && UB_UBUS [=y] && HISI_SOC_CACHE [=y]
WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE
Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y]
Selected by [y]:
- ARM64 [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1860:22: warning: assignment to 'int (*)(struct pci_dev *)' from 'int' makes pointer from integer without a cast
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 0bf0c942a09ba92e1d22e6960464b628dd4408fa [3547/3547] net/hinic3: Synchronize new NIC features and bug fixes
config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210450.P2GW20wS-lkp@…)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210450.P2GW20wS-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/202512210450.P2GW20wS-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:108:6: warning: no previous prototype for 'hinic3_uld_lock_init' [-Wmissing-prototypes]
108 | void hinic3_uld_lock_init(void)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:526:5: warning: no previous prototype for 'hinic3_pdev_is_virtfn' [-Wmissing-prototypes]
526 | u32 hinic3_pdev_is_virtfn(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:788:5: warning: no previous prototype for '__set_vroce_func_state' [-Wmissing-prototypes]
788 | int __set_vroce_func_state(struct hinic3_pcidev *pci_adapter)
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:831:6: warning: no previous prototype for 'slave_host_mgmt_vroce_work' [-Wmissing-prototypes]
831 | void slave_host_mgmt_vroce_work(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:841:7: warning: no previous prototype for 'hinic3_get_roce_uld_by_pdev' [-Wmissing-prototypes]
841 | void *hinic3_get_roce_uld_by_pdev(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1784:6: warning: no previous prototype for 'hinic3_set_func_state' [-Wmissing-prototypes]
1784 | void hinic3_set_func_state(struct hinic3_pcidev *pci_adapter)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1810:6: warning: no previous prototype for 'slave_host_mgmt_work' [-Wmissing-prototypes]
1810 | void slave_host_mgmt_work(struct work_struct *work)
| ^~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c: In function 'slave_host_vfio_probe_delay_work':
>> drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1860:24: error: implicit declaration of function '__symbol_get'; did you mean 'symbol_get'? [-Werror=implicit-function-declaration]
1860 | dev_migration_probe = __symbol_get("migration_dev_migration_probe");
| ^~~~~~~~~~~~
| symbol_get
>> drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1860:22: warning: assignment to 'int (*)(struct pci_dev *)' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1860 | dev_migration_probe = __symbol_get("migration_dev_migration_probe");
| ^
>> drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1869:3: error: implicit declaration of function '__symbol_put'; did you mean 'symbol_put'? [-Werror=implicit-function-declaration]
1869 | __symbol_put("migration_dev_migration_probe");
| ^~~~~~~~~~~~
| symbol_put
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c: In function 'slave_host_migration_vf_add_delay_work':
drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c:1925:23: warning: assignment to 'int (*)(struct pci_dev *)' from 'int' makes pointer from integer without a cast [-Wint-conversion]
1925 | migration_dev_add_vf = __symbol_get("migration_dev_add_vf");
| ^
cc1: some warnings being treated as errors
--
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:621:6: warning: no previous prototype for 'print_port_info' [-Wmissing-prototypes]
621 | void print_port_info(struct hinic3_nic_io *nic_io,
| ^~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:803:6: warning: no previous prototype for 'hinic3_notify_vf_bond_status' [-Wmissing-prototypes]
803 | void hinic3_notify_vf_bond_status(struct hinic3_nic_io *nic_io,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:833:6: warning: no previous prototype for 'hinic3_notify_all_vfs_bond_changed' [-Wmissing-prototypes]
833 | void hinic3_notify_all_vfs_bond_changed(void *hwdev, u8 bond_status)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:1671:5: warning: no previous prototype for 'set_fecparam' [-Wmissing-prototypes]
1671 | int set_fecparam(void *hwdev, u8 fecparam)
| ^~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:1699:5: warning: no previous prototype for 'get_fecparam' [-Wmissing-prototypes]
1699 | int get_fecparam(void *hwdev, u8 *advertised_fec, u8 *supported_fec)
| ^~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c: In function 'get_port_temperature_power.isra':
>> drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:548:38: warning: ', rx power: ' directive output may be truncated writing 12 bytes into a region of size between 1 and 512 [-Wformat-truncation=]
548 | snprintf(str, CAP_INFO_MAX_LEN, "%s, rx power: %uuW, tx power: %uuW",
| ^~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:548:3: note: 'snprintf' output between 31 and 560 bytes into a destination of size 512
548 | snprintf(str, CAP_INFO_MAX_LEN, "%s, rx power: %uuW, tx power: %uuW",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
549 | cap_info, info->power[0x0], info->power[0x1]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:544:39: warning: ', rx power: ' directive output may be truncated writing 12 bytes into a region of size between 1 and 512 [-Wformat-truncation=]
544 | snprintf(str, CAP_INFO_MAX_LEN, "%s, rx power: %uuw %uuW %uuW %uuW",
| ^~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/hinic3_mag_cfg.c:544:3: note: 'snprintf' output between 28 and 575 bytes into a destination of size 512
544 | snprintf(str, CAP_INFO_MAX_LEN, "%s, rx power: %uuw %uuW %uuW %uuW",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
545 | cap_info, info->power[0x0], info->power[0x1],
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
546 | info->power[0x2], info->power[0x3]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
Depends on [n]: NET [=y] && POSIX_TIMERS [=n]
Selected by [y]:
- SXE [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 || ARM64 [=y]) && PCI [=y]
- SXE_VF [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 || ARM64 [=y]) && PCI [=y]
vim +1860 drivers/net/ethernet/huawei/hinic3/hw/hinic3_lld.c
1847
1848 static void slave_host_vfio_probe_delay_work(struct work_struct *work)
1849 {
1850 struct delayed_work *delay = to_delayed_work(work);
1851 struct hinic3_pcidev *pci_adapter = container_of(delay, struct hinic3_pcidev,
1852 migration_probe_dwork);
1853 struct pci_dev *pdev = pci_adapter->pcidev;
1854 int (*dev_migration_probe)(struct pci_dev *pdev);
1855 int rc;
1856
1857 if (hinic3_func_type((struct hinic3_hwdev *)pci_adapter->hwdev) != TYPE_PF)
1858 return;
1859
> 1860 dev_migration_probe = __symbol_get("migration_dev_migration_probe");
1861 if (!(dev_migration_probe)) {
1862 sdk_err(&pdev->dev,
1863 "Failed to find: migration_dev_migration_probe");
1864 queue_delayed_work(pci_adapter->migration_probe_workq,
1865 &pci_adapter->migration_probe_dwork,
1866 WAIT_TIME * HZ);
1867 } else {
1868 rc = dev_migration_probe(pdev);
> 1869 __symbol_put("migration_dev_migration_probe");
1870 if (rc) {
1871 sdk_err(&pdev->dev,
1872 "Failed to __dev_migration_probe, rc:0x%x, pf migrated(%d).\n",
1873 rc, g_is_pf_migrated);
1874 } else {
1875 g_is_pf_migrated = true;
1876 sdk_info(&pdev->dev,
1877 "Succeeded in __dev_migration_probe, pf migrated(%d).\n",
1878 g_is_pf_migrated);
1879 }
1880 }
1881 }
1882
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3542/3542] drivers/crypto/ccp/hygon/vpsp.c:1055:5: warning: no previous prototype for function 'vpsp_do_cmd'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: e2861aaa47961017ada7f66de11104bbf3b85eb1 [3542/3542] crypto: ccp: move vpsp-related functions to vpsp.c
config: x86_64-randconfig-012-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210938.tNGRHg5O-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210938.tNGRHg5O-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/202512210938.tNGRHg5O-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/crypto/ccp/hygon/vpsp.c:589:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission' [-Wmissing-prototypes]
589 | void vpsp_set_default_vid_permission(uint32_t is_allow)
| ^
drivers/crypto/ccp/hygon/vpsp.c:589:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
589 | void vpsp_set_default_vid_permission(uint32_t is_allow)
| ^
| static
>> drivers/crypto/ccp/hygon/vpsp.c:1055:5: warning: no previous prototype for function 'vpsp_do_cmd' [-Wmissing-prototypes]
1055 | int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret)
| ^
drivers/crypto/ccp/hygon/vpsp.c:1055:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1055 | int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret)
| ^
| static
2 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
Depends on [n]: NET [=y] && POSIX_TIMERS [=n]
Selected by [m]:
- SXE [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y]
- SXE_VF [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y]
vim +/vpsp_do_cmd +1055 drivers/crypto/ccp/hygon/vpsp.c
1054
> 1055 int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret)
1056 {
1057 int rc;
1058 int mutex_enabled = READ_ONCE(hygon_psp_hooks.psp_mutex_enabled);
1059
1060 if (!hygon_psp_hooks.sev_dev_hooks_installed)
1061 return -ENODEV;
1062
1063 if (mutex_enabled) {
1064 if (psp_mutex_lock_timeout(&hygon_psp_hooks.psp_misc->data_pg_aligned->mb_mutex,
1065 PSP_MUTEX_TIMEOUT) != 1) {
1066 return -EBUSY;
1067 }
1068 } else {
1069 mutex_lock(hygon_psp_hooks.sev_cmd_mutex);
1070 }
1071
1072 rc = __vpsp_do_cmd_locked(cmd, phy_addr, psp_ret);
1073
1074 if (mutex_enabled)
1075 psp_mutex_unlock(&hygon_psp_hooks.psp_misc->data_pg_aligned->mb_mutex);
1076 else
1077 mutex_unlock(hygon_psp_hooks.sev_cmd_mutex);
1078
1079 return rc;
1080 }
1081
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3560/3560] drivers/crypto/ccp/hygon/ccp-mdev.c:1144:15: warning: no previous prototype for function 'ccp_pin_memory'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 592817a30ddc0ef43c7f5b5fe906ae37cf3bea3b [3560/3560] crypto: ccp: add ccp-mdev functionality to the ccp module.
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251221/202512210422.Gfg4tcZV-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210422.Gfg4tcZV-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/202512210422.Gfg4tcZV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/crypto/ccp/hygon/ccp-mdev.c:1144:15: warning: no previous prototype for function 'ccp_pin_memory' [-Wmissing-prototypes]
1144 | struct page **ccp_pin_memory(struct ccp_private *private, unsigned long uaddr,
| ^
drivers/crypto/ccp/hygon/ccp-mdev.c:1144:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1144 | struct page **ccp_pin_memory(struct ccp_private *private, unsigned long uaddr,
| ^
| static
1 warning generated.
vim +/ccp_pin_memory +1144 drivers/crypto/ccp/hygon/ccp-mdev.c
1143
> 1144 struct page **ccp_pin_memory(struct ccp_private *private, unsigned long uaddr,
1145 unsigned long ulen, unsigned long *n)
1146 {
1147 struct page **pages;
1148 unsigned long npages, size;
1149 unsigned long first, last;
1150 int npinned;
1151
1152 if (ulen == 0 || uaddr + ulen < uaddr)
1153 return NULL;
1154
1155 first = (uaddr & PAGE_MASK) >> PAGE_SHIFT;
1156 last = ((uaddr + ulen - 1) & PAGE_MASK) >> PAGE_SHIFT;
1157 npages = (last - first + 1);
1158
1159 if (WARN_ON_ONCE(npages > INT_MAX))
1160 return NULL;
1161
1162 size = npages * sizeof(struct page *);
1163 if (size > PAGE_SIZE)
1164 pages = vmalloc(size);
1165 else
1166 pages = kmalloc(size, GFP_KERNEL);
1167
1168 if (!pages)
1169 return NULL;
1170
1171 /* Pin the user virtual address. */
1172 npinned = pin_user_pages_fast(uaddr, npages, FOLL_WRITE, pages);
1173 if (npinned != npages)
1174 goto err;
1175
1176 *n = npages;
1177 return pages;
1178
1179 err:
1180 if (npinned > 0)
1181 unpin_user_pages(pages, npinned);
1182 kvfree(pages);
1183 return NULL;
1184 }
1185
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3557/3557] drivers/platform/mpam/mpam_resctrl.c:25:1: sparse: sparse: symbol 'resctrl_mon_ctx_waiters' was not declared. Should it be static?
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 9119da1439390ea4f29a0635652248aa3c2040f0 [3557/3557] arm_mpam: resctrl: Allow resctrl to allocate monitors
config: arm64-randconfig-r132-20251218 (https://download.01.org/0day-ci/archive/20251221/202512210339.nHxRhG7l-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210339.nHxRhG7l-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/202512210339.nHxRhG7l-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/platform/mpam/mpam_resctrl.c:25:1: sparse: sparse: symbol 'resctrl_mon_ctx_waiters' was not declared. Should it be static?
>> drivers/platform/mpam/mpam_resctrl.c:45:5: sparse: sparse: symbol '__mon_is_rmid_idx' was not declared. Should it be static?
drivers/platform/mpam/mpam_resctrl.c:46:6: sparse: sparse: symbol 'mon_is_rmid_idx' was not declared. Should it be static?
vim +/resctrl_mon_ctx_waiters +25 drivers/platform/mpam/mpam_resctrl.c
24
> 25 DECLARE_WAIT_QUEUE_HEAD(resctrl_mon_ctx_waiters);
26
27 /*
28 * The classes we've picked to map to resctrl resources.
29 * Class pointer may be NULL.
30 */
31 static struct mpam_resctrl_res mpam_resctrl_exports[RDT_NUM_RESOURCES];
32
33 static bool exposed_alloc_capable;
34 static bool exposed_mon_capable;
35 static struct mpam_class *mbm_local_class;
36 static struct mpam_class *mbm_total_class;
37
38 /*
39 * MPAM emulates CDP by setting different PARTID in the I/D fields of MPAM1_EL1.
40 * This applies globally to all traffic the CPU generates.
41 */
42 static bool cdp_enabled;
43
44 /* A dummy mon context to use when the monitors were allocated up front */
> 45 u32 __mon_is_rmid_idx = USE_RMID_IDX;
46 void *mon_is_rmid_idx = &__mon_is_rmid_idx;
47
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for NUMA_REMOTE when selected by OBMM
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: b2b4a358c0963806835f9a6ff96c2e34d1543216 [1/1] obmm: Add Ownership Based Memory Management framework
config: arm64-kismet-CONFIG_NUMA_REMOTE-CONFIG_OBMM-0-0 (https://download.01.org/0day-ci/archive/20251220/202512202005.B4YRvyvm-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512202005.B4YRvyvm-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/202512202005.B4YRvyvm-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for NUMA_REMOTE when selected by OBMM
WARNING: unmet direct dependencies detected for PFN_RANGE_ALLOC
Depends on [n]: MEMORY_HOTPLUG [=n]
Selected by [y]:
- OBMM [=y] && UB [=y] && UB_UMMU_CORE [=y] && UB_UBUS [=y] && HISI_SOC_CACHE [=y]
WARNING: unmet direct dependencies detected for NUMA_REMOTE
Depends on [n]: NUMA [=n] && ARM64 [=y] && ARM64_4K_PAGES [=y] && SPARSEMEM_VMEMMAP [=y] && ZONE_EXTMEM [=n]
Selected by [y]:
- OBMM [=y] && UB [=y] && UB_UMMU_CORE [=y] && UB_UBUS [=y] && HISI_SOC_CACHE [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3544/3544] drivers/irqchip/irq-gic-v3-its.c:392:15: warning: no previous prototype for 'gic_data_rdist_get_vlpi_base'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Jinqian,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 8207b85ea72073cc2f75884bfad29b41d805ef24 [3544/3544] kvm: hisi: print error for IPIV
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251221/202512210351.fZ2BxCPV-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210351.fZ2BxCPV-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/202512210351.fZ2BxCPV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/irqchip/irq-gic-v3-its.c:392:15: warning: no previous prototype for 'gic_data_rdist_get_vlpi_base' [-Wmissing-prototypes]
392 | void __iomem *gic_data_rdist_get_vlpi_base(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/gic_data_rdist_get_vlpi_base +392 drivers/irqchip/irq-gic-v3-its.c
390
391 #ifdef CONFIG_ARM64_HISI_IPIV
> 392 void __iomem *gic_data_rdist_get_vlpi_base(void)
393 {
394 return gic_data_rdist_vlpi_base();
395 }
396 EXPORT_SYMBOL(gic_data_rdist_get_vlpi_base);
397 #endif
398
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:395:5: warning: no previous prototype for 'hinic3_tx_offload'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi zhuyikai,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 74e3846262704452212a3245dccb10c2cd185ac3 [3547/3547] net/hinic3: Support new TX feature
config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210308.eEv9d6co-lkp@…)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210308.eEv9d6co-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/202512210308.eEv9d6co-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:395:5: warning: no previous prototype for 'hinic3_tx_offload' [-Wmissing-prototypes]
395 | u32 hinic3_tx_offload(struct sk_buff *skb, struct hinic3_offload_info *offload_info,
| ^~~~~~~~~~~~~~~~~
vim +/hinic3_tx_offload +395 drivers/net/ethernet/huawei/hinic3/hinic3_tx.c
394
> 395 u32 hinic3_tx_offload(struct sk_buff *skb, struct hinic3_offload_info *offload_info,
396 struct hinic3_queue_info *queue_info, struct hinic3_txq *txq)
397 {
398 u32 offload = 0;
399 int tso_cs_en;
400
401 tso_cs_en = hinic3_tso(offload_info, queue_info, skb);
402 if (tso_cs_en < 0) {
403 offload = TX_OFFLOAD_INVALID;
404 return offload;
405 } else if (tso_cs_en) {
406 offload |= TX_OFFLOAD_TSO;
407 } else {
408 tso_cs_en = hinic3_tx_csum(txq, skb, offload_info, queue_info);
409 if (tso_cs_en)
410 offload |= TX_OFFLOAD_CSUM;
411 }
412
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3560/3560] drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:487:6: warning: variable 'test_mask' set but not used
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 5d01c9ec4f3b95b0629a38d936f69bc05e494cc9 [3560/3560] pinctrl: Zhaoxin: Add KH-50000 support
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251221/202512210228.QnsbClZ7-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210228.QnsbClZ7-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/202512210228.QnsbClZ7-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:123:6: warning: variable 'value_back' set but not used [-Wunused-but-set-variable]
123 | u16 value_back = 0;
| ^
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:249:6: warning: variable 'pin' set but not used [-Wunused-but-set-variable]
249 | int pin;
| ^
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:270:6: warning: variable 'pin' set but not used [-Wunused-but-set-variable]
270 | int pin;
| ^
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:330:6: warning: variable 'base_offset' set but not used [-Wunused-but-set-variable]
330 | int base_offset = 0;
| ^
drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:363:6: warning: variable 'base_offset' set but not used [-Wunused-but-set-variable]
363 | int base_offset = 0;
| ^
>> drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c:487:6: warning: variable 'test_mask' set but not used [-Wunused-but-set-variable]
487 | u16 test_mask;
| ^
6 warnings generated.
vim +/test_mask +487 drivers/pinctrl/zhaoxin/pinctrl-zhaoxin.c
471
472 static int zhaoxin_gpio_irq_type(struct irq_data *d, unsigned int type)
473 {
474 struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
475 struct zhaoxin_pinctrl *pctrl = gpiochip_get_data(gc);
476 unsigned int gpio = irqd_to_hwirq(d);
477 const struct index_cal_array *trigger_cal;
478 unsigned int pin;
479 unsigned long flags;
480 u8 index;
481 int position, point;
482 u16 value;
483 bool isup = true;
484 bool high_bit = false;
485 u16 mask = 0;
486 int bits_num = 0;
> 487 u16 test_mask;
488
489 trigger_cal = pctrl->pin_topologys->trigger_cal;
490 pin = zhaoxin_gpio_to_pin(pctrl, irqd_to_hwirq(d), NULL, NULL);
491 if (type & IRQ_TYPE_EDGE_FALLING)
492 isup = true;
493 else if (type & IRQ_TYPE_EDGE_RISING)
494 isup = true;
495 else if (type & IRQ_TYPE_LEVEL_LOW)
496 isup = true;
497 else if (type & IRQ_TYPE_LEVEL_HIGH)
498 isup = false;
499
500 zhaoxin_gpio_set_gpio_mode_and_pull(pctrl, pin, isup);
501
502 for (position = 0; position < trigger_cal->size; position++)
503 if (trigger_cal->cal_array[position] == gpio)
504 break;
505 mask = trigger_cal->mask;
506 bits_num = trigger_cal->bits_num;
507 index = trigger_cal->index + ALIGN(position + 1, 4) / 4 - 1;
508 point = position % 4;
509 if (point > 1)
510 high_bit = true;
511
512 raw_spin_lock_irqsave(&pctrl->lock, flags);
513
514 value = zx_pad_read16(pctrl, index);
515
516 if ((type & IRQ_TYPE_EDGE_BOTH) == IRQ_TYPE_EDGE_BOTH) {
517 if (high_bit) {
518 point = point - 2;
519 position = 8;
520 } else
521 position = 0;
522 test_mask = (~(mask << (point * bits_num + position)));
523 value &= (~(mask << (point * bits_num + position)));
524 value |= TRIGGER_BOTH_EDGE << (point * bits_num + position);
525 } else if (type & IRQ_TYPE_EDGE_FALLING) {
526 if (high_bit) {
527 point = point - 2;
528 position = 8;
529 } else
530 position = 0;
531 test_mask = (~(mask << (point * bits_num + position)));
532 value &= (~(mask << (point * bits_num + position)));
533 value |= TRIGGER_FALL_EDGE << (point * bits_num + position);
534 } else if (type & IRQ_TYPE_EDGE_RISING) {
535 if (high_bit) {
536 point = point - 2;
537 position = 8;
538 } else
539 position = 0;
540 test_mask = (~(mask << (point * bits_num + position)));
541 value &= (~(mask << (point * bits_num + position)));
542 value |= TRIGGER_RISE_EDGE << (point * bits_num + position);
543 } else if (type & IRQ_TYPE_LEVEL_LOW) {
544 if (high_bit) {
545 point = point - 2;
546 position = 8;
547 } else
548 position = 0;
549 test_mask = (~(mask << (point * bits_num + position)));
550 value &= (~(mask << (point * bits_num + position)));
551 value |= TRIGGER_LOW_LEVEL << (point * bits_num + position);
552 } else if (type & IRQ_TYPE_LEVEL_HIGH) {
553 if (high_bit) {
554 point = point - 2;
555 position = 8;
556 } else
557 position = 0;
558 test_mask = (~(mask << (point * bits_num + position)));
559 value &= (~(mask << (point * bits_num + position)));
560 value |= TRIGGER_HIGH_LEVEL << (point * bits_num + position);
561 }
562
563 zx_pad_write16(pctrl, index, value);
564
565 if (type & IRQ_TYPE_EDGE_BOTH)
566 irq_set_handler_locked(d, handle_edge_irq);
567 else if (type & IRQ_TYPE_LEVEL_MASK)
568 irq_set_handler_locked(d, handle_level_irq);
569 raw_spin_unlock_irqrestore(&pctrl->lock, flags);
570
571 return 0;
572 }
573
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE when selected by ARM64
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 6df2e969a6de3481167ace4fe42f69812a6c7fc8 [1/1] arm64: add config for cpuidle-haltpoll
config: arm64-kismet-CONFIG_HALTPOLL_CPUIDLE-CONFIG_ARM64-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201952.4oTfj5wS-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201952.4oTfj5wS-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/202512201952.4oTfj5wS-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE when selected by ARM64
WARNING: unmet direct dependencies detected for HALTPOLL_CPUIDLE
Depends on [n]: CPU_IDLE [=n] && ARCH_CPUIDLE_HALTPOLL [=y] && ARCH_HAS_OPTIMIZED_POLL [=y]
Selected by [y]:
- ARM64 [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for PGP_PRELOAD when selected by PGP_PRELOAD_PUBLIC_KEYS
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 43d4042e06d2bf96adf67d25e8d91653507a4cf9 [1/1] KEYS: Provide a function to load keys from a PGP keyring blob
config: x86_64-kismet-CONFIG_PGP_PRELOAD-CONFIG_PGP_PRELOAD_PUBLIC_KEYS-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201919.aBYsjEcq-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201919.aBYsjEcq-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/202512201919.aBYsjEcq-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for PGP_PRELOAD when selected by PGP_PRELOAD_PUBLIC_KEYS
WARNING: unmet direct dependencies detected for PGP_PRELOAD
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n]
Selected by [y]:
- PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3563/3563] drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c:545:5: error: no previous prototype for function 'ps3_pci_init'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi liujie_answer,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 97a2bb6ece556f3882263ee8df2b77f10c511311 [3563/3563] SCSI: Linkdata: Supports Linkdata HBA/RAID Controllers
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251221/202512210106.IqHUCCpt-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210106.IqHUCCpt-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/202512210106.IqHUCCpt-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:5:
In file included from include/linux/pci.h:1669:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:307:5: error: no previous prototype for function 'ps3_hard_reset_to_ready' [-Werror,-Wmissing-prototypes]
307 | int ps3_hard_reset_to_ready(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_ioc_manager.c:307:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
307 | int ps3_hard_reset_to_ready(struct ps3_instance *instance)
| ^
| static
6 errors generated.
--
In file included from drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:5:
In file included from include/linux/pci.h:1669:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:876:6: error: no previous prototype for function 'ps3_set_task_manager_busy' [-Werror,-Wmissing-prototypes]
876 | void ps3_set_task_manager_busy(struct ps3_instance *instance,
| ^
drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:876:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
876 | void ps3_set_task_manager_busy(struct ps3_instance *instance,
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:1110:5: error: no previous prototype for function 'ps3_wait_for_outstanding_complete' [-Werror,-Wmissing-prototypes]
1110 | int ps3_wait_for_outstanding_complete(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_scsi_cmd_err.c:1110:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1110 | int ps3_wait_for_outstanding_complete(struct ps3_instance *instance)
| ^
| static
7 errors generated.
--
In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:14:
In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.h:6:
In file included from drivers/scsi/linkdata/ps3stor/ps3_irq.h:8:
In file included from include/scsi/scsi_host.h:11:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:131:6: error: no previous prototype for function 'ps3_trigger_irq_poll' [-Werror,-Wmissing-prototypes]
131 | void ps3_trigger_irq_poll(struct ps3_irq *irq)
| ^
drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:131:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
131 | void ps3_trigger_irq_poll(struct ps3_irq *irq)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:243:5: error: no previous prototype for function 'ps3_resp_status_convert' [-Werror,-Wmissing-prototypes]
243 | int ps3_resp_status_convert(unsigned int resp_status)
| ^
drivers/scsi/linkdata/ps3stor/ps3_cmd_complete.c:243:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
243 | int ps3_resp_status_convert(unsigned int resp_status)
| ^
| static
7 errors generated.
--
In file included from drivers/scsi/linkdata/ps3stor/ps3_qos.c:7:
In file included from include/scsi/scsi_host.h:11:
In file included from include/linux/blk-mq.h:5:
In file included from include/linux/blkdev.h:9:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:8:
In file included from include/linux/cacheflush.h:5:
In file included from arch/x86/include/asm/cacheflush.h:5:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:211:1: error: no previous prototype for function 'ps3_qos_cmd_waitq_get' [-Werror,-Wmissing-prototypes]
211 | ps3_qos_cmd_waitq_get(struct ps3_qos_tg_context *qos_tg_ctx,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:210:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
210 | struct qos_wait_queue *
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:15: error: no previous prototype for function 'ps3_qos_vd_cmdword_get' [-Werror,-Wmissing-prototypes]
335 | unsigned char ps3_qos_vd_cmdword_get(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:335:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
335 | unsigned char ps3_qos_vd_cmdword_get(struct ps3_cmd *cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:15: error: no previous prototype for function 'ps3_qos_exclusive_cmdword_get' [-Werror,-Wmissing-prototypes]
351 | unsigned char ps3_qos_exclusive_cmdword_get(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:351:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
351 | unsigned char ps3_qos_exclusive_cmdword_get(struct ps3_cmd *cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:15: error: no previous prototype for function 'ps3_qos_tg_decision' [-Werror,-Wmissing-prototypes]
363 | unsigned char ps3_qos_tg_decision(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:363:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
363 | unsigned char ps3_qos_tg_decision(struct ps3_cmd *cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:15: error: no previous prototype for function 'ps3_qos_all_pd_rc_get' [-Werror,-Wmissing-prototypes]
749 | unsigned char ps3_qos_all_pd_rc_get(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:749:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
749 | unsigned char ps3_qos_all_pd_rc_get(struct ps3_cmd *cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clear_all' [-Werror,-Wmissing-prototypes]
876 | void ps3_pd_quota_waitq_clear_all(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:876:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
876 | void ps3_pd_quota_waitq_clear_all(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:6: error: no previous prototype for function 'ps3_pd_quota_waitq_clean' [-Werror,-Wmissing-prototypes]
892 | void ps3_pd_quota_waitq_clean(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:892:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
892 | void ps3_pd_quota_waitq_clean(struct ps3_qos_pd_mgr *qos_pd_mgr,
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:6: error: no previous prototype for function 'ps3_qos_pd_waitq_ratio_update' [-Werror,-Wmissing-prototypes]
1058 | void ps3_qos_pd_waitq_ratio_update(struct ps3_qos_pd_mgr *qos_pd_mgr)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:1058:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1058 | void ps3_qos_pd_waitq_ratio_update(struct ps3_qos_pd_mgr *qos_pd_mgr)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:15: error: no previous prototype for function 'ps3_hba_qos_decision' [-Werror,-Wmissing-prototypes]
2019 | unsigned char ps3_hba_qos_decision(struct ps3_cmd *cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2019:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2019 | unsigned char ps3_hba_qos_decision(struct ps3_cmd *cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:6: error: no previous prototype for function 'ps3_hba_qos_waitq_notify' [-Werror,-Wmissing-prototypes]
2040 | void ps3_hba_qos_waitq_notify(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2040:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2040 | void ps3_hba_qos_waitq_notify(struct ps3_instance *instance)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:6: error: no previous prototype for function 'ps3_cmd_waitq_abort' [-Werror,-Wmissing-prototypes]
2100 | bool ps3_cmd_waitq_abort(struct ps3_cmd *aborted_cmd)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2100:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2100 | bool ps3_cmd_waitq_abort(struct ps3_cmd *aborted_cmd)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:6: error: no previous prototype for function 'ps3_hba_qos_waitq_clear_all' [-Werror,-Wmissing-prototypes]
2463 | void ps3_hba_qos_waitq_clear_all(struct ps3_instance *instance, int resp_status)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2463:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2463 | void ps3_hba_qos_waitq_clear_all(struct ps3_instance *instance, int resp_status)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:6: error: no previous prototype for function 'ps3_hba_qos_vd_init' [-Werror,-Wmissing-prototypes]
2827 | void ps3_hba_qos_vd_init(struct ps3_instance *instance,
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2827:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2827 | void ps3_hba_qos_vd_init(struct ps3_instance *instance,
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:6: error: no previous prototype for function 'ps3_hba_qos_vd_reset' [-Werror,-Wmissing-prototypes]
2936 | void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id)
| ^
drivers/scsi/linkdata/ps3stor/ps3_qos.c:2936:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2936 | void ps3_hba_qos_vd_reset(struct ps3_instance *instance, unsigned short disk_id)
| ^
| static
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
--
In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:6:
In file included from drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.h:7:
In file included from include/scsi/scsi_cmnd.h:5:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:508:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: error: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:85:6: error: no previous prototype for function 'ps3_cmd_stat_content_clear' [-Werror,-Wmissing-prototypes]
85 | void ps3_cmd_stat_content_clear(struct ps3_instance *instance)
| ^
drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
85 | void ps3_cmd_stat_content_clear(struct ps3_instance *instance)
| ^
| static
>> drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:403:6: error: no previous prototype for function 'ps3_io_recv_ok_stat_inc' [-Werror,-Wmissing-prototypes]
403 | void ps3_io_recv_ok_stat_inc(struct ps3_instance *ins,
| ^
drivers/scsi/linkdata/ps3stor/ps3_cmd_statistics.c:403:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
403 | void ps3_io_recv_ok_stat_inc(struct ps3_instance *ins,
| ^
| static
7 errors generated.
..
vim +/ps3_pci_init +545 drivers/scsi/linkdata/ps3stor/./linux/ps3_base.c
544
> 545 int ps3_pci_init(struct pci_dev *pdev, struct ps3_instance *instance)
546 {
547 resource_size_t base_addr = 0;
548 int ret = PS3_SUCCESS;
549
550 ret = pci_enable_device_mem(pdev);
551 if (ret != PS3_SUCCESS) {
552 LOG_ERROR("hno:%u pci id[%u] pci enable failed\n",
553 PS3_HOST(instance), pdev->dev.id);
554 goto l_pci_enable_device_mem_failed;
555 }
556
557 pci_set_master(pdev);
558
559 instance->reg_bar = PS3_REGISTER_BAR_INDEX;
560 ret = (pci_resource_flags(pdev, instance->reg_bar) & IORESOURCE_MEM);
561 if (!ret) {
562 LOG_ERROR("hno:%u Bar %lu isnot IORESOURCE_MEM\n",
563 PS3_HOST(instance), instance->reg_bar);
564 goto l_bar_check_failed;
565 }
566 ret = pci_request_selected_regions(pdev, 1 << instance->reg_bar,
567 "PS3 pci regions");
568 if (ret != PS3_SUCCESS) {
569 LOG_ERROR("hno:%u IO memory region busy\n", PS3_HOST(instance));
570 goto l_pci_request_selected_regions_failed;
571 }
572 #if defined(PS3_SUPPORT_PCIE_REPORT)
573 pci_enable_pcie_error_reporting(pdev);
574 #endif
575 if (instance->ioc_adpter->reg_set) {
576 instance->reg_set =
577 (struct Ps3Fifo __iomem *)instance->ioc_adpter->reg_set(
578 pdev, instance->reg_bar);
579 } else {
580 instance->reg_set = (struct Ps3Fifo __iomem *)ioremap(
581 pci_resource_start(pdev, instance->reg_bar),
582 PS3_REGISTER_SET_SIZE);
583 }
584 if (instance->reg_set == NULL) {
585 LOG_ERROR("hno:%u ioremap failed\n", PS3_HOST(instance));
586 goto l_ioremap_failed;
587 } else {
588 pci_set_drvdata(pdev, instance);
589 }
590
591 ps3_atomic_set(&instance->watchdog_reg_read_fail_count, 0);
592 LOG_INFO(
593 "reg_bar_idx = %lu, bar_base_paddr = 0x%llx, reg_set_vaddr = 0x%p\n",
594 instance->reg_bar, (unsigned long long)base_addr, instance->reg_set);
595
596 return PS3_SUCCESS;
597 l_ioremap_failed:
598 pci_release_selected_regions(instance->pdev, 1 << instance->reg_bar);
599 #if defined(PS3_SUPPORT_PCIE_REPORT)
600 pci_disable_pcie_error_reporting(pdev);
601 #endif
602 l_pci_request_selected_regions_failed:
603 pci_disable_device(instance->pdev);
604 l_bar_check_failed:
605 l_pci_enable_device_mem_failed:
606 return -PS3_FAILED;
607 }
608
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3542/3542] drivers/crypto/ccp/hygon/hct.c:1333:15: warning: no previous prototype for function 'hct_pin_memory'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: c74ae2c5da57becf3f41c596d79b3dd30fa1baa6 [3542/3542] hct: add mediated ccp driver support for hygon crypto technology.
config: x86_64-randconfig-012-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210747.245hMJvq-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210747.245hMJvq-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/202512210747.245hMJvq-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/crypto/ccp/hygon/hct.c:20:
In file included from include/linux/vfio.h:12:
In file included from include/linux/iommu.h:10:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2242:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/crypto/ccp/hygon/hct.c:1333:15: warning: no previous prototype for function 'hct_pin_memory' [-Wmissing-prototypes]
1333 | struct page **hct_pin_memory(struct hct_private *private, unsigned long uaddr,
| ^
drivers/crypto/ccp/hygon/hct.c:1333:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1333 | struct page **hct_pin_memory(struct hct_private *private, unsigned long uaddr,
| ^
| static
drivers/crypto/ccp/hygon/hct.c:1730:45: error: no member named 'numa_node' in 'struct device'
1730 | *node = hct_data.iommu[page_idx].pdev->dev.numa_node;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
2 warnings and 1 error generated.
vim +/hct_pin_memory +1333 drivers/crypto/ccp/hygon/hct.c
1332
> 1333 struct page **hct_pin_memory(struct hct_private *private, unsigned long uaddr,
1334 unsigned long ulen, unsigned long *n)
1335 {
1336 unsigned long npages, size;
1337 int npinned;
1338 struct page **pages;
1339 unsigned long first, last;
1340
1341 if (ulen == 0 || uaddr + ulen < uaddr)
1342 return NULL;
1343
1344 first = (uaddr & PAGE_MASK) >> PAGE_SHIFT;
1345 last = ((uaddr + ulen - 1) & PAGE_MASK) >> PAGE_SHIFT;
1346 npages = (last - first + 1);
1347
1348 if (WARN_ON_ONCE(npages > INT_MAX))
1349 return NULL;
1350
1351 size = npages * sizeof(struct page *);
1352 if (size > PAGE_SIZE)
1353 pages = vmalloc(size);
1354 else
1355 pages = kmalloc(size, GFP_KERNEL);
1356
1357 if (!pages)
1358 return NULL;
1359
1360 /* Pin the user virtual address. */
1361 npinned = pin_user_pages_fast(uaddr, npages, FOLL_WRITE, pages);
1362 if (npinned != npages)
1363 goto err;
1364
1365 *n = npages;
1366 return pages;
1367
1368 err:
1369 if (npinned > 0)
1370 unpin_user_pages(pages, npinned);
1371 kvfree(pages);
1372 return NULL;
1373 }
1374
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 4213ff7957de370c1cfe528c2bad1eb2e499038a [3547/3547] net/ethernet/huawei/hinic3: Add the CQM on which the RDMA depends
config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210108.l9B1EKna-lkp@…)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210108.l9B1EKna-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/202512210108.l9B1EKna-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c: In function 'cqm_mem_init':
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
1159 | "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i);
| ^~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1159:5: note: directive argument in the range [0, 4294967293]
1159 | "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i);
| ^~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c:1158:3: note: 'snprintf' output between 5 and 76 bytes into a destination of size 15
1158 | snprintf(fake_cqm_handle->name, VRAM_NAME_MAX_LEN - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1159 | "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c: In function 'cqm_cla_xyz':
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:893:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
893 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_X);
| ^~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:892:2: note: 'snprintf' output between 2 and 65 bytes into a destination of size 15
892 | snprintf(cla_x_buf->buf_info.buf_vram_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
893 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_X);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:896:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
896 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Y);
| ^~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:895:2: note: 'snprintf' output between 2 and 65 bytes into a destination of size 15
895 | snprintf(cla_y_buf->buf_info.buf_vram_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
896 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Y);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:899:28: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
899 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Z);
| ^~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:898:2: note: 'snprintf' output between 2 and 65 bytes into a destination of size 15
898 | snprintf(cla_z_buf->buf_info.buf_vram_name,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
899 | VRAM_NAME_MAX_LEN - 1, "%s%s", cla_table->name, VRAM_CQM_CLA_COORD_Z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c: In function 'cqm_cla_init_entry':
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:1297:6: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=]
1297 | "%s%s%s%02u", cqm_handle->name, VRAM_CQM_CLA_BASE,
| ^~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bat_cla.c:1296:3: note: 'snprintf' output between 5 and 76 bytes into a destination of size 15
1296 | snprintf(cla_table->name, VRAM_NAME_MAX_LEN - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1297 | "%s%s%s%02u", cqm_handle->name, VRAM_CQM_CLA_BASE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1298 | VRAM_CQM_CLA_TYPE_BASE, cla_table->type);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: Function parameter or member 'addr' not described in 'cqm_swab64'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: Function parameter or member 'cnt' not described in 'cqm_swab64'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:51: warning: expecting prototype for Prototype(). Prototype was for cqm_swab64() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: Function parameter or member 'addr' not described in 'cqm_swab32'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: Function parameter or member 'cnt' not described in 'cqm_swab32'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:74: warning: expecting prototype for Prototype(). Prototype was for cqm_swab32() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:96: warning: Function parameter or member 'data' not described in 'cqm_shift'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:96: warning: expecting prototype for Prototype(). Prototype was for cqm_shift() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:119: warning: Function parameter or member 'data' not described in 'cqm_check_align'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:119: warning: expecting prototype for Prototype(). Prototype was for cqm_check_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: Function parameter or member 'size' not described in 'cqm_kmalloc_align'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: Function parameter or member 'flags' not described in 'cqm_kmalloc_align'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: Function parameter or member 'align_order' not described in 'cqm_kmalloc_align'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:155: warning: expecting prototype for Prototype(). Prototype was for cqm_kmalloc_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:187: warning: Function parameter or member 'addr' not described in 'cqm_kfree_align'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:187: warning: expecting prototype for Prototype(). Prototype was for cqm_kfree_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: Function parameter or member 'cqm_handle' not described in 'cqm_buf_alloc'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: Function parameter or member 'buf' not described in 'cqm_buf_alloc'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: Function parameter or member 'direct' not described in 'cqm_buf_alloc'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:474: warning: expecting prototype for Prototype(). Prototype was for cqm_buf_alloc() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: Function parameter or member 'buf' not described in 'cqm_buf_free'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: Function parameter or member 'cqm_handle' not described in 'cqm_buf_free'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:545: warning: expecting prototype for Prototype(). Prototype was for cqm_buf_free() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:771: warning: Function parameter or member 'bitmap' not described in 'cqm_single_bitmap_init'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:771: warning: expecting prototype for Prototype(). Prototype was for cqm_single_bitmap_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:841: warning: Function parameter or member 'cqm_handle' not described in 'cqm_bitmap_init'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:841: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:937: warning: Function parameter or member 'cqm_handle' not described in 'cqm_bitmap_uninit'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:937: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_uninit() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'table' not described in 'cqm_bitmap_check_range'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'step' not described in 'cqm_bitmap_check_range'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'max_num' not described in 'cqm_bitmap_check_range'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'begin' not described in 'cqm_bitmap_check_range'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: Function parameter or member 'count' not described in 'cqm_bitmap_check_range'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:975: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_check_range() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_alloc'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'step' not described in 'cqm_bitmap_alloc'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'count' not described in 'cqm_bitmap_alloc'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: Function parameter or member 'update_last' not described in 'cqm_bitmap_alloc'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1055: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_alloc_low2bit_align'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: Function parameter or member 'low2bit' not described in 'cqm_bitmap_alloc_low2bit_align'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: Function parameter or member 'update_last' not described in 'cqm_bitmap_alloc_low2bit_align'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1108: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc_low2bit_align() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_alloc_reserved'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: Function parameter or member 'count' not described in 'cqm_bitmap_alloc_reserved'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: Function parameter or member 'index' not described in 'cqm_bitmap_alloc_reserved'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1154: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_alloc_reserved() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: Function parameter or member 'bitmap' not described in 'cqm_bitmap_free'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: Function parameter or member 'index' not described in 'cqm_bitmap_free'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: Function parameter or member 'count' not described in 'cqm_bitmap_free'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1189: warning: expecting prototype for Prototype(). Prototype was for cqm_bitmap_free() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1212: warning: Function parameter or member 'obj_table' not described in 'cqm_single_object_table_init'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1212: warning: expecting prototype for Prototype(). Prototype was for cqm_single_object_table_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1232: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_init'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1232: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_init() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1299: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_uninit'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1299: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_uninit() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_insert'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'object_table' not described in 'cqm_object_table_insert'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'index' not described in 'cqm_object_table_insert'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'obj' not described in 'cqm_object_table_insert'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: Function parameter or member 'bh' not described in 'cqm_object_table_insert'
>> drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1334: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_insert() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_remove'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'object_table' not described in 'cqm_object_table_remove'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'index' not described in 'cqm_object_table_remove'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'obj' not described in 'cqm_object_table_remove'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: Function parameter or member 'bh' not described in 'cqm_object_table_remove'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1376: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_remove() instead
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'cqm_handle' not described in 'cqm_object_table_get'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'object_table' not described in 'cqm_object_table_get'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'index' not described in 'cqm_object_table_get'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: Function parameter or member 'bh' not described in 'cqm_object_table_get'
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:1413: warning: expecting prototype for Prototype(). Prototype was for cqm_object_table_get() instead
vim +1159 drivers/net/ethernet/huawei/hinic3/cqm/cqm_main.c
1129
1130 /**
1131 * Prototype : cqm_fake_mem_init
1132 * Description : Initialize resources of the extended fake function.
1133 * Input : struct tag_cqm_handle *cqm_handle: Parent CQM handle of the current PF
1134 * Output : None
1135 * Return Value : s32
1136 * 1.Date : 2020/4/15
1137 * Modification : Created function
1138 */
1139 static s32 cqm_fake_mem_init(struct tag_cqm_handle *cqm_handle)
1140 {
1141 struct hinic3_hwdev *handle = cqm_handle->ex_handle;
1142 struct tag_cqm_handle *fake_cqm_handle = NULL;
1143 s32 child_func_number;
1144 u32 i;
1145
1146 if (cqm_handle->func_capability.fake_func_type !=
1147 CQM_FAKE_FUNC_PARENT)
1148 return CQM_SUCCESS;
1149
1150 child_func_number = cqm_get_child_func_number(cqm_handle);
1151 if (child_func_number == CQM_FAIL) {
1152 cqm_err(handle->dev_hdl, CQM_WRONG_VALUE(child_func_number));
1153 return CQM_FAIL;
1154 }
1155
1156 for (i = 0; i < (u32)child_func_number; i++) {
1157 fake_cqm_handle = cqm_handle->fake_cqm_handle[i];
1158 snprintf(fake_cqm_handle->name, VRAM_NAME_MAX_LEN - 1,
> 1159 "%s%s%02u", cqm_handle->name, VRAM_CQM_FAKE_MEM_BASE, i);
1160
1161 if (cqm_bat_init(fake_cqm_handle) != CQM_SUCCESS) {
1162 cqm_err(handle->dev_hdl,
1163 CQM_FUNCTION_FAIL(cqm_bat_init));
1164 goto err;
1165 }
1166
1167 if (cqm_cla_init(fake_cqm_handle) != CQM_SUCCESS) {
1168 cqm_err(handle->dev_hdl,
1169 CQM_FUNCTION_FAIL(cqm_cla_init));
1170 goto err;
1171 }
1172
1173 if (cqm_bitmap_init(fake_cqm_handle) != CQM_SUCCESS) {
1174 cqm_err(handle->dev_hdl,
1175 CQM_FUNCTION_FAIL(cqm_bitmap_init));
1176 goto err;
1177 }
1178
1179 if (cqm_object_table_init(fake_cqm_handle) != CQM_SUCCESS) {
1180 cqm_err(handle->dev_hdl,
1181 CQM_FUNCTION_FAIL(cqm_object_table_init));
1182 goto err;
1183 }
1184 }
1185
1186 return CQM_SUCCESS;
1187
1188 err:
1189 cqm_fake_mem_uninit(cqm_handle);
1190 return CQM_FAIL;
1191 }
1192
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3544/3544] drivers/irqchip/irq-gic-v3.c:1526:6: warning: no previous prototype for 'gic_dist_enable_ipiv'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Xiang,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 5634a3dfafb71ede4922b523f77389ef2c006b61 [3544/3544] kvm: hisi_virt: Probe and configure IPIV capacity on HIP12
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251221/202512210133.hQCBSnrQ-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210133.hQCBSnrQ-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/202512210133.hQCBSnrQ-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/irqchip/irq-gic-v3.c:1517:6: warning: no previous prototype for 'is_gicv4p1' [-Wmissing-prototypes]
1517 | bool is_gicv4p1(void)
| ^~~~~~~~~~
>> drivers/irqchip/irq-gic-v3.c:1526:6: warning: no previous prototype for 'gic_dist_enable_ipiv' [-Wmissing-prototypes]
1526 | void gic_dist_enable_ipiv(void)
| ^~~~~~~~~~~~~~~~~~~~
vim +/gic_dist_enable_ipiv +1526 drivers/irqchip/irq-gic-v3.c
1525
> 1526 void gic_dist_enable_ipiv(void)
1527 {
1528 u32 val;
1529
1530 val = readl_relaxed(gic_data.dist_base + GICD_MISC_CTRL);
1531 val |= GICD_MISC_CTRL_CFG_IPIV_EN;
1532 writel_relaxed(val, gic_data.dist_base + GICD_MISC_CTRL);
1533 static_branch_enable(&ipiv_enable);
1534
1535 val = (0 << GICD_IPIV_CTRL_AFF_DIRECT_VPEID_SHIFT) |
1536 (0 << GICD_IPIV_CTRL_AFF1_LEFT_SHIFT_SHIFT) |
1537 (4 << GICD_IPIV_CTRL_AFF2_LEFT_SHIFT_SHIFT) |
1538 (7 << GICD_IPIV_CTRL_VM_TABLE_INNERCACHE_SHIFT) |
1539 (2 << GICD_IPIV_CTRL_VM_TABLE_SHAREABILITY_SHIFT);
1540 writel_relaxed(val, gic_data.dist_base + GICD_IPIV_CTRL);
1541
1542 /* Set target ITS address of IPIV feature */
1543 writel_relaxed(0x4880, gic_data.dist_base + GICD_IPIV_ITS_TA_BASE);
1544 }
1545 EXPORT_SYMBOL(gic_dist_enable_ipiv);
1546
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for PGP_KEY_PARSER when selected by PGP_PRELOAD
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 43d4042e06d2bf96adf67d25e8d91653507a4cf9 [1/1] KEYS: Provide a function to load keys from a PGP keyring blob
config: x86_64-kismet-CONFIG_PGP_KEY_PARSER-CONFIG_PGP_PRELOAD-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201850.48kGCnic-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201850.48kGCnic-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/202512201850.48kGCnic-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for PGP_KEY_PARSER when selected by PGP_PRELOAD
WARNING: unmet direct dependencies detected for PGP_KEY_PARSER
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y] && ASYMMETRIC_PUBLIC_KEY_SUBTYPE [=n]
Selected by [y]:
- PGP_PRELOAD [=y] && CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING when selected by MEM_SAMPLING
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: cc5f4f44852f9eb4feb22a40cbb4e3d1b10c36a0 [1/1] mm_monitor/mm_spe: Add PMU based memory sampling abstract layer
config: arm64-kismet-CONFIG_ARM_SPE_MEM_SAMPLING-CONFIG_MEM_SAMPLING-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201803.CVVuzZto-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201803.CVVuzZto-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/202512201803.CVVuzZto-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING when selected by MEM_SAMPLING
WARNING: unmet direct dependencies detected for CRYPTO_DRBG_CTR
Depends on [n]: CRYPTO [=y] && CRYPTO_DRBG_MENU [=n]
Selected by [y]:
- CRYPTO_DEV_HISI_TRNG [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && ARM64 [=y] && ACPI [=y]
WARNING: unmet direct dependencies detected for ARM_SPE_MEM_SAMPLING
Depends on [n]: ARM_SPE_PMU [=n]
Selected by [y]:
- MEM_SAMPLING [=y] && ARM64 [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3542/3542] drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:550:55: warning: '%08x' directive output may be truncated writing 8 bytes into a region of size between 2 and 11
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 8d65cdad5ea8e309af47a9a70c538bbbc1223e9a [3542/3542] Net: nebula_matrix: fix ci build warning
config: x86_64-randconfig-161-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210031.v4yKIJFE-lkp@…)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210031.v4yKIJFE-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/202512210031.v4yKIJFE-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c: In function 'nbl_res_adminq_get_firmware_version':
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:550:55: warning: '%08x' directive output may be truncated writing 8 bytes into a region of size between 2 and 11 [-Wformat-truncation=]
550 | "%d.%d.%d build %04d%02d%02d %08x",
| ^~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c:549:17: note: 'snprintf' output between 30 and 39 bytes into a destination of size 32
549 | snprintf(firmware_verion, ETHTOOL_FWVERS_LEN,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
550 | "%d.%d.%d build %04d%02d%02d %08x",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
551 | BCD2BYTE((resp_param.version >> 16) & 0xFF),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
552 | BCD2BYTE((resp_param.version >> 8) & 0xFF),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
553 | BCD2BYTE(resp_param.version & 0xFF),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
554 | BCD2SHORT((resp_param.build_date >> 16) & 0xFFFF),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
555 | BCD2BYTE((resp_param.build_date >> 8) & 0xFF),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
556 | BCD2BYTE(resp_param.build_date & 0xFF),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
557 | resp_param.build_hash);
| ~~~~~~~~~~~~~~~~~~~~~~
vim +550 drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.c
bad535d287c9c1 Bennie Yan 2024-09-24 527
bad535d287c9c1 Bennie Yan 2024-09-24 528 /* get_emp_version is deprecated, repalced by get_firmware_version, 0x8102 */
bad535d287c9c1 Bennie Yan 2024-09-24 529 static int nbl_res_adminq_get_firmware_version(void *priv, char *firmware_verion)
bad535d287c9c1 Bennie Yan 2024-09-24 530 {
bad535d287c9c1 Bennie Yan 2024-09-24 531 struct nbl_resource_mgt *res_mgt = (struct nbl_resource_mgt *)priv;
bad535d287c9c1 Bennie Yan 2024-09-24 532 struct nbl_channel_ops *chan_ops = NBL_RES_MGT_TO_CHAN_OPS(res_mgt);
bad535d287c9c1 Bennie Yan 2024-09-24 533 struct device *dev = NBL_COMMON_TO_DEV(res_mgt->common);
bad535d287c9c1 Bennie Yan 2024-09-24 534 struct nbl_chan_send_info chan_send;
bad535d287c9c1 Bennie Yan 2024-09-24 535 struct nbl_chan_param_nvm_version_resp resp_param;
bad535d287c9c1 Bennie Yan 2024-09-24 536 int ret = 0;
bad535d287c9c1 Bennie Yan 2024-09-24 537 u32 version_type = NBL_FW_VERSION_RUNNING_BANK;
bad535d287c9c1 Bennie Yan 2024-09-24 538
bad535d287c9c1 Bennie Yan 2024-09-24 539 NBL_CHAN_SEND(chan_send, NBL_CHAN_ADMINQ_FUNCTION_ID, NBL_CHAN_MSG_ADMINQ_GET_NVM_VERSION,
bad535d287c9c1 Bennie Yan 2024-09-24 540 &version_type, sizeof(version_type), &resp_param, sizeof(resp_param), 1);
bad535d287c9c1 Bennie Yan 2024-09-24 541 ret = chan_ops->send_msg(NBL_RES_MGT_TO_CHAN_PRIV(res_mgt), &chan_send);
bad535d287c9c1 Bennie Yan 2024-09-24 542 if (ret) {
bad535d287c9c1 Bennie Yan 2024-09-24 543 dev_err(dev, "adminq send msg failed with ret: %d, msg_type: 0x%x\n",
bad535d287c9c1 Bennie Yan 2024-09-24 544 ret, NBL_CHAN_MSG_ADMINQ_GET_NVM_VERSION);
bad535d287c9c1 Bennie Yan 2024-09-24 545 return ret;
bad535d287c9c1 Bennie Yan 2024-09-24 546 }
bad535d287c9c1 Bennie Yan 2024-09-24 547
bad535d287c9c1 Bennie Yan 2024-09-24 548 if (!memcmp(resp_param.magic, FIRMWARE_MAGIC, sizeof(resp_param.magic))) {
bad535d287c9c1 Bennie Yan 2024-09-24 549 snprintf(firmware_verion, ETHTOOL_FWVERS_LEN,
bad535d287c9c1 Bennie Yan 2024-09-24 @550 "%d.%d.%d build %04d%02d%02d %08x",
bad535d287c9c1 Bennie Yan 2024-09-24 551 BCD2BYTE((resp_param.version >> 16) & 0xFF),
bad535d287c9c1 Bennie Yan 2024-09-24 552 BCD2BYTE((resp_param.version >> 8) & 0xFF),
bad535d287c9c1 Bennie Yan 2024-09-24 553 BCD2BYTE(resp_param.version & 0xFF),
bad535d287c9c1 Bennie Yan 2024-09-24 554 BCD2SHORT((resp_param.build_date >> 16) & 0xFFFF),
bad535d287c9c1 Bennie Yan 2024-09-24 555 BCD2BYTE((resp_param.build_date >> 8) & 0xFF),
bad535d287c9c1 Bennie Yan 2024-09-24 556 BCD2BYTE(resp_param.build_date & 0xFF),
bad535d287c9c1 Bennie Yan 2024-09-24 557 resp_param.build_hash);
bad535d287c9c1 Bennie Yan 2024-09-24 558 } else {
bad535d287c9c1 Bennie Yan 2024-09-24 559 dev_err(dev, "adminq msg firmware verion magic check failed\n");
bad535d287c9c1 Bennie Yan 2024-09-24 560 return -EINVAL;
bad535d287c9c1 Bennie Yan 2024-09-24 561 }
bad535d287c9c1 Bennie Yan 2024-09-24 562
bad535d287c9c1 Bennie Yan 2024-09-24 563 return 0;
bad535d287c9c1 Bennie Yan 2024-09-24 564 }
bad535d287c9c1 Bennie Yan 2024-09-24 565
:::::: The code at line 550 was first introduced by commit
:::::: bad535d287c9c1056d99de3666be7da84de4a8fc Net:nbl_core: Add nbl_core-driver for nebula-matrix S1055AS series smart NIC.
:::::: TO: Bennie Yan <bennie.yan(a)nebula-matrix.com>
:::::: CC: Bennie Yan <bennie.yan(a)nebula-matrix.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:823:5: warning: no previous prototype for 'hinic3_set_rxq_recovery_flag'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Zhou,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: dcb286ce50a35a77e51b61db72c7cc001647b598 [3547/3547] net/hinic3: add huawei/hinic3 driver
config: arm64-randconfig-003-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210010.kLb4fmr8-lkp@…)
compiler: aarch64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210010.kLb4fmr8-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/202512210010.kLb4fmr8-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:823:5: warning: no previous prototype for 'hinic3_set_rxq_recovery_flag' [-Wmissing-prototypes]
823 | int hinic3_set_rxq_recovery_flag(struct net_device *netdev, u32 priv_flags)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/hinic3_set_rxq_recovery_flag +823 drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c
822
> 823 int hinic3_set_rxq_recovery_flag(struct net_device *netdev, u32 priv_flags)
824 {
825 struct hinic3_nic_dev *nic_dev = netdev_priv(netdev);
826
827 if (priv_flags & HINIC3_PRIV_FLAGS_RXQ_RECOVERY) {
828 if (!HINIC3_SUPPORT_RXQ_RECOVERY(nic_dev->hwdev)) {
829 nicif_info(nic_dev, drv, netdev, "Unsupport open rxq recovery\n");
830 return -EOPNOTSUPP;
831 }
832
833 if (test_and_set_bit(HINIC3_RXQ_RECOVERY, &nic_dev->flags))
834 return 0;
835 queue_delayed_work(nic_dev->workq, &nic_dev->rxq_check_work, HZ);
836 nicif_info(nic_dev, drv, netdev, "open rxq recovery\n");
837 } else {
838 if (!test_and_clear_bit(HINIC3_RXQ_RECOVERY, &nic_dev->flags))
839 return 0;
840 cancel_delayed_work_sync(&nic_dev->rxq_check_work);
841 nicif_info(nic_dev, drv, netdev, "close rxq recovery\n");
842 }
843
844 return 0;
845 }
846
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3542/3542] drivers/dax/super.c:45: warning: Function parameter or member 'KABI_RESERVE(1' not described in 'dax_device'
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi Long,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 63101913bbd057cea31fb598eeb4a4c91584f0f0 [3542/3542] dax: kabi: Reserve KABI slots for dax_* struct
config: x86_64-randconfig-014-20251215 (https://download.01.org/0day-ci/archive/20251221/202512210038.6F02IwRo-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210038.6F02IwRo-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/202512210038.6F02IwRo-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/dax/super.c:45: warning: Function parameter or member 'KABI_RESERVE(1' not described in 'dax_device'
vim +45 drivers/dax/super.c
7b6be8444e0f0d Dan Williams 2017-04-11 17
1b7646014e0d83 Christoph Hellwig 2021-08-26 18 /**
1b7646014e0d83 Christoph Hellwig 2021-08-26 19 * struct dax_device - anchor object for dax services
1b7646014e0d83 Christoph Hellwig 2021-08-26 20 * @inode: core vfs
1b7646014e0d83 Christoph Hellwig 2021-08-26 21 * @cdev: optional character interface for "device dax"
1b7646014e0d83 Christoph Hellwig 2021-08-26 22 * @private: dax driver private data
1b7646014e0d83 Christoph Hellwig 2021-08-26 23 * @flags: state and boolean properties
db8cd5efeebc49 Ira Weiny 2022-03-04 24 * @ops: operations for this device
8012b866085523 Shiyang Ruan 2022-06-03 25 * @holder_data: holder of a dax_device: could be filesystem or mapped device
8012b866085523 Shiyang Ruan 2022-06-03 26 * @holder_ops: operations for the inner holder
1b7646014e0d83 Christoph Hellwig 2021-08-26 27 */
1b7646014e0d83 Christoph Hellwig 2021-08-26 28 struct dax_device {
1b7646014e0d83 Christoph Hellwig 2021-08-26 29 struct inode inode;
1b7646014e0d83 Christoph Hellwig 2021-08-26 30 struct cdev cdev;
1b7646014e0d83 Christoph Hellwig 2021-08-26 31 void *private;
1b7646014e0d83 Christoph Hellwig 2021-08-26 32 unsigned long flags;
1b7646014e0d83 Christoph Hellwig 2021-08-26 33 const struct dax_operations *ops;
8012b866085523 Shiyang Ruan 2022-06-03 34 void *holder_data;
8012b866085523 Shiyang Ruan 2022-06-03 35 const struct dax_holder_operations *holder_ops;
63101913bbd057 Long Li 2024-02-07 36
63101913bbd057 Long Li 2024-02-07 37 KABI_RESERVE(1)
63101913bbd057 Long Li 2024-02-07 38 KABI_RESERVE(2)
63101913bbd057 Long Li 2024-02-07 39 KABI_RESERVE(3)
63101913bbd057 Long Li 2024-02-07 40 KABI_RESERVE(4)
63101913bbd057 Long Li 2024-02-07 41 KABI_RESERVE(5)
63101913bbd057 Long Li 2024-02-07 42 KABI_RESERVE(6)
63101913bbd057 Long Li 2024-02-07 43 KABI_RESERVE(7)
63101913bbd057 Long Li 2024-02-07 44 KABI_RESERVE(8)
1b7646014e0d83 Christoph Hellwig 2021-08-26 @45 };
1b7646014e0d83 Christoph Hellwig 2021-08-26 46
:::::: The code at line 45 was first introduced by commit
:::::: 1b7646014e0d838b06be7288e2dec3262948cc56 dax: mark dax_get_by_host static
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Dan Williams <dan.j.williams(a)intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/cpufreq/acpi-cpufreq.c:638:13: warning: 'sched_set_itmt' defined but not used
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
Hi LeoLiu-oc,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 06ee47aa957617950ebf29f2a9dbb5682233ba4e [3547/3547] cpufreq: ACPI: add ITMT support when CPPC enabled
config: x86_64-randconfig-006-20251216 (https://download.01.org/0day-ci/archive/20251221/202512210018.ZcEdgI6o-lkp@…)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210018.ZcEdgI6o-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/202512210018.ZcEdgI6o-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/cpufreq/acpi-cpufreq.c:638:13: warning: 'sched_set_itmt' defined but not used [-Wunused-function]
638 | static void sched_set_itmt(void)
| ^~~~~~~~~~~~~~
vim +/sched_set_itmt +638 drivers/cpufreq/acpi-cpufreq.c
637
> 638 static void sched_set_itmt(void)
639 {
640 schedule_work(&sched_itmt_work);
641 }
642
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:25: sparse: sparse: cast from restricted __le32
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 641a2595f7f5a1b8c5a8ef8ae44b7318c7a6108e [3547/3547] crypto: ccp: support sm2 on Hygon generation 4th CPU
config: x86_64-randconfig-122-20251217 (https://download.01.org/0day-ci/archive/20251221/202512210041.NZ084FEx-lkp@…)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210041.NZ084FEx-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/202512210041.NZ084FEx-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:25: sparse: sparse: cast from restricted __le32
>> drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __le32 [usertype] @@
drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: expected unsigned int [usertype]
drivers/crypto/ccp/hygon/ccp-dev-v5.c:294:23: sparse: got restricted __le32 [usertype]
>> drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] sm3_len_lo @@ got unsigned int [usertype] @@
drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: expected restricted __le32 [usertype] sm3_len_lo
drivers/crypto/ccp/hygon/ccp-dev-v5.c:490:40: sparse: got unsigned int [usertype]
>> drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] sm3_len_hi @@ got unsigned int [usertype] @@
drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: expected restricted __le32 [usertype] sm3_len_hi
drivers/crypto/ccp/hygon/ccp-dev-v5.c:491:40: sparse: got unsigned int [usertype]
vim +294 drivers/crypto/ccp/hygon/ccp-dev-v5.c
274
275 static int ccp5_do_multi_cmds(struct ccp5_desc *desc,
276 struct ccp_cmd_queue *cmd_q)
277 {
278 u32 *mP;
279 __le32 *dP;
280 int i;
281
282 cmd_q->total_ops++;
283
284 if (CCP5_CMD_SOC(desc)) {
285 CCP5_CMD_IOC(desc) = 1;
286 CCP5_CMD_SOC(desc) = 0;
287 }
288
289 mutex_lock(&cmd_q->q_mutex);
290
291 mP = (u32 *) &cmd_q->qbase[cmd_q->qidx];
292 dP = (__le32 *) desc;
293 for (i = 0; i < 8; i++)
> 294 mP[i] = cpu_to_le32(dP[i]); /* handle endianness */
295
296 cmd_q->qidx = (cmd_q->qidx + 1) % CCP5_COMMANDS_PER_QUEUE;
297
298 mutex_unlock(&cmd_q->q_mutex);
299
300 return 0;
301 }
302
303 static int ccp5_do_run_cmd(struct ccp_op *op)
304 {
305 struct ccp_cmd_queue *cmd_q = op->cmd_q;
306 u32 tail;
307 int ret = 0;
308
309 mutex_lock(&cmd_q->q_mutex);
310
311 /* The data used by this command must be flushed to memory */
312 wmb();
313
314 /* Write the new tail address back to the queue register */
315 tail = low_address(cmd_q->qdma_tail + cmd_q->qidx * Q_DESC_SIZE);
316 iowrite32(tail, cmd_q->reg_tail_lo);
317
318 /* Turn the queue back on using our cached control register */
319 iowrite32(cmd_q->qcontrol | CMD5_Q_RUN, cmd_q->reg_control);
320 mutex_unlock(&cmd_q->q_mutex);
321
322 if (op->ioc) {
323 /* Wait for the job to complete */
324 ret = wait_event_interruptible(cmd_q->int_queue,
325 cmd_q->int_rcvd);
326 if (ret || cmd_q->cmd_error) {
327 /* Log the error and flush the queue by
328 * moving the head pointer
329 */
330 if (cmd_q->cmd_error)
331 ccp_log_error(cmd_q->ccp, cmd_q->cmd_error);
332 iowrite32(tail, cmd_q->reg_head_lo);
333 if (!ret)
334 ret = -EIO;
335 }
336 cmd_q->int_rcvd = 0;
337 }
338
339 return ret;
340 }
341
342 static int ccp5_do_cmd(struct ccp5_desc *desc,
343 struct ccp_cmd_queue *cmd_q)
344 {
345 __le32 *mP;
346 u32 *dP;
347 u32 tail;
348 int i;
349 int ret = 0;
350
351 cmd_q->total_ops++;
352
353 if (CCP5_CMD_SOC(desc)) {
354 CCP5_CMD_IOC(desc) = 1;
355 CCP5_CMD_SOC(desc) = 0;
356 }
357 mutex_lock(&cmd_q->q_mutex);
358
359 mP = (__le32 *)&cmd_q->qbase[cmd_q->qidx];
360 dP = (u32 *)desc;
361 for (i = 0; i < 8; i++)
362 mP[i] = cpu_to_le32(dP[i]); /* handle endianness */
363
364 cmd_q->qidx = (cmd_q->qidx + 1) % CCP5_COMMANDS_PER_QUEUE;
365
366 /* The data used by this command must be flushed to memory */
367 wmb();
368
369 /* Write the new tail address back to the queue register */
370 tail = low_address(cmd_q->qdma_tail + cmd_q->qidx * Q_DESC_SIZE);
371 iowrite32(tail, cmd_q->reg_tail_lo);
372
373 /* Turn the queue back on using our cached control register */
374 iowrite32(cmd_q->qcontrol | CMD5_Q_RUN, cmd_q->reg_control);
375 mutex_unlock(&cmd_q->q_mutex);
376
377 if (CCP5_CMD_IOC(desc)) {
378 /* Wait for the job to complete */
379 ret = wait_event_interruptible(cmd_q->int_queue,
380 cmd_q->int_rcvd);
381 if (ret || cmd_q->cmd_error) {
382 /* Log the error and flush the queue by
383 * moving the head pointer
384 */
385 if (cmd_q->cmd_error)
386 ccp_log_error(cmd_q->ccp,
387 cmd_q->cmd_error);
388 iowrite32(tail, cmd_q->reg_head_lo);
389 if (!ret)
390 ret = -EIO;
391 }
392 cmd_q->int_rcvd = 0;
393 }
394
395 return ret;
396 }
397
398 static int ccp5_perform_sm2(struct ccp_op *op)
399 {
400 struct ccp5_desc desc;
401 union ccp_function function;
402 struct ccp_dma_info *saddr = &op->src.u.dma;
403 struct ccp_dma_info *daddr = &op->dst.u.dma;
404 dma_addr_t kaddr;
405 unsigned int slen = saddr->length;
406 int ret = 0;
407
408 op->cmd_q->total_sm2_ops++;
409
410 memset(&desc, 0, Q_DESC_SIZE);
411
412 CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_SM2;
413
414 CCP5_CMD_SOC(&desc) = 0;
415 CCP5_CMD_IOC(&desc) = 1;
416 CCP5_CMD_INIT(&desc) = 1;
417 CCP5_CMD_EOM(&desc) = 1;
418 CCP5_CMD_PROT(&desc) = 0;
419
420 function.raw = 0;
421
422 /*
423 * ccp support both sm2 and ecc, the rand,mode filed are different
424 * with previous, and run on ecc or sm2 also should be indicated
425 */
426 if (op->cmd_q->ccp->support_sm2_ecc) {
427 ret = ccp5_get_keyinfo(op, &kaddr, &slen);
428 if (ret)
429 return ret;
430
431 CCP_SM2_ECC_RAND(&function) = op->u.sm2.rand;
432 CCP_SM2_ECC_MODE(&function) = op->u.sm2.mode;
433 CCP_SM2_ECC_ECC_MODE(&function) = 0; /* 0: SM2 1: ECC */
434 } else {
435 CCP_SM2_RAND(&function) = op->u.sm2.rand;
436 CCP_SM2_MODE(&function) = op->u.sm2.mode;
437 }
438
439 CCP5_CMD_FUNCTION(&desc) = function.raw;
440
441 /* Length of source data must match with mode */
442 CCP5_CMD_LEN(&desc) = slen;
443 CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(saddr);
444 CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(saddr);
445 CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
446
447 CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(daddr);
448 CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(daddr);
449 CCP5_CMD_DST_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
450
451 if (op->cmd_q->ccp->support_sm2_ecc &&
452 op->u.sm2.mode != CCP_SM2_MODE_KG) {
453 CCP5_CMD_KEY_LO(&desc) = low_address(kaddr);
454 CCP5_CMD_KEY_HI(&desc) = high_address(kaddr);
455 CCP5_CMD_KEY_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
456 }
457
458 return ccp5_do_cmd(&desc, op->cmd_q);
459 }
460
461 static int ccp5_perform_sm3(struct ccp_op *op)
462 {
463 struct ccp5_desc desc;
464 union ccp_function function;
465
466 op->cmd_q->total_sm3_ops++;
467
468 memset(&desc, 0, Q_DESC_SIZE);
469
470 CCP5_CMD_ENGINE(&desc) = CCP_ENGINE_SM3;
471
472 CCP5_CMD_SOC(&desc) = op->soc;
473 CCP5_CMD_IOC(&desc) = op->ioc;
474 CCP5_CMD_INIT(&desc) = op->init;
475 CCP5_CMD_EOM(&desc) = op->eom;
476 CCP5_CMD_PROT(&desc) = 0;
477
478 function.raw = 0;
479 CCP_SM3_TYPE(&function) = op->u.sm3.type;
480 CCP5_CMD_FUNCTION(&desc) = function.raw;
481
482 CCP5_CMD_LEN(&desc) = op->src.u.dma.length;
483
484 CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma);
485 CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma);
486 CCP5_CMD_SRC_MEM(&desc) = CCP_MEMTYPE_SYSTEM;
487 CCP5_CMD_LSB_ID(&desc) = op->sb_ctx;
488
489 if (op->eom) {
> 490 CCP5_CMD_SM3_LO(&desc) = lower_32_bits(op->u.sm3.msg_bits);
> 491 CCP5_CMD_SM3_HI(&desc) = upper_32_bits(op->u.sm3.msg_bits);
492 }
493
494 return ccp5_do_multi_cmds(&desc, op->cmd_q);
495 }
496
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for MOTORCOMM_PHY when selected by YT6801
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 6460d9d3c42d1357c8292d7be5c26cb7b84e84d7 [1/1] yt6801: Add Motorcomm yt6801 PCIe driver
config: x86_64-kismet-CONFIG_MOTORCOMM_PHY-CONFIG_YT6801-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201757.3Ll2KuBN-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201757.3Ll2KuBN-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/202512201757.3Ll2KuBN-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for MOTORCOMM_PHY when selected by YT6801
WARNING: unmet direct dependencies detected for MOTORCOMM_PHY
Depends on [n]: NETDEVICES [=y] && PHYLIB [=n]
Selected by [y]:
- YT6801 [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MOTORCOMM [=y] && PCI [=y] && NET [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3560/3560] drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:4272:6: warning: variable 'status' set but not used
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 0e80b39fcf6c1b2a13b11f8632b185a89b012b14 [3560/3560] net: wangxun: ngbe: add support for wangxun 1G
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251220/202512202331.85546LYE-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202331.85546LYE-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/202512202331.85546LYE-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3772:6: warning: variable 'vlvfb' set but not used [-Wunused-but-set-variable]
3772 | u32 vlvfb;
| ^
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3878:20: warning: variable 'vlnctrl' set but not used [-Wunused-but-set-variable]
3878 | u32 fctrl, vmolr, vlnctrl;
| ^
2 warnings generated.
--
>> drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:4272:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
4272 | int status;
| ^
1 warning generated.
--
drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:120: warning: Function parameter or member 'device_type' not described in 'ngbe_phy_read_reg_mdi'
drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:120: warning: expecting prototype for ngbe_read_phy_mdi(). Prototype was for ngbe_phy_read_reg_mdi() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:158: warning: expecting prototype for ngbe_write_phy_reg_mdi(). Prototype was for ngbe_phy_write_reg_mdi() instead
>> drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:877: warning: expecting prototype for ngbe_identify_module(). Prototype was for ngbe_phy_identify() instead
>> drivers/net/ethernet/wangxun/ngbe/ngbe_phy.c:1737: warning: expecting prototype for ngbe_tn_check_overtemp(). Prototype was for ngbe_phy_check_overtemp() instead
--
>> drivers/net/ethernet/wangxun/ngbe/ngbe_sriov.c:161: warning: expecting prototype for ngbe_pet_vfs(). Prototype was for ngbe_put_vfs() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_sriov.c:1173: warning: expecting prototype for nxgbe_set_all_vfs(). Prototype was for ngbe_set_all_vfs() instead
--
>> drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:34: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* data operation
drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:198: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* reg_ops operation
drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:335: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* netdev_ops operation
drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:445: warning: Function parameter or member 'adapter' not described in 'ngbe_dbg_adapter_exit'
drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:445: warning: Excess function parameter 'pf' description in 'ngbe_dbg_adapter_exit'
drivers/net/ethernet/wangxun/ngbe/ngbe_debugfs.c:478: warning: Function parameter or member 'adapter' not described in 'ngbe_dump'
--
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:516: warning: Function parameter or member 'pools' not described in 'ngbe_set_rar'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:516: warning: Excess function parameter 'vmdq' description in 'ngbe_set_rar'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:653: warning: Function parameter or member 'vmdq' not described in 'ngbe_add_uc_addr'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:781: warning: Function parameter or member 'mc_addr' not described in 'ngbe_set_mta'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:781: warning: Excess function parameter 'hash_value' description in 'ngbe_set_mta'
>> drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:1376: warning: Function parameter or member 'pool' not described in 'ngbe_set_vmdq'
>> drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:1376: warning: Excess function parameter 'vmdq' description in 'ngbe_set_vmdq'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:1389: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* This function should only be involved in the IOV mode.
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:2590: warning: bad line: (8.1542E-08)N^3 + (-1.6743E-11)N^4
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:2596: warning: Excess function parameter 'data' description in 'ngbe_get_thermal_sensor_data'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:2931: warning: Function parameter or member 'need_restart_AN' not described in 'ngbe_setup_copper_link'
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:2931: warning: Excess function parameter 'autoneg_wait_to_complete' description in 'ngbe_setup_copper_link'
>> drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3328: warning: expecting prototype for ngbe_read_ee_hostif(). Prototype was for ngbe_read_ee_hostif_data() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3631: warning: expecting prototype for ngbe_read_ee_hostif(). Prototype was for ngbe_read_ee_hostif_data32() instead
>> drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3667: warning: expecting prototype for ngbe_read_ee_hostif(). Prototype was for ngbe_read_ee_hostif32() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3688: warning: expecting prototype for ngbe_write_ee_hostif(). Prototype was for ngbe_write_ee_hostif_data() instead
>> drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c:3739: warning: expecting prototype for ngbe_write_ee_hostif(). Prototype was for ngbe_write_ee_hostif_data32() instead
--
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:637: warning: Function parameter or member 'quiet' not described in 'ngbe_read_reg'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:825: warning: Function parameter or member 'txqueue' not described in 'ngbe_tx_timeout'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:2478: warning: Function parameter or member 'queues' not described in 'ngbe_irq_enable'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:2478: warning: Function parameter or member 'flush' not described in 'ngbe_irq_enable'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:2874: warning: Function parameter or member 'adapter' not described in 'ngbe_configure_msi_and_legacy'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3047: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Return a number of entries in the RSS indirection table
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3059: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Write the RETA table to HW
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3270: warning: Function parameter or member 'adapter' not described in 'ngbe_configure_bridge_mode'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:3729: warning: Function parameter or member 'pool' not described in 'ngbe_write_uc_addr_list'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:4745: warning: cannot understand function prototype: 'const u32 def_rss_key[10] = '
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5694: warning: Function parameter or member 'adapter' not described in 'ngbe_check_hang_subtask'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5771: warning: Function parameter or member 'adapter' not described in 'ngbe_watchdog_update_link_status'
>> drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5771: warning: expecting prototype for ngbe_watchdog_update_link(). Prototype was for ngbe_watchdog_update_link_status() instead
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5867: warning: Function parameter or member 'adapter' not described in 'ngbe_watchdog_link_is_up'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5913: warning: Function parameter or member 'adapter' not described in 'ngbe_watchdog_link_is_down'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:5984: warning: Function parameter or member 'adapter' not described in 'ngbe_watchdog_flush_tx'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:6051: warning: Function parameter or member 'adapter' not described in 'ngbe_watchdog_subtask'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:6081: warning: Function parameter or member 't' not described in 'ngbe_service_timer'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:6081: warning: Excess function parameter 'data' description in 'ngbe_service_timer'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:6939: warning: Function parameter or member 'dev' not described in 'ngbe_setup_tc'
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:6939: warning: Excess function parameter 'netdev' description in 'ngbe_setup_tc'
vim +/status +4272 drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c
4269
4270 int ngbe_hic_get_lldp(struct ngbe_hw *hw)
4271 {
> 4272 int status;
4273 struct ngbe_hic_write_lldp buffer;
4274
4275 buffer.hdr.cmd = 0xf5;
4276 buffer.hdr.buf_len = 0x1;
4277 buffer.hdr.cmd_or_resp.cmd_resv = FW_CEM_CMD_RESERVED;
4278 buffer.hdr.checksum = FW_DEFAULT_CHECKSUM;
4279 buffer.func = hw->bus.lan_id;
4280
4281 status = ngbe_host_interface_command(hw, (u32 *)&buffer, sizeof(buffer), 5000, true);
4282 if (buffer.hdr.cmd_or_resp.ret_status == 0x80)
4283 return -1;
4284 else
4285 return (int)buffer.func;
4286 }
4287
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719 when selected by ARCH_MXC
by kernel test robot 21 Dec '25
by kernel test robot 21 Dec '25
21 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: f9b54a6714445cde83aeff0318cf767b3b81229d [1/1] arm64:ilp32: add ARM64_ILP32 to Kconfig
config: arm64-kismet-CONFIG_ARM64_ERRATUM_845719-CONFIG_ARCH_MXC-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201749.27PpuBNb-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201749.27PpuBNb-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/202512201749.27PpuBNb-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719 when selected by ARCH_MXC
WARNING: unmet direct dependencies detected for ARM64_ERRATUM_845719
Depends on [n]: AARCH32_EL0 [=n]
Selected by [y]:
- ARCH_MXC [=y] && ARCH_NXP [=y] && COMPAT [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-5.10 3415/3415] fs/fscache/main.c:51:21: warning: unused variable 'fscache_min_object_max_active'
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
Hi Baokun,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 1588d318a9e388d05b6cf5e2a63134c8beb6a355
commit: c55fa11d134b40dbe1a4a5512a7fe43497cb6d5e [3415/3415] fscache: limit fscache_object_max_active to avoid blocking
config: x86_64-buildonly-randconfig-006-20251215 (https://download.01.org/0day-ci/archive/20251220/202512202356.o0JDRNMp-lkp@…)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202356.o0JDRNMp-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/202512202356.o0JDRNMp-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <built-in>:2:
In file included from include/linux/compiler_types.h:69:
include/linux/compiler-clang.h:34:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
34 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:352:9: note: previous definition is here
352 | #define __SANITIZE_ADDRESS__ 1
| ^
>> fs/fscache/main.c:51:21: warning: unused variable 'fscache_min_object_max_active' [-Wunused-variable]
51 | static unsigned int fscache_min_object_max_active = FSCACHE_MIN_OBJECT_MAX_ACTIVE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> fs/fscache/main.c:52:21: warning: unused variable 'fscache_min_op_max_active' [-Wunused-variable]
52 | static unsigned int fscache_min_op_max_active = FSCACHE_MIN_OBJECT_MAX_ACTIVE / 2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
vim +/fscache_min_object_max_active +51 fs/fscache/main.c
46
47 /* these values serve as lower bounds, will be adjusted in fscache_init() */
48 #define FSCACHE_MIN_OBJECT_MAX_ACTIVE 4
49 static unsigned int fscache_object_max_active = FSCACHE_MIN_OBJECT_MAX_ACTIVE;
50 static unsigned int fscache_op_max_active = FSCACHE_MIN_OBJECT_MAX_ACTIVE / 2;
> 51 static unsigned int fscache_min_object_max_active = FSCACHE_MIN_OBJECT_MAX_ACTIVE;
> 52 static unsigned int fscache_min_op_max_active = FSCACHE_MIN_OBJECT_MAX_ACTIVE / 2;
53
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3544/3544] arch/arm64/kernel/cpufeature.c:2129:13: warning: 'enable_pseudo_nmi' defined but not used
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
Hi caijian,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: c6ce2becb89528f83c1ad3c0607ad05baecebc0a [3544/3544] arm64/cpufeature: Fix pseudo nmi identifier undeclaration complilation error
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251220/202512202332.cPVupLsK-lkp@…)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202332.cPVupLsK-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/202512202332.cPVupLsK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/cpufeature.c:2129:13: warning: 'enable_pseudo_nmi' defined but not used [-Wunused-variable]
2129 | static bool enable_pseudo_nmi;
| ^~~~~~~~~~~~~~~~~
vim +/enable_pseudo_nmi +2129 arch/arm64/kernel/cpufeature.c
3e6c69a058deaa Mark Brown 2019-12-09 2127
f72387e1f8bc99 Mark Brown 2022-11-03 2128 #if IS_ENABLED(CONFIG_ARM64_PSEUDO_NMI) || IS_ENABLED(CONFIG_ARM64_NMI)
bc3c03ccb4641f Julien Thierry 2019-01-31 @2129 static bool enable_pseudo_nmi;
f72387e1f8bc99 Mark Brown 2022-11-03 2130 #endif
bc3c03ccb4641f Julien Thierry 2019-01-31 2131
:::::: The code at line 2129 was first introduced by commit
:::::: bc3c03ccb4641fb940b27a0d369431876923a8fe arm64: Enable the support of pseudo-NMIs
:::::: TO: Julien Thierry <julien.thierry(a)arm.com>
:::::: CC: Catalin Marinas <catalin.marinas(a)arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 1/1] kismet: WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC when selected by X86
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 362f33cba6a04a09bcfc47ade55ace95e8a51c5b [1/1] ACPI: Add _OSC bits to advertise OS support for toggling CPU present/enabled
config: x86_64-kismet-CONFIG_ACPI_HOTPLUG_IGNORE_OSC-CONFIG_X86-0-0 (https://download.01.org/0day-ci/archive/20251220/202512201612.K3fc9gHn-lkp@…)
reproduce: (https://download.01.org/0day-ci/archive/20251220/202512201612.K3fc9gHn-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/202512201612.K3fc9gHn-lkp@intel.com/
kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC when selected by X86
WARNING: unmet direct dependencies detected for PGP_PRELOAD
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n]
Selected by [y]:
- PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y]
WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC
Depends on [n]: ACPI [=y] && ACPI_HOTPLUG_PRESENT_CPU [=n]
Selected by [y]:
- X86 [=y] && ACPI [=y] && HOTPLUG_CPU [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-5.10 3418/3418] arch/arm64/include/asm/stack_pointer.h:8:51: error: register 'sp' unsuitable for global register variables on this target
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 1588d318a9e388d05b6cf5e2a63134c8beb6a355
commit: 68ee705da160d123656dcbf9ebd449fb77b54bc0 [3418/3418] scripts: kernel-doc: Fix syntax error due to undeclared args variable
config: arm64-randconfig-002-20251217 (https://download.01.org/0day-ci/archive/20251221/202512210112.1in1n759-lkp@…)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251221/202512210112.1in1n759-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/202512210112.1in1n759-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:17:
In file included from include/linux/lockdep.h:14:
In file included from include/linux/smp.h:102:
In file included from include/linux/preempt.h:78:
In file included from arch/arm64/include/asm/preempt.h:5:
In file included from include/linux/thread_info.h:14:
In file included from include/linux/thread_bits.h:32:
In file included from arch/arm64/include/asm/thread_info.h:18:
>> arch/arm64/include/asm/stack_pointer.h:8:51: error: register 'sp' unsuitable for global register variables on this target
8 | register unsigned long current_stack_pointer asm ("sp");
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
20 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_VERSION, &res);
| ^
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:410:33: note: expanded from macro '__arm_smccc_1_1'
410 | register unsigned long r0 asm("r0"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:411:33: note: expanded from macro '__arm_smccc_1_1'
411 | register unsigned long r1 asm("r1"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:412:33: note: expanded from macro '__arm_smccc_1_1'
412 | register unsigned long r2 asm("r2"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:413:33: note: expanded from macro '__arm_smccc_1_1'
413 | register unsigned long r3 asm("r3"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:414:3: note: expanded from macro '__arm_smccc_1_1'
414 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
| ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/arm-smccc.h:395:37: note: expanded from macro '___declare_args'
395 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:13:1: note: expanded from here
13 | __declare_arg_0
| ^
include/linux/arm-smccc.h:349:34: note: expanded from macro '__declare_arg_0'
349 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:490:4: note: expanded from macro 'arm_smccc_1_1_invoke'
490 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:437:32: note: expanded from macro 'arm_smccc_1_1_smc'
437 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:410:33: note: expanded from macro '__arm_smccc_1_1'
410 | register unsigned long r0 asm("r0"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:490:4: note: expanded from macro 'arm_smccc_1_1_invoke'
490 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:437:32: note: expanded from macro 'arm_smccc_1_1_smc'
437 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:411:33: note: expanded from macro '__arm_smccc_1_1'
411 | register unsigned long r1 asm("r1"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:490:4: note: expanded from macro 'arm_smccc_1_1_invoke'
490 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:437:32: note: expanded from macro 'arm_smccc_1_1_smc'
437 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:412:33: note: expanded from macro '__arm_smccc_1_1'
412 | register unsigned long r2 asm("r2"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
include/linux/arm-smccc.h:490:4: note: expanded from macro 'arm_smccc_1_1_invoke'
490 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:437:32: note: expanded from macro 'arm_smccc_1_1_smc'
437 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:413:33: note: expanded from macro '__arm_smccc_1_1'
413 | register unsigned long r3 asm("r3"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:490:4: note: expanded from macro 'arm_smccc_1_1_invoke'
490 | arm_smccc_1_1_smc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:437:32: note: expanded from macro 'arm_smccc_1_1_smc'
437 | #define arm_smccc_1_1_smc(...) __arm_smccc_1_1(SMCCC_SMC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:414:3: note: expanded from macro '__arm_smccc_1_1'
414 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
| ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/arm-smccc.h:395:37: note: expanded from macro '___declare_args'
395 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:15:1: note: expanded from here
15 | __declare_arg_0
| ^
include/linux/arm-smccc.h:349:34: note: expanded from macro '__declare_arg_0'
349 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
>> arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
include/linux/arm-smccc.h:493:4: note: expanded from macro 'arm_smccc_1_1_invoke'
493 | __fail_smccc_1_1(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:462:3: note: expanded from macro '__fail_smccc_1_1'
462 | __declare_args(__count_args(__VA_ARGS__), __VA_ARGS__); \
| ^
include/linux/arm-smccc.h:396:37: note: expanded from macro '__declare_args'
396 | #define __declare_args(count, ...) ___declare_args(count, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:395:37: note: expanded from macro '___declare_args'
395 | #define ___declare_args(count, ...) __declare_arg_ ## count(__VA_ARGS__)
| ^
<scratch space>:17:1: note: expanded from here
17 | __declare_arg_0
| ^
include/linux/arm-smccc.h:349:34: note: expanded from macro '__declare_arg_0'
349 | register unsigned long arg0 asm("r0") = (u32)a0
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r0' in asm
66 | arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND64, 64, &res);
| ^
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:410:33: note: expanded from macro '__arm_smccc_1_1'
410 | register unsigned long r0 asm("r0"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r1' in asm
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:411:33: note: expanded from macro '__arm_smccc_1_1'
411 | register unsigned long r1 asm("r1"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
In file included from include/linux/sysfs.h:17:
In file included from include/linux/kernfs.h:13:
In file included from include/linux/mutex.h:19:
In file included from arch/arm64/include/asm/processor.h:38:
In file included from arch/arm64/include/asm/pointer_auth.h:6:
In file included from include/linux/random.h:104:
arch/arm64/include/asm/archrandom.h:66:3: error: unknown register name 'r2' in asm
include/linux/arm-smccc.h:487:4: note: expanded from macro 'arm_smccc_1_1_invoke'
487 | arm_smccc_1_1_hvc(__VA_ARGS__); \
| ^
include/linux/arm-smccc.h:453:32: note: expanded from macro 'arm_smccc_1_1_hvc'
453 | #define arm_smccc_1_1_hvc(...) __arm_smccc_1_1(SMCCC_HVC_INST, __VA_ARGS__)
| ^
include/linux/arm-smccc.h:412:33: note: expanded from macro '__arm_smccc_1_1'
412 | register unsigned long r2 asm("r2"); \
| ^
In file included from arch/arm64/kernel/asm-offsets.c:10:
In file included from include/linux/arm_sdei.h:8:
In file included from include/acpi/ghes.h:5:
In file included from include/acpi/apei.h:9:
In file included from include/linux/acpi.h:13:
In file included from include/linux/irqdomain.h:35:
In file included from include/linux/of.h:17:
In file included from include/linux/kobject.h:21:
vim +/sp +8 arch/arm64/include/asm/stack_pointer.h
a9ea0017ebe888 Mark Rutland 2016-11-03 4
a9ea0017ebe888 Mark Rutland 2016-11-03 5 /*
a9ea0017ebe888 Mark Rutland 2016-11-03 6 * how to get the current stack pointer from C
a9ea0017ebe888 Mark Rutland 2016-11-03 7 */
a9ea0017ebe888 Mark Rutland 2016-11-03 @8 register unsigned long current_stack_pointer asm ("sp");
a9ea0017ebe888 Mark Rutland 2016-11-03 9
:::::: The code at line 8 was first introduced by commit
:::::: a9ea0017ebe8889dfa136cac2aa7ae0ee6915e1f arm64: factor out current_stack_pointer
:::::: TO: Mark Rutland <mark.rutland(a)arm.com>
:::::: CC: Catalin Marinas <catalin.marinas(a)arm.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] include/net/sock.h:392:45: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean 'skc_daddr'?
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
Hi nebula_matrix_driver,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 468b0cd7b1e1c131b3ee7d2ea8b96521d3faad8b [3547/3547] net:nebula-matrix:Add S1000 SNIC driver support
config: x86_64-randconfig-074-20251216 (https://download.01.org/0day-ci/archive/20251220/202512202305.zGRxHl6E-lkp@…)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202305.zGRxHl6E-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/202512202305.zGRxHl6E-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h:15,
from drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.h:12,
from drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ktls.h:10,
from drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ktls.c:7:
drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_service.h:348:62: warning: 'struct ieee_ets' declared inside parameter list will not be visible outside of this definition or declaration
348 | int (*ieee_setets)(struct net_device *netdev, struct ieee_ets *ets);
| ^~~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_service.h:349:62: warning: 'struct ieee_ets' declared inside parameter list will not be visible outside of this definition or declaration
349 | int (*ieee_getets)(struct net_device *netdev, struct ieee_ets *ets);
| ^~~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_service.h:350:62: warning: 'struct ieee_pfc' declared inside parameter list will not be visible outside of this definition or declaration
350 | int (*ieee_setpfc)(struct net_device *netdev, struct ieee_pfc *pfc);
| ^~~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_service.h:351:62: warning: 'struct ieee_pfc' declared inside parameter list will not be visible outside of this definition or declaration
351 | int (*ieee_getpfc)(struct net_device *netdev, struct ieee_pfc *pfc);
| ^~~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_service.h:352:62: warning: 'struct dcb_app' declared inside parameter list will not be visible outside of this definition or declaration
352 | int (*ieee_setapp)(struct net_device *netdev, struct dcb_app *app);
| ^~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_service.h:353:62: warning: 'struct dcb_app' declared inside parameter list will not be visible outside of this definition or declaration
353 | int (*ieee_delapp)(struct net_device *netdev, struct dcb_app *app);
| ^~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.h:285:24: error: array type has incomplete element type 'struct dcb_app'
285 | struct dcb_app app[NBL_DSCP_MAX];
| ^~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.h:287:25: error: field 'ets' has incomplete type
287 | struct ieee_ets ets;
| ^~~
In file included from include/linux/tcp.h:19,
from include/linux/ipv6.h:100,
from drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:17,
from drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_product_base.h:10,
from drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h:10:
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ktls.c: In function 'nbl_ktls_add_rx_flow':
>> include/net/sock.h:392:45: error: 'struct sock_common' has no member named 'skc_v6_daddr'; did you mean 'skc_daddr'?
392 | #define sk_v6_daddr __sk_common.skc_v6_daddr
| ^~~~~~~~~~~~
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ktls.c:230:44: note: in expansion of macro 'sk_v6_daddr'
230 | be32_to_cpu_array(sip, sk->sk_v6_daddr.s6_addr32, NBL_KTLS_FLOW_IP_LEN);
| ^~~~~~~~~~~
vim +392 include/net/sock.h
4dc6dc7162c08b Eric Dumazet 2009-07-15 372
68835aba4d9b74 Eric Dumazet 2010-11-30 373 #define sk_dontcopy_begin __sk_common.skc_dontcopy_begin
68835aba4d9b74 Eric Dumazet 2010-11-30 374 #define sk_dontcopy_end __sk_common.skc_dontcopy_end
4dc6dc7162c08b Eric Dumazet 2009-07-15 375 #define sk_hash __sk_common.skc_hash
5080546682bae3 Eric Dumazet 2013-10-02 376 #define sk_portpair __sk_common.skc_portpair
05dbc7b59481ca Eric Dumazet 2013-10-03 377 #define sk_num __sk_common.skc_num
05dbc7b59481ca Eric Dumazet 2013-10-03 378 #define sk_dport __sk_common.skc_dport
5080546682bae3 Eric Dumazet 2013-10-02 379 #define sk_addrpair __sk_common.skc_addrpair
5080546682bae3 Eric Dumazet 2013-10-02 380 #define sk_daddr __sk_common.skc_daddr
5080546682bae3 Eric Dumazet 2013-10-02 381 #define sk_rcv_saddr __sk_common.skc_rcv_saddr
^1da177e4c3f41 Linus Torvalds 2005-04-16 382 #define sk_family __sk_common.skc_family
^1da177e4c3f41 Linus Torvalds 2005-04-16 383 #define sk_state __sk_common.skc_state
^1da177e4c3f41 Linus Torvalds 2005-04-16 384 #define sk_reuse __sk_common.skc_reuse
055dc21a1d1d21 Tom Herbert 2013-01-22 385 #define sk_reuseport __sk_common.skc_reuseport
9fe516ba3fb29b Eric Dumazet 2014-06-27 386 #define sk_ipv6only __sk_common.skc_ipv6only
26abe14379f8e2 Eric W. Biederman 2015-05-08 387 #define sk_net_refcnt __sk_common.skc_net_refcnt
^1da177e4c3f41 Linus Torvalds 2005-04-16 388 #define sk_bound_dev_if __sk_common.skc_bound_dev_if
^1da177e4c3f41 Linus Torvalds 2005-04-16 389 #define sk_bind_node __sk_common.skc_bind_node
8feaf0c0a5488b Arnaldo Carvalho de Melo 2005-08-09 390 #define sk_prot __sk_common.skc_prot
07feaebfcc10cd Eric W. Biederman 2007-09-12 391 #define sk_net __sk_common.skc_net
efe4208f47f907 Eric Dumazet 2013-10-03 @392 #define sk_v6_daddr __sk_common.skc_v6_daddr
efe4208f47f907 Eric Dumazet 2013-10-03 393 #define sk_v6_rcv_saddr __sk_common.skc_v6_rcv_saddr
33cf7c90fe2f97 Eric Dumazet 2015-03-11 394 #define sk_cookie __sk_common.skc_cookie
70da268b569d32 Eric Dumazet 2015-10-08 395 #define sk_incoming_cpu __sk_common.skc_incoming_cpu
8e5eb54d303b7c Eric Dumazet 2015-10-08 396 #define sk_flags __sk_common.skc_flags
ed53d0ab761f5c Eric Dumazet 2015-10-08 397 #define sk_rxhash __sk_common.skc_rxhash
efe4208f47f907 Eric Dumazet 2013-10-03 398
43f51df4172955 Eric Dumazet 2021-11-15 399 /* early demux fields */
8b3f91332291fa Jakub Kicinski 2021-12-23 400 struct dst_entry __rcu *sk_rx_dst;
43f51df4172955 Eric Dumazet 2021-11-15 401 int sk_rx_dst_ifindex;
43f51df4172955 Eric Dumazet 2021-11-15 402 u32 sk_rx_dst_cookie;
43f51df4172955 Eric Dumazet 2021-11-15 403
^1da177e4c3f41 Linus Torvalds 2005-04-16 404 socket_lock_t sk_lock;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 405 atomic_t sk_drops;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 406 int sk_rcvlowat;
9115e8cd2a0c6e Eric Dumazet 2016-12-03 407 struct sk_buff_head sk_error_queue;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 408 struct sk_buff_head sk_receive_queue;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 409 /*
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 410 * The backlog queue is special, it is always used with
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 411 * the per-socket spinlock held and requires low latency
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 412 * access. Therefore we special case it's implementation.
b178bb3dfc30d9 Eric Dumazet 2010-11-16 413 * Note : rmem_alloc is in this structure to fill a hole
b178bb3dfc30d9 Eric Dumazet 2010-11-16 414 * on 64bit arches, not because its logically part of
b178bb3dfc30d9 Eric Dumazet 2010-11-16 415 * backlog.
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 416 */
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 417 struct {
b178bb3dfc30d9 Eric Dumazet 2010-11-16 418 atomic_t rmem_alloc;
b178bb3dfc30d9 Eric Dumazet 2010-11-16 419 int len;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 420 struct sk_buff *head;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 421 struct sk_buff *tail;
fa438ccfdfd3f6 Eric Dumazet 2007-03-04 422 } sk_backlog;
f35f821935d8df Eric Dumazet 2021-11-15 423
:::::: The code at line 392 was first introduced by commit
:::::: efe4208f47f907b86f528788da711e8ab9dea44d ipv6: make lookups simpler and faster
:::::: TO: Eric Dumazet <edumazet(a)google.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:127:25: sparse: sparse: cast to restricted __be64
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: b0381d106c64a4e0d4e737badd78e7d15aa917f1 [3547/3547] crypto: ccp: Support SM2 algorithm for hygon ccp.
config: x86_64-randconfig-122-20251217 (https://download.01.org/0day-ci/archive/20251220/202512202220.cTtDMo8F-lkp@…)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202220.cTtDMo8F-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/202512202220.cTtDMo8F-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:127:25: sparse: sparse: cast to restricted __be64
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:128:25: sparse: sparse: cast to restricted __be64
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:146:25: sparse: sparse: cast to restricted __be64
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:147:25: sparse: sparse: cast to restricted __be64
>> drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:150:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got restricted __be64 [usertype] @@
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:150:22: sparse: expected unsigned long long [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:150:22: sparse: got restricted __be64 [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:171:25: sparse: sparse: cast to restricted __be64
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:173:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got restricted __be64 [usertype] @@
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:173:22: sparse: expected unsigned long long [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:173:22: sparse: got restricted __be64 [usertype]
>> drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:202:25: sparse: sparse: cast to restricted __be32
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:208:33: sparse: sparse: cast to restricted __be32
>> drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:212:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:212:32: sparse: expected unsigned int [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:212:32: sparse: got restricted __be32 [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:215:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:215:24: sparse: expected unsigned int [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:215:24: sparse: got restricted __be32 [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:296:28: sparse: sparse: cast to restricted __be64
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:582:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:582:24: sparse: expected unsigned int [usertype]
drivers/crypto/ccp/ccp-crypto-sm2-hygon.c:582:24: sparse: got restricted __be32 [usertype]
vim +127 drivers/crypto/ccp/ccp-crypto-sm2-hygon.c
115
116 /* Return:
117 * 1: a > b
118 * -1: a < b
119 * 0: a = b
120 */
121 static int ccp_sm2_fp_cmp(const u64 *a, const u64 *b, u32 count)
122 {
123 u64 a_cpu, b_cpu;
124 u32 i;
125
126 for (i = 0; i < count; i++) {
> 127 a_cpu = be64_to_cpu(a[i]);
128 b_cpu = be64_to_cpu(b[i]);
129 if (a_cpu > b_cpu)
130 return 1;
131 else if (a_cpu < b_cpu)
132 return -1;
133 }
134
135 return 0;
136 }
137
138 /* a = a + b */
139 static void ccp_sm2_fp_add(u64 *a, const u64 *b, u32 count)
140 {
141 u64 a_cpu, b_cpu, c_cpu, d_cpu;
142 u32 carry = 0;
143 s32 i;
144
145 for (i = count - 1; i >= 0; i--) {
146 a_cpu = be64_to_cpu(a[i]);
147 b_cpu = be64_to_cpu(b[i]);
148 c_cpu = a_cpu + b_cpu;
149 d_cpu = c_cpu + carry;
> 150 a[i] = cpu_to_be64(d_cpu);
151
152 if (c_cpu < a_cpu)
153 carry = 1;
154 else if (carry && !d_cpu)
155 carry = 1;
156 else
157 carry = 0;
158 }
159 }
160
161 /* a = -a */
162 static void ccp_sm2_fp_neg(u64 *a, u32 count)
163 {
164 u64 a_cpu, c_cpu;
165 s32 i;
166
167 for (i = 0; i <= count - 1; i++)
168 a[i] = ~a[i];
169
170 for (i = count - 1; i >= 0; i--) {
171 a_cpu = be64_to_cpu(a[i]);
172 c_cpu = a_cpu + 1;
173 a[i] = cpu_to_be64(c_cpu);
174
175 if (a_cpu < c_cpu)
176 break;
177 }
178 }
179
180 /* a = a - b */
181 static void ccp_sm2_fp_sub(u64 *a, u64 *b, u32 count)
182 {
183 ccp_sm2_fp_neg(b, count);
184 ccp_sm2_fp_add(a, b, count);
185 }
186
187 /* a and tmp must be 64B, b and c must be 32B
188 * a = b * c
189 */
190 static void ccp_sm2_fp_mmul32(u8 *a, const u32 *b, const u32 *c, u8 *tmp)
191 {
192 u64 b_cpu, c_cpu, m_cpu;
193 u32 rem_cpu;
194 u32 *base, *m_cur;
195 int i, j, iter;
196
197 memset(a, 0, CCP_SM2_MMUL_LEN);
198
199 iter = 7;
200 base = (u32 *)(tmp + CCP_SM2_MMUL_LEN - sizeof(u32));
201 for (i = iter; i >= 0; i--) {
> 202 b_cpu = be32_to_cpu(b[i]);
203 memset(tmp, 0, CCP_SM2_MMUL_LEN);
204
205 rem_cpu = 0;
206 m_cur = base;
207 for (j = iter; j >= 0; j--) {
208 c_cpu = be32_to_cpu(c[j]);
209
210 m_cpu = b_cpu * c_cpu + rem_cpu;
211 rem_cpu = (u32)(m_cpu >> 32);
> 212 *m_cur = cpu_to_be32((u32)(m_cpu));
213 m_cur--;
214 }
215 *m_cur = cpu_to_be32(rem_cpu);
216 ccp_sm2_fp_add((u64 *)a, (u64 *)tmp,
217 CCP_SM2_MMUL_LEN / sizeof(u64));
218
219 base--;
220 }
221 }
222
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] drivers/net/ethernet/huawei/hinic/hinic_qp.c:49:26: sparse: sparse: cast to restricted __be32
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 9c1c9598010fbb9daa1e2a67d23830092fb6246a [3547/3547] net/hinic: Update Huawei Intelligent Network Card Driver: hinic
config: x86_64-randconfig-123-20251217 (https://download.01.org/0day-ci/archive/20251220/202512202204.UJ7VQphR-lkp@…)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202204.UJ7VQphR-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/202512202204.UJ7VQphR-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/huawei/hinic/hinic_qp.c:49:26: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:62:28: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:70:18: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_qp.c:85:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] status @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_qp.c:85:21: sparse: expected unsigned int [usertype] status
drivers/net/ethernet/huawei/hinic/hinic_qp.c:85:21: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_qp.c:96:20: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:107:24: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:114:23: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:122:23: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_qp.c:191:33: sparse: sparse: cast to restricted __be32
--
>> drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c:102:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected unsigned short @@ got restricted __be16 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c:102:24: sparse: expected unsigned short
drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c:102:24: sparse: got restricted __be16 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_dbg.c:161:22: sparse: sparse: cast removes address space '__iomem' of expression
--
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:158:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:158:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:158:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:160:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:160:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:160:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:195:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:195:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:195:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:197:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:197:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:197:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:233:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:233:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:233:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:235:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:235:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:235:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:271:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:271:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:271:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:273:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] val32 @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:273:28: sparse: expected unsigned int [assigned] [usertype] val32
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:273:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:274:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] csr_write_data_h @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:274:35: sparse: expected unsigned int [assigned] [usertype] csr_write_data_h
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:274:35: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:275:35: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [assigned] [usertype] csr_write_data_l @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:275:35: sparse: expected unsigned int [assigned] [usertype] csr_write_data_l
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:275:35: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:68:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] index @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:68:20: sparse: expected unsigned int [usertype] index
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:68:20: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] value @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: expected unsigned int [usertype] value
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:84:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] index @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:84:24: sparse: expected unsigned int [usertype] index
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:84:24: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:87:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:87:26: sparse: expected unsigned int
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:87:26: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:88:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:88:26: sparse: expected unsigned int
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:88:26: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] value @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: expected unsigned int [usertype] value
drivers/net/ethernet/huawei/hinic/hinic_sml_lt.c:56:21: sparse: got restricted __be32 [usertype]
--
>> drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:28:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:28:23: sparse: expected unsigned int [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:28:23: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:41:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] value @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:41:25: sparse: expected unsigned int [usertype] value
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:41:25: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:44:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctr_id @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:44:21: sparse: expected unsigned int [usertype] ctr_id
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:44:21: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:58:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] value @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:58:25: sparse: expected unsigned int [usertype] value
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:58:25: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:61:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctr_id @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:61:21: sparse: expected unsigned int [usertype] ctr_id
drivers/net/ethernet/huawei/hinic/hinic_sml_counter.c:61:21: sparse: got restricted __be32 [usertype]
--
>> drivers/net/ethernet/huawei/hinic/hinic_hwif.c:40:16: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_hwif.c:46:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int val @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:46:16: sparse: expected unsigned int val
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:46:16: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_hwif.c:592:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] [usertype] __iomem *cfg_regs_base @@ got void *cfg_reg_base @@
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:592:29: sparse: expected unsigned char [noderef] [usertype] __iomem *cfg_regs_base
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:592:29: sparse: got void *cfg_reg_base
>> drivers/net/ethernet/huawei/hinic/hinic_hwif.c:593:30: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] [usertype] __iomem *intr_regs_base @@ got void *intr_reg_base @@
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:593:30: sparse: expected unsigned char [noderef] [usertype] __iomem *intr_regs_base
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:593:30: sparse: got void *intr_reg_base
>> drivers/net/ethernet/huawei/hinic/hinic_hwif.c:596:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] [usertype] __iomem *db_base @@ got void *db_base @@
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:596:23: sparse: expected unsigned char [noderef] [usertype] __iomem *db_base
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:596:23: sparse: got void *db_base
>> drivers/net/ethernet/huawei/hinic/hinic_hwif.c:664:64: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted gfp_t [usertype] gfp @@ got unsigned int flag @@
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:664:64: sparse: expected restricted gfp_t [usertype] gfp
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:664:64: sparse: got unsigned int flag
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:679:64: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted gfp_t [usertype] gfp @@ got unsigned int flag @@
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:679:64: sparse: expected restricted gfp_t [usertype] gfp
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:679:64: sparse: got unsigned int flag
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:984:17: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_hwif.c:993:17: sparse: sparse: cast to restricted __be32
--
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:205:51: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got unsigned char [usertype] *cmd @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:205:51: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:205:51: sparse: got unsigned char [usertype] *cmd
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:219:44: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *ack @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:219:44: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:219:44: sparse: got void *ack
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:270:51: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got unsigned char [usertype] *cmd @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:270:51: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:270:51: sparse: got unsigned char [usertype] *cmd
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:375:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct pf_dev_info *dev_info @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:375:37: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:375:37: sparse: got struct pf_dev_info *dev_info
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:394:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got struct ffm_record_info *ffm_rd @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:394:37: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:394:37: sparse: got struct ffm_record_info *ffm_rd
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:459:54: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void *buf_in @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:459:54: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:459:54: sparse: got void *buf_in
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:480:44: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got unsigned short [usertype] *out_size @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:480:44: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:480:44: sparse: got unsigned short [usertype] *out_size
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:487:44: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *buf_out @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:487:44: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:487:44: sparse: got void *buf_out
>> drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:548:37: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void * @@
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:548:37: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_dbgtool_knl.c:548:37: sparse: got void *
--
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:362:6: sparse: sparse: symbol 'hinic_qp_prepare_cmdq_header' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:395:24: sparse: sparse: cast to restricted __be64
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:381:6: sparse: sparse: symbol 'hinic_sq_prepare_ctxt' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:457:24: sparse: sparse: cast to restricted __be64
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:443:6: sparse: sparse: symbol 'hinic_rq_prepare_ctxt' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:897:16: sparse: sparse: cast to restricted __be16
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:967:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [usertype] db_info @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:967:23: sparse: expected unsigned int [addressable] [usertype] db_info
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:967:23: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:971:31: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:971:31: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got unsigned long long [usertype] * @@
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:971:31: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:971:31: sparse: got unsigned long long [usertype] *
>> drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:1028:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __be16 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:1028:27: sparse: expected unsigned short [usertype]
drivers/net/ethernet/huawei/hinic/hinic_nic_io.c:1028:27: sparse: got restricted __be16 [usertype]
--
>> drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:629:6: sparse: sparse: symbol 'comm_ppf_to_pf_handler' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:647:5: sparse: sparse: symbol 'hinic_nic_ppf_mbox_handler' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:656:6: sparse: sparse: symbol 'hinic_nic_ppf_to_pf_handler' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_multi_host_mgmt.c:665:5: sparse: sparse: symbol 'hinic_register_slave_ppf' was not declared. Should it be static?
--
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:161:31: sparse: sparse: cast to restricted __be64
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:244:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:244:20: sparse: expected unsigned long long [usertype]
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:244:20: sparse: got restricted __be64 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:305:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] desc @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:305:20: sparse: expected unsigned long long [usertype] desc
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:305:20: sparse: got restricted __be64 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:355:20: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:359:25: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:419:31: sparse: sparse: cast to restricted __be64
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:783:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] hw_cmd_paddr @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:783:41: sparse: expected unsigned long long [usertype] hw_cmd_paddr
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:783:41: sparse: got restricted __be64 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:789:42: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] hw_cmd_paddr @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:789:42: sparse: expected unsigned long long [usertype] hw_cmd_paddr
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:789:42: sparse: got restricted __be64 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:816:37: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] hw_wb_resp_paddr @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:816:37: sparse: expected unsigned long long [usertype] hw_wb_resp_paddr
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:816:37: sparse: got restricted __be64 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:894:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] next_cell_paddr @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:894:43: sparse: expected unsigned long long [usertype] next_cell_paddr
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:894:43: sparse: got restricted __be64 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:937:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] next_cell_paddr @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:937:31: sparse: expected unsigned long long [usertype] next_cell_paddr
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:937:31: sparse: got restricted __be64 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:1001:46: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned int flag @@ got restricted gfp_t @@
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:1001:46: sparse: expected unsigned int flag
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:1001:46: sparse: got restricted gfp_t
drivers/net/ethernet/huawei/hinic/hinic_api_cmd.c:522:17: sparse: sparse: context imbalance in 'api_cmd' - different lock contexts for basic block
--
>> drivers/net/ethernet/huawei/hinic/hinic_wq.c:206:54: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned int flag @@ got restricted gfp_t @@
drivers/net/ethernet/huawei/hinic/hinic_wq.c:206:54: sparse: expected unsigned int flag
drivers/net/ethernet/huawei/hinic/hinic_wq.c:206:54: sparse: got restricted gfp_t
>> drivers/net/ethernet/huawei/hinic/hinic_wq.c:212:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_wq.c:212:24: sparse: expected unsigned long long [usertype]
drivers/net/ethernet/huawei/hinic/hinic_wq.c:212:24: sparse: got restricted __be64 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_wq.c:583:16: sparse: sparse: cast to restricted __be64
--
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:369:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [usertype] db_info @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:369:20: sparse: expected unsigned int [addressable] [usertype] db_info
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:369:20: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:372:28: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:372:28: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:372:28: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:372:28: sparse: got unsigned char [usertype] *
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:513:31: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:519:40: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got restricted __be64 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:519:40: sparse: expected unsigned long long [usertype]
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:519:40: sparse: got restricted __be64 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:533:21: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1124:27: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1196:25: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1262:37: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1297:31: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1367:26: sparse: sparse: cast removes address space '__iomem' of expression
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1367:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] [usertype] __iomem *db_base @@ got unsigned char [usertype] * @@
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1367:23: sparse: expected unsigned char [noderef] [usertype] __iomem *db_base
drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1367:23: sparse: got unsigned char [usertype] *
>> drivers/net/ethernet/huawei/hinic/hinic_cmdq.c:1384:5: sparse: sparse: symbol 'hinic_set_cmdq_ctxts' was not declared. Should it be static?
--
>> drivers/net/ethernet/huawei/hinic/hinic_rx.c:149:44: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_high @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_rx.c:149:44: sparse: expected unsigned int [usertype] addr_high
drivers/net/ethernet/huawei/hinic/hinic_rx.c:149:44: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_rx.c:151:43: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] addr_low @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_rx.c:151:43: sparse: expected unsigned int [usertype] addr_low
drivers/net/ethernet/huawei/hinic/hinic_rx.c:151:43: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_rx.c:171:6: sparse: sparse: symbol 'hinic_rx_free_buffers' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_rx.c:533:24: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_rx.c:560:6: sparse: sparse: symbol 'rx_pass_super_cqe' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_rx.c:633:26: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_rx.c:641:28: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_rx.c:642:28: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_rx.c:662:46: sparse: sparse: cast to restricted __be32
--
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:551:35: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_tx.c:552:35: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_tx.c:553:35: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:913:5: sparse: sparse: symbol 'hinic_setup_tx_wqe' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:1100:5: sparse: sparse: symbol 'hinic_stop_sq' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] hi_addr @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: expected unsigned int [usertype] hi_addr
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] lo_addr @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: expected unsigned int [usertype] lo_addr
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: expected unsigned int [usertype] len
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] hi_addr @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: expected unsigned int [usertype] hi_addr
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] lo_addr @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: expected unsigned int [usertype] lo_addr
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: expected unsigned int [usertype] len
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] hi_addr @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: expected unsigned int [usertype] hi_addr
drivers/net/ethernet/huawei/hinic/hinic_tx.c:112:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] lo_addr @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: expected unsigned int [usertype] lo_addr
drivers/net/ethernet/huawei/hinic/hinic_tx.c:113:28: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] len @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: expected unsigned int [usertype] len
drivers/net/ethernet/huawei/hinic/hinic_tx.c:114:25: sparse: got restricted __be32 [usertype]
--
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:796:5: sparse: sparse: symbol 'set_vf_mbox_random_id' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:872:21: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:846:6: sparse: sparse: symbol 'check_vf_mbox_random_id' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:951:54: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:951:54: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:951:54: sparse: got unsigned char [usertype] *
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:974:58: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got unsigned char [usertype] * @@
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:974:58: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:974:58: sparse: got unsigned char [usertype] *
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1009:6: sparse: sparse: symbol 'dump_mox_reg' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1024:22: sparse: sparse: cast to restricted __be64
>> drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1567:25: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [usertype] *data @@ got unsigned char [noderef] [usertype] __iomem * @@
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1567:25: sparse: expected unsigned char [usertype] *data
drivers/net/ethernet/huawei/hinic/hinic_mbox.c:1567:25: sparse: got unsigned char [noderef] [usertype] __iomem *
--
>> drivers/net/ethernet/huawei/hinic/hinic_eqs.c:524:29: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_eqs.c:544:37: sparse: sparse: cast to restricted __be64
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:603:24: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_eqs.c:902:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:902:25: sparse: expected unsigned int [usertype]
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:902:25: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_eqs.c:920:28: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] desc @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:920:28: sparse: expected unsigned int [usertype] desc
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:920:28: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:1435:17: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_eqs.c:1453:17: sparse: sparse: cast to restricted __be32
--
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:115:43: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void *in_buff @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:115:43: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:115:43: sparse: got void *in_buff
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:182:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *out_buf @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:182:32: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:182:32: sparse: got void *out_buf
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:698:5: sparse: sparse: symbol 'get_pfc_info' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:720:5: sparse: sparse: symbol 'set_pfc_control' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:752:5: sparse: sparse: symbol 'set_ets' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:827:5: sparse: sparse: symbol 'get_support_up' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:855:5: sparse: sparse: symbol 'get_support_tc' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:875:5: sparse: sparse: symbol 'get_ets_info' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:893:5: sparse: sparse: symbol 'set_pfc_priority' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1386:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *out_buf @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1386:32: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1386:32: sparse: got void *out_buf
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1468:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *out_buf @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1468:32: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1468:32: sparse: got void *out_buf
>> drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1714:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void * @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1714:35: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:1714:35: sparse: got void *
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2068:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *out_buf @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2068:32: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2068:32: sparse: got void *out_buf
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2157:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void *out_buf @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2157:32: sparse: expected void [noderef] __user *to
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2157:32: sparse: got void *out_buf
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2294:38: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void * @@
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2294:38: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/huawei/hinic/hinic_nictool.c:2294:38: sparse: got void *
--
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:38:6: sparse: sparse: symbol 'g_rdma_mtts_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:39:6: sparse: sparse: symbol 'g_rdma_qps_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:40:6: sparse: sparse: symbol 'g_rdma_mpts_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:41:6: sparse: sparse: symbol 'g_vfs_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:55:6: sparse: sparse: symbol 'g_test_qpc_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:56:6: sparse: sparse: symbol 'g_test_qpc_resvd_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:57:6: sparse: sparse: symbol 'g_test_pagesize_reorder' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:58:6: sparse: sparse: symbol 'g_test_xid_alloc_mode' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:59:6: sparse: sparse: symbol 'g_test_gpa_check_enable' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:60:6: sparse: sparse: symbol 'g_test_qpc_alloc_mode' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:61:6: sparse: sparse: symbol 'g_test_scqc_alloc_mode' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:62:6: sparse: sparse: symbol 'g_test_max_conn' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:63:6: sparse: sparse: symbol 'g_test_max_cache_conn' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:64:6: sparse: sparse: symbol 'g_test_scqc_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:65:6: sparse: sparse: symbol 'g_test_mpt_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:66:6: sparse: sparse: symbol 'g_test_mpt_resvd' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:67:6: sparse: sparse: symbol 'g_test_scq_resvd' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:68:6: sparse: sparse: symbol 'g_test_hash_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:69:6: sparse: sparse: symbol 'g_test_reorder_num' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:1823:5: sparse: sparse: symbol 'cfg_set_func_sf_en' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_cfg.c:1866:5: sparse: sparse: symbol 'cfg_get_func_sf_en' was not declared. Should it be static?
--
>> drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:1858:6: sparse: sparse: symbol 'hinic_lp_test' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:2271:54: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:2271:54: sparse: expected unsigned int [usertype]
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:2271:54: sparse: got restricted __be32 [usertype]
--
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:133:1: sparse: sparse: symbol 'g_hinic_chip_list' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:447:6: sparse: sparse: symbol 'hinic_init_syncfw_timer' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:462:6: sparse: sparse: symbol 'hinic_destroy_syncfw_timer' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:505:31: sparse: sparse: symbol 'ver_incompat_table' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:550:5: sparse: sparse: symbol 'hinic_version_cmp' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:744:29: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] manufacture_id @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:744:29: sparse: expected unsigned int [usertype] manufacture_id
drivers/net/ethernet/huawei/hinic/hinic_lld.c:744:29: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:745:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] resp_code @@ got restricted __be16 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:745:24: sparse: expected unsigned short [usertype] resp_code
drivers/net/ethernet/huawei/hinic/hinic_lld.c:745:24: sparse: got restricted __be16 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:746:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] reason_code @@ got restricted __be16 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:746:26: sparse: expected unsigned short [usertype] reason_code
drivers/net/ethernet/huawei/hinic/hinic_lld.c:746:26: sparse: got restricted __be16 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:1139:6: sparse: sparse: symbol 'hinic_get_ppf_hwdev_by_pdev' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:1448:19: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:1785:57: sparse: sparse: Using plain integer as NULL pointer
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:1896:6: sparse: sparse: symbol 'hinic_event_process' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:1950:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *cfg_reg_base @@ got void [noderef] __iomem *cfg_reg_base @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1950:53: sparse: expected void *cfg_reg_base
drivers/net/ethernet/huawei/hinic/hinic_lld.c:1950:53: sparse: got void [noderef] __iomem *cfg_reg_base
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:2381:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] cfg_reg_base @@ got void [noderef] __iomem *cfg_reg_base @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2381:32: sparse: expected void *[assigned] cfg_reg_base
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2381:32: sparse: got void [noderef] __iomem *cfg_reg_base
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:2382:33: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] intr_reg_base @@ got void [noderef] __iomem *intr_reg_base @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2382:33: sparse: expected void *[assigned] intr_reg_base
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2382:33: sparse: got void [noderef] __iomem *intr_reg_base
>> drivers/net/ethernet/huawei/hinic/hinic_lld.c:2383:27: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[assigned] db_base @@ got void [noderef] __iomem *db_base @@
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2383:27: sparse: expected void *[assigned] db_base
drivers/net/ethernet/huawei/hinic/hinic_lld.c:2383:27: sparse: got void [noderef] __iomem *db_base
--
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:98:28: sparse: sparse: symbol 'nic_cmd_support_vf' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:531:5: sparse: sparse: symbol 'hinic_hiovs_set_cpath_vlan' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:557:5: sparse: sparse: symbol 'hinic_hiovs_del_cpath_vlan' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1740:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] group_index @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1740:30: sparse: expected unsigned int [usertype] group_index
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1740:30: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1743:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1743:23: sparse: expected unsigned int [usertype] size
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1743:23: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1745:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ctx @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1745:22: sparse: expected unsigned int [usertype] ctx
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1745:22: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1942:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] group_index @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1942:32: sparse: expected unsigned int [usertype] group_index
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1942:32: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1949:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1949:31: sparse: expected unsigned int [usertype]
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1949:31: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1956:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1956:25: sparse: expected unsigned int [usertype] size
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1956:25: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1968:27: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] offset @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1968:27: sparse: expected unsigned int [usertype] offset
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1968:27: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1969:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] size @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1969:25: sparse: expected unsigned int [usertype] size
drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:1969:25: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:2622:5: sparse: sparse: symbol 'nic_pf_mbox_handler' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_nic_cfg.c:3623:5: sparse: sparse: symbol 'hw_speed_convert' was not declared. Should it be static?
--
>> drivers/net/ethernet/huawei/hinic/hinic_dcb.c:62:6: sparse: sparse: symbol 'hinic_dcb_config_init' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_dcb.c:95:6: sparse: sparse: symbol 'hinic_init_ieee_settings' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_dcb.c:258:6: sparse: sparse: symbol 'hinic_set_prio_tc_map' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_dcb.c:1201:4: sparse: sparse: symbol 'hinic_dcbnl_set_all' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_dcb.c:1601:5: sparse: sparse: symbol '__set_cos_up_map' was not declared. Should it be static?
--
>> drivers/net/ethernet/huawei/hinic/hinic_main.c:182:5: sparse: sparse: symbol 'hinic_netdev_event' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_main.c:230:1: sparse: sparse: symbol 'g_hinic_netdev_notifiers_mutex' was not declared. Should it be static?
--
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:227:5: sparse: sparse: symbol 'hinic_hw_rx_buf_size' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:583:28: sparse: sparse: symbol 'hw_cmd_support_vf' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1061:5: sparse: sparse: symbol 'hinic_msg_to_mgmt_no_ack' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1153:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1153:22: sparse: expected unsigned int [usertype]
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1153:22: sparse: got restricted __be32 [usertype]
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1175:24: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:1978:5: sparse: sparse: symbol 'comm_pf_mbox_handler' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:2749:5: sparse: sparse: symbol 'hinic_ppf_ht_gpa_init' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:2795:6: sparse: sparse: symbol 'hinic_ppf_ht_gpa_deinit' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4581:5: sparse: sparse: symbol '_set_led_status' was not declared. Should it be static?
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4667:5: sparse: sparse: symbol 'hinic_get_phy_init_status' was not declared. Should it be static?
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4928:23: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4934:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [addressable] [assigned] [usertype] val @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4934:21: sparse: expected unsigned int [addressable] [assigned] [usertype] val
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4934:21: sparse: got restricted __be32 [usertype]
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4987:9: sparse: sparse: cast to restricted __be32
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4991:13: sparse: sparse: cast to restricted __be32
>> drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4994:18: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] udp_port @@ got restricted __be32 [usertype] @@
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4994:18: sparse: expected unsigned int [usertype] udp_port
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:4994:18: sparse: got restricted __be32 [usertype]
vim +49 drivers/net/ethernet/huawei/hinic/hinic_qp.c
33
34 void hinic_prepare_sq_ctrl(struct hinic_sq_ctrl *ctrl, u32 queue_info,
35 int nr_descs, u8 owner)
36 {
37 u32 ctrl_size, task_size, bufdesc_size;
38
39 ctrl_size = SIZE_8BYTES(sizeof(struct hinic_sq_ctrl));
40 task_size = SIZE_8BYTES(sizeof(struct hinic_sq_task));
41 bufdesc_size = BUF_DESC_SIZE(nr_descs);
42
43 ctrl->ctrl_fmt = SQ_CTRL_SET(bufdesc_size, BUFDESC_SECT_LEN) |
44 SQ_CTRL_SET(task_size, TASKSECT_LEN) |
45 SQ_CTRL_SET(SQ_NORMAL_WQE, DATA_FORMAT) |
46 SQ_CTRL_SET(ctrl_size, LEN) |
47 SQ_CTRL_SET(owner, OWNER);
48
> 49 ctrl->ctrl_fmt = be32_to_cpu(ctrl->ctrl_fmt);
50
51 ctrl->queue_info = queue_info;
52 ctrl->queue_info |= SQ_CTRL_QUEUE_INFO_SET(1U, UC);
53
54 if (!SQ_CTRL_QUEUE_INFO_GET(ctrl->queue_info, MSS)) {
55 ctrl->queue_info |= SQ_CTRL_QUEUE_INFO_SET(TX_MSS_DEFAULT, MSS);
56 } else if (SQ_CTRL_QUEUE_INFO_GET(ctrl->queue_info, MSS) < TX_MSS_MIN) {
57 /* mss should not less than 80 */
58 ctrl->queue_info = SQ_CTRL_QUEUE_INFO_CLEAR(ctrl->queue_info,
59 MSS);
60 ctrl->queue_info |= SQ_CTRL_QUEUE_INFO_SET(TX_MSS_MIN, MSS);
61 }
62 ctrl->queue_info = be32_to_cpu(ctrl->queue_info);
63 }
64
65 int hinic_get_rx_done(struct hinic_rq_cqe *cqe)
66 {
67 u32 status;
68 int rx_done;
69
70 status = be32_to_cpu(cqe->status);
71
72 rx_done = RQ_CQE_STATUS_GET(status, RXDONE);
73 if (!rx_done)
74 return 0;
75
76 return 1;
77 }
78
79 void hinic_clear_rx_done(struct hinic_rq_cqe *cqe, u32 status_old)
80 {
81 u32 status;
82
83 status = RQ_CQE_STATUS_CLEAR(status_old, RXDONE);
84
> 85 cqe->status = cpu_to_be32(status);
86
87 /* Make sure Rxdone has been set */
88 wmb();
89 }
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3547/3547] security/integrity/ima/ima_tpm.c:19:6: warning: no previous prototype for 'ima_pcrread'
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
Hi GONG,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 40151ef24c1a0f35c5e0442834eb776877e66683 [3547/3547] ima: rot: Prepare TPM as an RoT
config: x86_64-randconfig-006-20251216 (https://download.01.org/0day-ci/archive/20251220/202512202204.7yVczgx9-lkp@…)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202204.7yVczgx9-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/202512202204.7yVczgx9-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> security/integrity/ima/ima_tpm.c:19:6: warning: no previous prototype for 'ima_pcrread' [-Wmissing-prototypes]
19 | void ima_pcrread(u32 idx, struct tpm_digest *d)
| ^~~~~~~~~~~
security/integrity/ima/ima_tpm.c:28:5: warning: no previous prototype for 'ima_pcr_extend' [-Wmissing-prototypes]
28 | int ima_pcr_extend(struct tpm_digest *digests_arg, int pcr)
| ^~~~~~~~~~~~~~
>> security/integrity/ima/ima_tpm.c:41:5: warning: no previous prototype for 'ima_tpm_init' [-Wmissing-prototypes]
41 | int ima_tpm_init(struct ima_rot *rot)
| ^~~~~~~~~~~~
>> security/integrity/ima/ima_tpm.c:53:5: warning: no previous prototype for 'ima_tpm_extend' [-Wmissing-prototypes]
53 | int ima_tpm_extend(struct tpm_digest *digests_arg, const void *args)
| ^~~~~~~~~~~~~~
>> security/integrity/ima/ima_tpm.c:60:5: warning: no previous prototype for 'ima_tpm_calc_boot_aggregate' [-Wmissing-prototypes]
60 | int ima_tpm_calc_boot_aggregate(struct ima_digest_data *hash)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/ima_pcrread +19 security/integrity/ima/ima_tpm.c
18
> 19 void ima_pcrread(u32 idx, struct tpm_digest *d)
20 {
21 if (!ima_tpm_chip)
22 return;
23
24 if (tpm_pcr_read(ima_tpm_chip, idx, d) != 0)
25 pr_err("Error Communicating to TPM chip\n");
26 }
27
28 int ima_pcr_extend(struct tpm_digest *digests_arg, int pcr)
29 {
30 int result = 0;
31
32 if (!ima_tpm_chip)
33 return result;
34
35 result = tpm_pcr_extend(ima_tpm_chip, pcr, digests_arg);
36 if (result != 0)
37 pr_err("Error Communicating to TPM chip, result: %d\n", result);
38 return result;
39 }
40
> 41 int ima_tpm_init(struct ima_rot *rot)
42 {
43 ima_tpm_chip = tpm_default_chip();
44 if (!ima_tpm_chip)
45 return -ENODEV;
46
47 rot->nr_allocated_banks = ima_tpm_chip->nr_allocated_banks;
48 rot->allocated_banks = ima_tpm_chip->allocated_banks;
49
50 return 0;
51 }
52
> 53 int ima_tpm_extend(struct tpm_digest *digests_arg, const void *args)
54 {
55 const int pcr = *(const int *)args;
56
57 return ima_pcr_extend(digests_arg, pcr);
58 }
59
> 60 int ima_tpm_calc_boot_aggregate(struct ima_digest_data *hash)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0
[openeuler:OLK-6.6 3557/3557] drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: sparse: incorrect type in argument 2 (different address spaces)
by kernel test robot 20 Dec '25
by kernel test robot 20 Dec '25
20 Dec '25
Hi Bennie,
First bad commit (maybe != root cause):
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: 04473ee9ed912a16fff0d8846ad565bbf3d63c77
commit: 69181c3c9413ccaa4dab458057d13efda520cb60 [3557/3557] Net: nebula_matrix: fix ci build warning
config: x86_64-randconfig-123-20251218 (https://download.01.org/0day-ci/archive/20251220/202512202249.7ZNqNGWi-lkp@…)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202249.7ZNqNGWi-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/202512202249.7ZNqNGWi-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:32:5: sparse: sparse: symbol 'nbl_serv_setup_queues' was not declared. Should it be static?
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:68:6: sparse: sparse: symbol 'nbl_serv_flush_rx_queues' was not declared. Should it be static?
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:77:5: sparse: sparse: symbol 'nbl_serv_setup_rings' was not declared. Should it be static?
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:124:6: sparse: sparse: symbol 'nbl_serv_stop_rings' was not declared. Should it be static?
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2116:6: sparse: sparse: symbol 'nbl_serv_pldmfw_op_pci_match_record' was not declared. Should it be static?
>> drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void * @@
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: expected void const [noderef] __user *from
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2528:38: sparse: got void *
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __user *to @@ got void * @@
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: expected void [noderef] __user *to
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2540:29: sparse: got void *
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c:2851:5: sparse: sparse: symbol 'nbl_serv_get_vf_base_vsi_id' was not declared. Should it be static?
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c: note: in included file (through arch/x86/include/asm/uaccess.h, include/linux/uaccess.h, include/linux/sched/task.h, ...):
arch/x86/include/asm/uaccess_64.h:88:24: sparse: sparse: cast removes address space '__user' of expression
arch/x86/include/asm/uaccess_64.h:88:24: sparse: sparse: cast removes address space '__user' of expression
vim +2528 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_service.c
bad535d287c9c10 Bennie Yan 2024-09-24 2511
bad535d287c9c10 Bennie Yan 2024-09-24 2512 static int nbl_serv_process_passthrough(struct nbl_service_mgt *serv_mgt,
bad535d287c9c10 Bennie Yan 2024-09-24 2513 unsigned int cmd, unsigned long arg)
bad535d287c9c10 Bennie Yan 2024-09-24 2514 {
bad535d287c9c10 Bennie Yan 2024-09-24 2515 struct nbl_dispatch_ops *disp_ops = NBL_SERV_MGT_TO_DISP_OPS(serv_mgt);
bad535d287c9c10 Bennie Yan 2024-09-24 2516 struct nbl_common_info *common = NBL_SERV_MGT_TO_COMMON(serv_mgt);
bad535d287c9c10 Bennie Yan 2024-09-24 2517 struct nbl_passthrough_fw_cmd_param *param = NULL, *result = NULL;
bad535d287c9c10 Bennie Yan 2024-09-24 2518 int ret = 0;
bad535d287c9c10 Bennie Yan 2024-09-24 2519
bad535d287c9c10 Bennie Yan 2024-09-24 2520 param = kzalloc(sizeof(*param), GFP_KERNEL);
bad535d287c9c10 Bennie Yan 2024-09-24 2521 if (!param)
bad535d287c9c10 Bennie Yan 2024-09-24 2522 goto alloc_param_fail;
bad535d287c9c10 Bennie Yan 2024-09-24 2523
bad535d287c9c10 Bennie Yan 2024-09-24 2524 result = kzalloc(sizeof(*result), GFP_KERNEL);
bad535d287c9c10 Bennie Yan 2024-09-24 2525 if (!result)
bad535d287c9c10 Bennie Yan 2024-09-24 2526 goto alloc_result_fail;
bad535d287c9c10 Bennie Yan 2024-09-24 2527
bad535d287c9c10 Bennie Yan 2024-09-24 @2528 ret = copy_from_user(param, (void *)arg, _IOC_SIZE(cmd));
bad535d287c9c10 Bennie Yan 2024-09-24 2529 if (ret) {
bad535d287c9c10 Bennie Yan 2024-09-24 2530 nbl_err(common, NBL_DEBUG_ST, "Bad access %d.\n", ret);
bad535d287c9c10 Bennie Yan 2024-09-24 2531 return ret;
bad535d287c9c10 Bennie Yan 2024-09-24 2532 }
bad535d287c9c10 Bennie Yan 2024-09-24 2533
bad535d287c9c10 Bennie Yan 2024-09-24 2534 nbl_debug(common, NBL_DEBUG_ST, "Passthough opcode: %d\n", param->opcode);
bad535d287c9c10 Bennie Yan 2024-09-24 2535
bad535d287c9c10 Bennie Yan 2024-09-24 2536 ret = disp_ops->passthrough_fw_cmd(NBL_SERV_MGT_TO_DISP_PRIV(serv_mgt), param, result);
bad535d287c9c10 Bennie Yan 2024-09-24 2537 if (ret)
bad535d287c9c10 Bennie Yan 2024-09-24 2538 goto passthrough_fail;
bad535d287c9c10 Bennie Yan 2024-09-24 2539
bad535d287c9c10 Bennie Yan 2024-09-24 2540 ret = copy_to_user((void *)arg, result, _IOC_SIZE(cmd));
bad535d287c9c10 Bennie Yan 2024-09-24 2541
bad535d287c9c10 Bennie Yan 2024-09-24 2542 passthrough_fail:
bad535d287c9c10 Bennie Yan 2024-09-24 2543 kfree(result);
bad535d287c9c10 Bennie Yan 2024-09-24 2544 alloc_result_fail:
bad535d287c9c10 Bennie Yan 2024-09-24 2545 kfree(param);
bad535d287c9c10 Bennie Yan 2024-09-24 2546 alloc_param_fail:
bad535d287c9c10 Bennie Yan 2024-09-24 2547 return ret;
bad535d287c9c10 Bennie Yan 2024-09-24 2548 }
bad535d287c9c10 Bennie Yan 2024-09-24 2549
:::::: The code at line 2528 was first introduced by commit
:::::: bad535d287c9c1056d99de3666be7da84de4a8fc Net:nbl_core: Add nbl_core-driver for nebula-matrix S1055AS series smart NIC.
:::::: TO: Bennie Yan <bennie.yan(a)nebula-matrix.com>
:::::: CC: Bennie Yan <bennie.yan(a)nebula-matrix.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0