Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp114739lqs; Thu, 13 Jun 2024 05:42:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV853pbLsdyyvoadCLUWxehqo4bXFC/cOdxDJcyhOImJrpfkzm8PeUMaz2JZNPqbbJ/mnKuM3tadQBiAsUsGwJKnZOWS60O4jLjd44o3g== X-Google-Smtp-Source: AGHT+IHxIZDeALB9l1RPeMIb4xxL5L4nlveYHa563HvisatFPjBNlSKLPnTlkM74ADSSBe3/N292 X-Received: by 2002:ac8:5f47:0:b0:440:dd96:be82 with SMTP id d75a77b69052e-4415abf7c59mr52876381cf.33.1718282565249; Thu, 13 Jun 2024 05:42:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718282565; cv=pass; d=google.com; s=arc-20160816; b=d+Z8TbJAl3XEEMHKdXPpGJUQXRBnxflNkzioPiwlYyfBmQRYNRUuAfxhvhrALWusON e1wKG81VkdcHZaUZnxcmcqMSxQIobUyyHia/ZNvLuzBM+PnM7EJiqUIKZTxJpWa4QO1F B2xlyChvhRiorPs7D2zN6ZS4RN8hupZMo8UVWm2EwtgIDeMshtc2xMa3KxzInu2fa9r6 TvthWam7kNOBVr1xpecv4ita0u4n4J88QnM2sRqWJkK0x43L74IJ3ZEkdxZKCytFgLOY ig6NqgzDhs8e5mZU+X2sQH/4MHkz33R/HUyHcnPjFoh2QhX93MddNOrVxike7g1rt7vE TkDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=HU9q3Hd5VVPxN9ur2IJQrUKcEF306a9Pi7babFHSWp4=; fh=nfHCkqgwq7rKwBLPS3czrpDO5Io0moykYiPEbkI9xHs=; b=gl05uxvkYGZGHdYzjWVbxarXTf8+UzV0SegAA6tRynyctJ5Ae06CyPW3Ma8ZEJThks YYxScnBbicrHCcXscfRLSP53tuASQkcPMQlmGSpBq6O1vK8xDyUOFit0a2Yb6VdH6hxO WRBCz/mBD8fYTtP0UGmKnzLBSx4wnXhfTA4HyJ3Vj+Su0hIgFIt5qSYPAYoxcSBi5Iso A6UJI6zHvPC6TTBra9ov4xCNRCd+pYbkBoqrGSzMg3QT4/EZ/jgtuMPvKq85AP/Hvjp4 vqxd5Wn2LGzmC1uvbI5b0noNzbICNi+WjIn8H2L9LWdkCsOfLGrFSn6mlMMq2wKs+U5i M7HQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=me5ueXM1; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-213224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-441ef3d89bcsi14256021cf.175.2024.06.13.05.42.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 05:42:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=me5ueXM1; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-213224-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213224-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F2B7E1C2449C for ; Thu, 13 Jun 2024 12:42:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A5AA139CFE; Thu, 13 Jun 2024 12:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="me5ueXM1" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 093C620ED for ; Thu, 13 Jun 2024 12:41:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282521; cv=none; b=KQ/c7D9DaEwt9ETmCq+Wtg9QE4orKB72hObIxvdhJnRH4D6jhIC7nN44OAq4y6scunBd5q7RxmAdkOLN/XfQov28O/oce8wT63ZjMCKindFnuOHUc1qH1SJApC/mMSCprr1XcbD9JUtnf0u9g835G62SiVuK8AnAz9LaoeedhOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718282521; c=relaxed/simple; bh=ttOJfvUelXPVznHlvv9zD4MIgIfpGKyfFitOZVzl5uk=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=QxogyEYgcIzOyPAsWswoUdRnaOFzREgodYHmV0MS6zMeKV6wkUpVXOgG9M4JeKdKXILOkv2svDTx9TRC7+Zcq0Fa0fcw5XKQcn/jCOSaSQPsfNiZF5dPbbuyuWI+O0oVvtEpxpoS7aPaMnw7Z7ahyoMrT6q7xrGsI8lGyk1a9L8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=me5ueXM1; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718282520; x=1749818520; h=date:from:to:cc:subject:message-id:mime-version; bh=ttOJfvUelXPVznHlvv9zD4MIgIfpGKyfFitOZVzl5uk=; b=me5ueXM1fC6R0R6zCCY0IwZJ/Ylb14D9NqURMnxdzmNBS/zlHJC4Q1gg K2ZE/W2B9loP3u/U6O7q8/AVG7qmewFviLQAl60UQjXLsP0GhcxZs1o4d OUw7GzJyfygDsQIHHaQjWdGwCZfL7jCibn4cWRZ5pQewBiW5QsAL1GZqh rD7nQbxrKA5340/xAo2jSnwnGOs/72u3QLbWQq0grqVjR38TIkS5ZcBFi CuMfCIeDsy7fowcxVsOtUSMcNrpTtRMajcKgIuM2EIWeNrM5SzEUCt0sc CaDflg+0vJp31CHT/LwFveRik2z7b4pNlA4iqjUGOtiDV/gCXqHamdX5c Q==; X-CSE-ConnectionGUID: pEH5J4CeSYKAKMSi+F60sQ== X-CSE-MsgGUID: rbv/A1n7QuCGyRXQo2o+HQ== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32641693" X-IronPort-AV: E=Sophos;i="6.08,235,1712646000"; d="scan'208";a="32641693" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2024 05:41:59 -0700 X-CSE-ConnectionGUID: vlyW8AXbTNWrNm1fwEx/aA== X-CSE-MsgGUID: ZG1SeumTQLikt+GVsApFRw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,235,1712646000"; d="scan'208";a="45254690" Received: from lkp-server01.sh.intel.com (HELO 9e3ee4e9e062) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 13 Jun 2024 05:41:58 -0700 Received: from kbuild by 9e3ee4e9e062 with local (Exim 4.96) (envelope-from ) id 1sHjm7-00001u-1o; Thu, 13 Jun 2024 12:41:55 +0000 Date: Thu, 13 Jun 2024 20:41:26 +0800 From: kernel test robot To: Sakari Ailus Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Hans Verkuil Subject: drivers/media/pci/intel/ivsc/mei_csi.c:679:undefined reference to `ipu_bridge_parse_ssdb' Message-ID: <202406132238.3hXHG7nB-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2ccbdf43d5e758f8493a95252073cf9078a5fea5 commit: 33116eb12c6b29889cc161058ae0ee4124821b6f media: ivsc: csi: Use IPU bridge date: 6 weeks ago config: x86_64-randconfig-003-20231130 (https://download.01.org/0day-ci/archive/20240613/202406132238.3hXHG7nB-lkp@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240613/202406132238.3hXHG7nB-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202406132238.3hXHG7nB-lkp@intel.com/ All errors (new ones prefixed by >>): ld: drivers/media/pci/intel/ivsc/mei_csi.o: in function `mei_csi_probe': >> drivers/media/pci/intel/ivsc/mei_csi.c:679:(.text+0xd8e): undefined reference to `ipu_bridge_parse_ssdb' >> ld: drivers/media/pci/intel/ivsc/mei_csi.c:679:(.text+0xd93): undefined reference to `ipu_bridge_init' vim +679 drivers/media/pci/intel/ivsc/mei_csi.c 662 663 static int mei_csi_probe(struct mei_cl_device *cldev, 664 const struct mei_cl_device_id *id) 665 { 666 struct device *dev = &cldev->dev; 667 struct pci_dev *ipu; 668 struct mei_csi *csi; 669 unsigned int i; 670 int ret; 671 672 for (i = 0, ipu = NULL; !ipu && ipu6_pci_tbl[i].vendor; i++) 673 ipu = pci_get_device(ipu6_pci_tbl[i].vendor, 674 ipu6_pci_tbl[i].device, NULL); 675 676 if (!ipu) 677 return -ENODEV; 678 > 679 ret = ipu_bridge_init(&ipu->dev, ipu_bridge_parse_ssdb); 680 if (ret < 0) 681 return ret; 682 if (WARN_ON(!dev_fwnode(dev))) 683 return -ENXIO; 684 685 csi = devm_kzalloc(dev, sizeof(struct mei_csi), GFP_KERNEL); 686 if (!csi) 687 return -ENOMEM; 688 689 csi->cldev = cldev; 690 mutex_init(&csi->lock); 691 init_completion(&csi->cmd_completion); 692 693 mei_cldev_set_drvdata(cldev, csi); 694 695 ret = mei_cldev_enable(cldev); 696 if (ret < 0) { 697 dev_err(dev, "mei_cldev_enable failed: %d\n", ret); 698 goto destroy_mutex; 699 } 700 701 ret = mei_cldev_register_rx_cb(cldev, mei_csi_rx); 702 if (ret) { 703 dev_err(dev, "event cb registration failed: %d\n", ret); 704 goto err_disable; 705 } 706 707 ret = mei_csi_parse_firmware(csi); 708 if (ret) 709 goto err_disable; 710 711 csi->subdev.dev = &cldev->dev; 712 csi->subdev.state_lock = &csi->lock; 713 v4l2_subdev_init(&csi->subdev, &mei_csi_subdev_ops); 714 csi->subdev.internal_ops = &mei_csi_internal_ops; 715 v4l2_set_subdevdata(&csi->subdev, csi); 716 csi->subdev.flags = V4L2_SUBDEV_FL_HAS_DEVNODE | 717 V4L2_SUBDEV_FL_HAS_EVENTS; 718 csi->subdev.entity.function = MEDIA_ENT_F_VID_IF_BRIDGE; 719 csi->subdev.entity.ops = &mei_csi_entity_ops; 720 721 snprintf(csi->subdev.name, sizeof(csi->subdev.name), 722 MEI_CSI_ENTITY_NAME); 723 724 ret = mei_csi_init_controls(csi); 725 if (ret) 726 goto err_ctrl_handler; 727 728 csi->pads[CSI_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; 729 csi->pads[CSI_PAD_SINK].flags = MEDIA_PAD_FL_SINK; 730 ret = media_entity_pads_init(&csi->subdev.entity, CSI_NUM_PADS, 731 csi->pads); 732 if (ret) 733 goto err_ctrl_handler; 734 735 ret = v4l2_subdev_init_finalize(&csi->subdev); 736 if (ret < 0) 737 goto err_entity; 738 739 ret = v4l2_async_register_subdev(&csi->subdev); 740 if (ret < 0) 741 goto err_subdev; 742 743 pm_runtime_enable(&cldev->dev); 744 745 return 0; 746 747 err_subdev: 748 v4l2_subdev_cleanup(&csi->subdev); 749 750 err_entity: 751 media_entity_cleanup(&csi->subdev.entity); 752 753 err_ctrl_handler: 754 v4l2_ctrl_handler_free(&csi->ctrl_handler); 755 v4l2_async_nf_unregister(&csi->notifier); 756 v4l2_async_nf_cleanup(&csi->notifier); 757 758 err_disable: 759 mei_cldev_disable(cldev); 760 761 destroy_mutex: 762 mutex_destroy(&csi->lock); 763 764 return ret; 765 } 766 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki