* [bod:qcom-laptops-v6.18-rc4-camss-icp-bps-ipe-icp-boots+stats-b4 120/121] drivers/media/platform/qcom/camss/camss-icp.c:578:15: error: initializing 'const char **const' with an expression of type 'const char *const[20]' discards qualifiers
@ 2026-07-04 7:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-04 7:36 UTC (permalink / raw)
To: Bryan O'Donoghue; +Cc: llvm, oe-kbuild-all
Hi Bryan,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/bod/linux.git qcom-laptops-v6.18-rc4-camss-icp-bps-ipe-icp-boots+stats-b4
head: ebd1e440443121d18f730ab2aeea5586a754f36f
commit: 782e70f1ad20204721b37ade4a33837e76ac3b86 [120/121] media: qcom: camss: Switch on ICP and BPS as make options
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260704/202607041557.GCi7iiUR-lkp@intel.com/config)
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/20260704/202607041557.GCi7iiUR-lkp@intel.com/reproduce)
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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607041557.GCi7iiUR-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/media/platform/qcom/camss/camss-icp.c:26:
In file included from drivers/media/platform/qcom/camss/camss-icp.h:14:
>> drivers/media/platform/qcom/camss/camss-icp-hfi.h:479:36: warning: declaration of 'struct icp_device' will not be visible outside of this function [-Wvisibility]
479 | int icp_hfi_set_ubwc_config(struct icp_device *icp, u32 dev_type,
| ^
>> drivers/media/platform/qcom/camss/camss-icp-hfi.h:480:15: warning: declaration of 'struct icp_ubwc_cfg' will not be visible outside of this function [-Wvisibility]
480 | struct icp_ubwc_cfg *cfg);
| ^
>> drivers/media/platform/qcom/camss/camss-icp.c:224:6: warning: no previous prototype for function 'icp_dump_gp_regs' [-Wmissing-prototypes]
224 | void icp_dump_gp_regs(struct camss_icp *icp, const char *label)
| ^
drivers/media/platform/qcom/camss/camss-icp.c:224:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
224 | void icp_dump_gp_regs(struct camss_icp *icp, const char *label)
| ^
| static
drivers/media/platform/qcom/camss/camss-icp.c:243:17: warning: unused variable 'dev' [-Wunused-variable]
243 | struct device *dev = hfi->dev;
| ^~~
>> drivers/media/platform/qcom/camss/camss-icp.c:240:6: warning: no previous prototype for function 'icp_hfi_latch_regs' [-Wmissing-prototypes]
240 | void icp_hfi_latch_regs(struct camss_icp *icp)
| ^
drivers/media/platform/qcom/camss/camss-icp.c:240:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
240 | void icp_hfi_latch_regs(struct camss_icp *icp)
| ^
| static
>> drivers/media/platform/qcom/camss/camss-icp.c:578:15: error: initializing 'const char **const' with an expression of type 'const char *const[20]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
578 | .clk_names = x1e80100_clk_names,
| ^~~~~~~~~~~~~~~~~~
drivers/media/platform/qcom/camss/camss-icp.c:580:15: error: initializing 'const char **const' with an expression of type 'const char *const[4]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
580 | .noc_names = x1e80100_noc_names,
| ^~~~~~~~~~~~~~~~~~
5 warnings and 2 errors generated.
--
>> drivers/media/platform/qcom/camss/camss-bps.c:26:10: fatal error: 'camss-bps-cmd.h' file not found
26 | #include "camss-bps-cmd.h"
| ^~~~~~~~~~~~~~~~~
1 error generated.
vim +578 drivers/media/platform/qcom/camss/camss-icp.c
63514548c205d2 Bryan O'Donoghue 2026-07-03 575
63514548c205d2 Bryan O'Donoghue 2026-07-03 576 struct camss_icp_resources x1e80100_icp_res = {
63514548c205d2 Bryan O'Donoghue 2026-07-03 577 .pas_id = 33,
63514548c205d2 Bryan O'Donoghue 2026-07-03 @578 .clk_names = x1e80100_clk_names,
63514548c205d2 Bryan O'Donoghue 2026-07-03 579 .clk_num = ARRAY_SIZE(x1e80100_clk_names),
63514548c205d2 Bryan O'Donoghue 2026-07-03 580 .noc_names = x1e80100_noc_names,
63514548c205d2 Bryan O'Donoghue 2026-07-03 581 .noc_num = ARRAY_SIZE(x1e80100_noc_names),
63514548c205d2 Bryan O'Donoghue 2026-07-03 582 .hfi_res = {
63514548c205d2 Bryan O'Donoghue 2026-07-03 583 .shmem_size = SZ_1M, // change to 0x0FC00000 per downstream ?
63514548c205d2 Bryan O'Donoghue 2026-07-03 584 .qdss_size = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 585 .fwuncached_size = 7 * SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 586 /*
63514548c205d2 Bryan O'Donoghue 2026-07-03 587 * Carve sub-regions from FwUncached:
63514548c205d2 Bryan O'Donoghue 2026-07-03 588 * Over-allocate as CamX does for now.
63514548c205d2 Bryan O'Donoghue 2026-07-03 589 * +0x000000: SecHeap (1MB)
63514548c205d2 Bryan O'Donoghue 2026-07-03 590 * +0x100000: QTBL (1MB)
63514548c205d2 Bryan O'Donoghue 2026-07-03 591 * +0x200000: CMD_Q (1MB)
63514548c205d2 Bryan O'Donoghue 2026-07-03 592 * +0x300000: MSG_Q (1MB)
63514548c205d2 Bryan O'Donoghue 2026-07-03 593 * +0x400000: DBG_Q (1MB)
63514548c205d2 Bryan O'Donoghue 2026-07-03 594 * +0x500000: SFR (1MB alloc 4KB used)
63514548c205d2 Bryan O'Donoghue 2026-07-03 595 */
63514548c205d2 Bryan O'Donoghue 2026-07-03 596 .secheap_size = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 597 .q_tbl_size = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 598 .qdata_size[HFI_Q_CMD_TYPE] = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 599 .qdata_size[HFI_Q_MSG_TYPE] = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 600 .qdata_size[HFI_Q_DBG_TYPE] = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 601 .sfr_size = SZ_1M,
63514548c205d2 Bryan O'Donoghue 2026-07-03 602 },
63514548c205d2 Bryan O'Donoghue 2026-07-03 603 };
63514548c205d2 Bryan O'Donoghue 2026-07-03 604
:::::: The code at line 578 was first introduced by commit
:::::: 63514548c205d2605589a9789c27343506074acd media: qcom: camss: qcom-icp: Add minimal ICP driver with HFI infrastrucutre
:::::: TO: Bryan O'Donoghue <bod@kernel.org>
:::::: CC: Bryan O'Donoghue <bod@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-04 7:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-04 7:36 [bod:qcom-laptops-v6.18-rc4-camss-icp-bps-ipe-icp-boots+stats-b4 120/121] drivers/media/platform/qcom/camss/camss-icp.c:578:15: error: initializing 'const char **const' with an expression of type 'const char *const[20]' discards qualifiers kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox