tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 0f5f12ac05f36f117e793656c3f560625e927f1b commit: 086fdb48bc65d6fde0f0e7d42dbfb3c00ea52628 [939/4884] soc: qcom: add ADSP PDCharger ULOG driver config: i386-randconfig-061-20231206 (https://download.01.org/0day-ci/archive/20231206/202312060355.M0eJtq4X-lkp@xxxxxxxxx/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060355.M0eJtq4X-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202312060355.M0eJtq4X-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/soc/qcom/pmic_pdcharger_ulog.c:57:34: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] owner @@ got int @@ drivers/soc/qcom/pmic_pdcharger_ulog.c:57:34: sparse: expected restricted __le32 [usertype] owner drivers/soc/qcom/pmic_pdcharger_ulog.c:57:34: sparse: got int >> drivers/soc/qcom/pmic_pdcharger_ulog.c:58:33: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] type @@ got int @@ drivers/soc/qcom/pmic_pdcharger_ulog.c:58:33: sparse: expected restricted __le32 [usertype] type drivers/soc/qcom/pmic_pdcharger_ulog.c:58:33: sparse: got int >> drivers/soc/qcom/pmic_pdcharger_ulog.c:59:35: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __le32 [usertype] opcode @@ got int @@ drivers/soc/qcom/pmic_pdcharger_ulog.c:59:35: sparse: expected restricted __le32 [usertype] opcode drivers/soc/qcom/pmic_pdcharger_ulog.c:59:35: sparse: got int vim +57 drivers/soc/qcom/pmic_pdcharger_ulog.c 52 53 static int pmic_pdcharger_ulog_request(struct pmic_pdcharger_ulog *pg) 54 { 55 struct get_ulog_req_msg req_msg = { 56 .hdr = { > 57 .owner = MSG_OWNER_CHG_ULOG, > 58 .type = MSG_TYPE_REQ_RESP, > 59 .opcode = GET_CHG_ULOG_REQ 60 }, 61 .log_size = MAX_ULOG_SIZE 62 }; 63 64 return pmic_pdcharger_ulog_write_async(pg, &req_msg, sizeof(req_msg)); 65 } 66 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki