tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 320eb81df4f6c1a1814fd02ebb4ba41eb80a3c7e commit: 34f79c11fb2f31ba05f13e42b936b3eae1783d40 [4042/4667] rpmsg: glink: Introduce packet tracepoints config: i386-randconfig-061-20240814 (https://download.01.org/0day-ci/archive/20240814/202408141659.CpPvwRMR-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240814/202408141659.CpPvwRMR-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/202408141659.CpPvwRMR-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/rpmsg/qcom_glink_native.c:414:9: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected unsigned int version @@ got restricted __le16 [assigned] [usertype] param1 @@ drivers/rpmsg/qcom_glink_native.c:414:9: sparse: expected unsigned int version drivers/rpmsg/qcom_glink_native.c:414:9: sparse: got restricted __le16 [assigned] [usertype] param1 >> drivers/rpmsg/qcom_glink_native.c:414:9: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int features @@ got restricted __le32 [assigned] [usertype] param2 @@ drivers/rpmsg/qcom_glink_native.c:414:9: sparse: expected unsigned int features drivers/rpmsg/qcom_glink_native.c:414:9: sparse: got restricted __le32 [assigned] [usertype] param2 >> drivers/rpmsg/qcom_glink_native.c:736:9: sparse: sparse: incorrect type in argument 5 (different base types) @@ expected unsigned int [usertype] count @@ got restricted __le32 [assigned] [usertype] count @@ drivers/rpmsg/qcom_glink_native.c:736:9: sparse: expected unsigned int [usertype] count drivers/rpmsg/qcom_glink_native.c:736:9: sparse: got restricted __le32 [assigned] [usertype] count >> drivers/rpmsg/qcom_glink_native.c:736:9: sparse: sparse: incorrect type in argument 6 (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le32 [assigned] [usertype] size @@ drivers/rpmsg/qcom_glink_native.c:736:9: sparse: expected unsigned int [usertype] size drivers/rpmsg/qcom_glink_native.c:736:9: sparse: got restricted __le32 [assigned] [usertype] size >> drivers/rpmsg/qcom_glink_native.c:736:9: sparse: sparse: incorrect type in argument 7 (different base types) @@ expected unsigned int [usertype] liid @@ got restricted __le32 [assigned] [usertype] liid @@ drivers/rpmsg/qcom_glink_native.c:736:9: sparse: expected unsigned int [usertype] liid drivers/rpmsg/qcom_glink_native.c:736:9: sparse: got restricted __le32 [assigned] [usertype] liid >> drivers/rpmsg/qcom_glink_native.c:930:9: sparse: sparse: restricted __le16 degrades to integer >> drivers/rpmsg/qcom_glink_native.c:1063:9: sparse: sparse: incorrect type in argument 6 (different base types) @@ expected unsigned int [usertype] size @@ got restricted __le32 @@ drivers/rpmsg/qcom_glink_native.c:1063:9: sparse: expected unsigned int [usertype] size drivers/rpmsg/qcom_glink_native.c:1063:9: sparse: got restricted __le32 >> drivers/rpmsg/qcom_glink_native.c:1063:9: sparse: sparse: incorrect type in argument 7 (different base types) @@ expected unsigned int [usertype] liid @@ got restricted __le32 @@ drivers/rpmsg/qcom_glink_native.c:1063:9: sparse: expected unsigned int [usertype] liid drivers/rpmsg/qcom_glink_native.c:1063:9: sparse: got restricted __le32 vim +414 drivers/rpmsg/qcom_glink_native.c 405 406 static void qcom_glink_send_version_ack(struct qcom_glink *glink) 407 { 408 struct glink_msg msg; 409 410 msg.cmd = cpu_to_le16(GLINK_CMD_VERSION_ACK); 411 msg.param1 = cpu_to_le16(GLINK_VERSION_1); 412 msg.param2 = cpu_to_le32(glink->features); 413 > 414 trace_qcom_glink_cmd_version_ack_tx(glink->label, msg.param1, msg.param2); 415 416 qcom_glink_tx(glink, &msg, sizeof(msg), NULL, 0, true); 417 } 418 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki