Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp543174rdh; Wed, 14 Feb 2024 04:53:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVR6ifRNwsHW9VFaa0JvV0Swk9PbP9RXBa9bdOi2AA1QhfDdGwst4+4hfTv05I14eAAH7B3R4tUYYYS2c5RELM6WHgxUmCDqMWnHv8fdg== X-Google-Smtp-Source: AGHT+IEESQUQZhwUEoRO50D4DBsN8BJiyHNnr/X3QnF6amiHtgYDruokl214mwT3GeE3aM0Xseeo X-Received: by 2002:a05:620a:178b:b0:787:2b5a:31b0 with SMTP id ay11-20020a05620a178b00b007872b5a31b0mr1791534qkb.71.1707915195748; Wed, 14 Feb 2024 04:53:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707915195; cv=pass; d=google.com; s=arc-20160816; b=yjXZpM43KGRLx0lLylqurjbvoijSLg1UUaBBRS1tw8nTs9dTopTDOy25dJUPs/2RR6 J5WW4+mKQvXa1WnCa5Q++KA0qR1KtUrElFN2Xozr0x675vYmG0f7xeqTFeGTAWPY5TZp vYDUtFpreje5u6jvSc3tsoYsUE/QO2C9I5gptlZBOJORvc+EAdYCYcdVCG/4z8dhWA8O XEBFGEKoftScImGEwUdeZNx05nuEPP4rSO5bzfTiDbl3vOpOhgzpkPR9XQ/6bX6OvsGe RvI0JWXSv1jUYI+SbwcZHlMwslFO4RJIaDxmF+fymA1SF5CNXEflQPFGALjTS12HaT4m GyAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=h5DGlhP2rk0aAwj2zhB2Pk0r20W2fEFIBlVyPrrojM8=; fh=J1uPAcIrOWWPcAyLpyvS4N+a+/+d8nO1cNpCLiOeO6I=; b=ImuMOyp/WN+kewYaH+4SGe0cXeyFIZd7x6EmDAfbdvFIrDj23oBU59TBnv4XH4Borr bntK2YWxPPAX/olPPpUqayp1F2zCqP9MPflgRdtMRgtn5XzbgCSwPDFFHnpVyd6AKX/C Za7jvSefcFo5GiluSLE97QY4dJao28oQnFwuCAu0rjH55NqJAVf34s766ShXbL5YvD77 Bt2k+fhVc5clAiY5rzmP6NBsoQAyxUcJrIy79Dlic2a3DYz9xup8lH55walauapYH0kE xWJy7Byq6dcIEK1+RleMy0GO0gqCKGAoKmvVw+jaKL8A5TxPieSv5Xk5n3gtceHxb6uj C5qg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-65220-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl X-Forwarded-Encrypted: i=2; AJvYcCVAq1AeglIGTG4xDFttJb/D+YBrE2Qo0czSJbsDcfvXlz9116USqfK04KSGj6lVWFY79/xby4bRBSSb5Hh+sJBCxbqaVaqtc1F/3tmrlA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bq41-20020a05620a46a900b00785ceb78676si5230513qkb.405.2024.02.14.04.53.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 04:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65220-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-65220-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl 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 5F8571C21E8B for ; Wed, 14 Feb 2024 12:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5377F53E02; Wed, 14 Feb 2024 12:51:52 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A682852F72; Wed, 14 Feb 2024 12:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707915111; cv=none; b=mIY6A8MybAYcZJMNbqhMzSMVUcXZ0HrTfCcnBxUhnAQpzlV+JLQTPSUdnvB0BLpTtiFL1yyBVbGq3fVHFuCwlv60G+SA40k8L1yMiN/VU5PcbzQkfBvJ+ilozCoi3ExjaEuaoVX/fdQJXJqPADyUuWbrlEYCiWLGS23fyBXDB6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707915111; c=relaxed/simple; bh=h0bXe5xX9YW/t/MGvWzQw9+QyBCufsFJVGdR4dnIIOk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kwDa+gQK2scD49t/zSWwbyVSesSG454aMAgs/d9bh//oC7BeOv8SztH7uJ/NzEtq2gDURwEi88+UAvWIIYMNpUQq1RB71U2CbvKQqyEW6ibvPXVWSglLXsCHZNZnJRwekQfQGLPYPJN+cNDc34zzKpulLiQbho+DvHgPGKRGZkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 663E4C433C7; Wed, 14 Feb 2024 12:51:49 +0000 (UTC) Message-ID: Date: Wed, 14 Feb 2024 13:51:47 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] media: Add dependency of ov7670/mcam/cafe on CONFIG_V4L2_ASYNC explicitly Content-Language: en-US, nl To: Dawei Li , mchehab@kernel.org Cc: sakari.ailus@linux.intel.com, laurent.pinchart@ideasonboard.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com, oe-kbuild-all@lists.linux.dev, set_pte_at@outlook.com, kernel test robot References: <202402130955.f6uxzdCA-lkp@intel.com> <20240214113830.3656367-1-dawei.li@shingroup.cn> From: Hans Verkuil Autocrypt: addr=hverkuil@xs4all.nl; keydata= xsFNBFQ84W0BEAC7EF1iL4s3tY8cRTVkJT/297h0Hz0ypA+ByVM4CdU9sN6ua/YoFlr9k0K4 BFUlg7JzJoUuRbKxkYb8mmqOe722j7N3HO8+ofnio5cAP5W0WwDpM0kM84BeHU0aPSTsWiGR yw55SOK2JBSq7hueotWLfJLobMWhQii0Zd83hGT9SIt9uHaHjgwmtTH7MSTIiaY6N14nw2Ud C6Uykc1va0Wqqc2ov5ihgk/2k2SKa02ookQI3e79laOrbZl5BOXNKR9LguuOZdX4XYR3Zi6/ BsJ7pVCK9xkiVf8svlEl94IHb+sa1KrlgGv3fn5xgzDw8Z222TfFceDL/2EzUyTdWc4GaPMC E/c1B4UOle6ZHg02+I8tZicjzj5+yffv1lB5A1btG+AmoZrgf0X2O1B96fqgHx8w9PIpVERN YsmkfxvhfP3MO3oHh8UY1OLKdlKamMneCLk2up1Zlli347KMjHAVjBAiy8qOguKF9k7HOjif JCLYTkggrRi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BlQc85ArOiQZB Wm7L0repwr7zEJFEkdy8C81WRhMdPvHkAIh3RoY1SGcdB7rB3wCzfYkAuCBqaF7Zgfw8xkad KEiQTexRbM1sc/I8ACpla3N26SfQwrfg6V7TIoweP0RwDrcf5PVvwSWsRQp2LxFCkwnCXOra gYmkrmv0duG1FStpY+IIQn1TOkuXrciTVfZY1cZD0aVxwlxXBnUNZZNslldvXFtndxR0SFat sflovhDxKyhFwXOP0Rv8H378/+14TaykknRBIKEc0+lcr+EMOSUR5eg4aURb8Gc3Uc7fgQ6q UssTXzHPyj1hAyDpfu8DzAwlh4kKFTodxSsKAjI45SLjadSc94/5Gy8645Y1KgBzBPTH7Q== In-Reply-To: <20240214113830.3656367-1-dawei.li@shingroup.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14/02/2024 12:38, Dawei Li wrote: > Kernel test robot reports: > ld: drivers/media/i2c/ov7670.o: in function `ov7670_remove': > drivers/media/i2c/ov7670.c:2011: undefined reference to > `v4l2_async_unregister_subdev' > ld: drivers/media/i2c/ov7670.o: in function `ov7670_parse_dt': > drivers/media/i2c/ov7670.c:1836: undefined reference to > `v4l2_fwnode_endpoint_parse' > ld: drivers/media/i2c/ov7670.o: in function `ov7670_probe': > drivers/media/i2c/ov7670.c:1990: undefined reference to > `v4l2_async_register_subdev' > ld: drivers/media/platform/marvell/cafe-driver.o: in function > `cafe_pci_probe': >>> drivers/media/platform/marvell/cafe-driver.c:543: undefined reference > to `v4l2_async_nf_init' >>> ld: drivers/media/platform/marvell/cafe-driver.c:545: undefined > reference to `__v4l2_async_nf_add_i2c' > ld: drivers/media/platform/marvell/mcam-core.o: in function > `mccic_shutdown': >>> drivers/media/platform/marvell/mcam-core.c:1931: undefined reference to > `v4l2_async_nf_unregister' >>> ld: drivers/media/platform/marvell/mcam-core.c:1932: undefined reference > to `v4l2_async_nf_cleanup' > ld: drivers/media/platform/marvell/mcam-core.o: in function > `mccic_register': > drivers/media/platform/marvell/mcam-core.c:1910: undefined reference to > `v4l2_async_nf_unregister' > ld: drivers/media/platform/marvell/mcam-core.c:1911: undefined reference > to `v4l2_async_nf_cleanup' >>> ld: drivers/media/platform/marvell/mcam-core.c:1873: undefined reference > to `v4l2_async_nf_register' > > Add explicit dependency on CONFIG_V4L2_ASYNC to mute ld errors. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202402130955.f6uxzdCA-lkp@intel.com/ > Signed-off-by: Dawei Li This is a duplicate of: https://patchwork.linuxtv.org/project/linux-media/patch/20240213095555.454392-1-arnd@kernel.org/ The ov7670 undefined reference has been resolved quite some time ago, this kernel test robot build is from a 6 months old tree. I'll take Arnd's patch instead of yours. Regards, Hans > --- > drivers/media/i2c/Kconfig | 1 + > drivers/media/platform/marvell/Kconfig | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig > index 4c3435921f19..453cb4b81d6f 100644 > --- a/drivers/media/i2c/Kconfig > +++ b/drivers/media/i2c/Kconfig > @@ -523,6 +523,7 @@ config VIDEO_OV7640 > module will be called ov7640. > > config VIDEO_OV7670 > + select V4L2_ASYNC > tristate "OmniVision OV7670 sensor support" > help > This is a Video4Linux2 sensor driver for the OmniVision > diff --git a/drivers/media/platform/marvell/Kconfig b/drivers/media/platform/marvell/Kconfig > index d6499ffe30e8..48f5484478a0 100644 > --- a/drivers/media/platform/marvell/Kconfig > +++ b/drivers/media/platform/marvell/Kconfig > @@ -11,6 +11,7 @@ config VIDEO_CAFE_CCIC > select VIDEOBUF2_VMALLOC > select VIDEOBUF2_DMA_CONTIG > select VIDEOBUF2_DMA_SG > + select V4L2_ASYNC > help > This is a video4linux2 driver for the Marvell 88ALP01 integrated > CMOS camera controller. This is the controller found on first- > @@ -27,6 +28,7 @@ config VIDEO_MMP_CAMERA > select VIDEOBUF2_VMALLOC > select VIDEOBUF2_DMA_CONTIG > select VIDEOBUF2_DMA_SG > + select V4L2_ASYNC > help > This is a Video4Linux2 driver for the integrated camera > controller found on Marvell Armada 610 application