tree: git://linuxtv.org/sailus/media_tree.git master head: f6a458a2c82c225125c937cfd5675c2a3c494b33 commit: f6a458a2c82c225125c937cfd5675c2a3c494b33 [41/41] media: pci: intel: ivsc: Add ACE submodule config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230801/202308010053.Fi9ibMjW-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230801/202308010053.Fi9ibMjW-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/202308010053.Fi9ibMjW-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): drivers/media/pci/intel/ivsc/mei_ace.c: In function 'mei_ace_post_probe_work': >> drivers/media/pci/intel/ivsc/mei_ace.c:444:41: warning: implicit conversion from 'enum ace_cmd_id' to 'enum ace_camera_owner' [-Wenum-conversion] 444 | ret = ace_set_camera_owner(ace, ACE_SWITCH_CAMERA_TO_HOST); | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/pci/intel/ivsc/mei_ace.c: In function 'mei_ace_remove': drivers/media/pci/intel/ivsc/mei_ace.c:529:35: warning: implicit conversion from 'enum ace_cmd_id' to 'enum ace_camera_owner' [-Wenum-conversion] 529 | ace_set_camera_owner(ace, ACE_SWITCH_CAMERA_TO_IVSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/pci/intel/ivsc/mei_ace.c: In function 'mei_ace_runtime_suspend': drivers/media/pci/intel/ivsc/mei_ace.c:538:42: warning: implicit conversion from 'enum ace_cmd_id' to 'enum ace_camera_owner' [-Wenum-conversion] 538 | return ace_set_camera_owner(ace, ACE_SWITCH_CAMERA_TO_IVSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/pci/intel/ivsc/mei_ace.c: In function 'mei_ace_runtime_resume': drivers/media/pci/intel/ivsc/mei_ace.c:545:42: warning: implicit conversion from 'enum ace_cmd_id' to 'enum ace_camera_owner' [-Wenum-conversion] 545 | return ace_set_camera_owner(ace, ACE_SWITCH_CAMERA_TO_HOST); | ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +444 drivers/media/pci/intel/ivsc/mei_ace.c 432 433 /* switch camera to host before probe sensor device */ 434 static void mei_ace_post_probe_work(struct work_struct *work) 435 { 436 struct acpi_device *adev; 437 struct mei_ace *ace; 438 struct device *dev; 439 int ret; 440 441 ace = container_of(work, struct mei_ace, work); 442 dev = &ace->cldev->dev; 443 > 444 ret = ace_set_camera_owner(ace, ACE_SWITCH_CAMERA_TO_HOST); 445 if (ret) { 446 dev_err(dev, "switch camera to host failed: %d\n", ret); 447 return; 448 } 449 450 adev = ACPI_COMPANION(dev->parent); 451 if (!adev) 452 return; 453 454 acpi_dev_clear_dependencies(adev); 455 } 456 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki