Message ID | 20240214113830.3656367-1-dawei.li@shingroup.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-65154-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1149902dyb; Wed, 14 Feb 2024 03:43:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWa1gzjD9yniONxWiogGQH1DvHNL8jNA+zt/6hzT/Jgn92fBl84WI5gFxnRO5s+5rA06CbPvyu3WZd7TxtYZgNlQ/lBog== X-Google-Smtp-Source: AGHT+IGifYzYDcwsVCnfQtRYtsmCNf6OVSfMLGQukldDsPETn0u0p4lwB/cKVTcAs3cg9XyIRd6B X-Received: by 2002:a05:6808:1247:b0:3c0:2c0b:7bbd with SMTP id o7-20020a056808124700b003c02c0b7bbdmr2255692oiv.17.1707910984484; Wed, 14 Feb 2024 03:43:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707910984; cv=pass; d=google.com; s=arc-20160816; b=YEcQwWU4w0wm9WtNowM8RLU58vtPykX2SdQmoKcrugr7PKBne9rJwBAm8YIc1xpzWc 3OkD1yGsl0ppzx53TsjTlumi3+dRgd5CBcVgQip7YCaLp2W8AYB5l01BgFjN+lxv1JfS 5Kn2MA4NrQ64cEQx/gQu3TjNDdt/9Daogj37O0ZaU2s7cpSHTYu0P/VTLzbRi/U7YbfX eDJDslHWkHJP0E+mU/Etxc9DLhUENw/hHFUtBGwr55GXiDIWTX5tZphCg9WbCU/NRemh koEEBlyOOlxQmovILBp09G7cIiU3OZWr8GrBlVO+kfsMqM2s+5NUqKduRlOIFnKdcc4t ARJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2FSHBd35T2WGnxDOyPofFaBPBUbxGyXQ0N3kWEd+VWA=; fh=CLjjJ/FTfskB/VO4V5N+bpVmEnxHVJ0gIUcIWo4F/9c=; b=aXPk4rTaYL6TkStbIQwuFLenQVmeIfHLpD8LTT8lv6HcJxyD6HBchd0axnlu2x7Rdk taptM2kAcbvO9QnnjKP0WO/Mt3Zgjw9cyOeZzJkyE4x6yo9iFoONRHmV1azB+ufVX/ZG xgB3nUt/INHtp37YyDYz2K8iuTh5bwBd+uEfYtfeHuQj28VZUy4IdfSfqcqjXzUsYX1+ 9751z6htHOoheBHcnK6hq+YxbfBVHq/iHMDjAkYDYggSB9ldEMuvfiDYy+E0yAhqapg8 TIWlqFNUd6H0rG4egsWK2WAnsQNIX2k2qGty5PxhMRgXF/JYk1kxyyzIIH4OEZXSsFOr o9gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-65154-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65154-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn X-Forwarded-Encrypted: i=2; AJvYcCVis1aOkn/oi6uMKVX5d/I54EPua6nbhy4ZmSuQHnmr3Fuy+YbZRKw5CI5DChk9AlFEV6sJm/sOwvsoTVUvqe5aPlxQMw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w12-20020a05622a134c00b0042c3522ab68si5552591qtk.262.2024.02.14.03.43.04 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 03:43:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65154-ouuuleilei=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; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-65154-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65154-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn 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 46E0C1C2176A for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 11:43:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E9701B26E; Wed, 14 Feb 2024 11:42:50 +0000 (UTC) Received: from bg1.exmail.qq.com (bg1.exmail.qq.com [114.132.67.179]) (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 AB6AE18EB4; Wed, 14 Feb 2024 11:42:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.132.67.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707910969; cv=none; b=uenCLVujxKRmaZYP7WY47lb298JK8AnUODCw0+2Jewn8Xqit6d0Rj9Ay3eStyEHviHO/okFlaJfoTpBJAzIOtJi7pZfAvCZNLerX4z00Jp70qJouceXzvtV777eqH1UMmP/FjvBQJaohneaRTcH8yF5nCpTHTUBROg+yNrQSlt8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707910969; c=relaxed/simple; bh=jl4X2nLs/EGY7MkFbQnr2YKdAJST/jbucKSgzovRLww=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ejIGt14z6c2B6qbuLcQm8MQLUeADgIm/zEWYLXFQwgQo8nwFOVFHJO8wPEat0HmEX2L6HVPcqLxj4IsBY5pYRInprDm64nfrEAcx3n9f1XRZlKOwL5SvaHgdWImWiKFudBGR3yGAfe5EvBlAmBWNhdm97oC+PQdWOccJTE8+NJc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn; spf=pass smtp.mailfrom=shingroup.cn; arc=none smtp.client-ip=114.132.67.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp69t1707910725t3jqpubl X-QQ-Originating-IP: fDEDb8Byls7cymFQN/Cx3S4iUt4gnKrfZ1Si9YIXh+o= Received: from localhost ( [112.22.30.30]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 14 Feb 2024 19:38:44 +0800 (CST) X-QQ-SSF: 01400000002000504000B00A0000000 X-QQ-FEAT: uWtt+4oZiA/qS7T2ZI6hwxc3Siw4b/9Zv2iNiIVjBOb8bkerl33Bqy8OZLhaw 4G3zIxmMqqLcjxh5jd6LceKODJBczcv+wHcf6kCXBXHrtlzQNY9+UwClyu8CRNi38i+MrEM 1qW63T66HF7yzcHm0FWTnEI1pnliSA2c/vcfnTnRlZVPfUL8VRlVeMlFhwOYgNMU1cMM5hN YXtQUgLsFLk6v8rRIXLqSCDy5WlgLzXXvoMoOTtD6vm6uMU2V8N2vVH4IQ8NrpqmzNHUT2D SvSz0SqUELNknSeMm5UG9KwkVdhSBW/D/iAmX1s7MNXe2YZc3dSg8oTzax4oHHjOf0z0gd6 Q3iFWqDpSQc5uWnHcXgGgGy5K2e5XYG9l12v/lw+SoGt8piQmsZjpLioVjPBfqU6FmFlQXV dFcXxD69jGU= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 11672996985482081614 From: Dawei Li <dawei.li@shingroup.cn> To: 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, Dawei Li <dawei.li@shingroup.cn>, kernel test robot <lkp@intel.com> Subject: [PATCH] media: Add dependency of ov7670/mcam/cafe on CONFIG_V4L2_ASYNC explicitly Date: Wed, 14 Feb 2024 19:38:30 +0800 Message-Id: <20240214113830.3656367-1-dawei.li@shingroup.cn> X-Mailer: git-send-email 2.27.0 In-Reply-To: <202402130955.f6uxzdCA-lkp@intel.com> References: <202402130955.f6uxzdCA-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz5a-1 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790874468162140585 X-GMAIL-MSGID: 1790874468162140585 |
Series |
media: Add dependency of ov7670/mcam/cafe on CONFIG_V4L2_ASYNC explicitly
|
|
Commit Message
Dawei Li
Feb. 14, 2024, 11:38 a.m. UTC
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202402130955.f6uxzdCA-lkp@intel.com/ Signed-off-by: Dawei Li <dawei.li@shingroup.cn> --- drivers/media/i2c/Kconfig | 1 + drivers/media/platform/marvell/Kconfig | 2 ++ 2 files changed, 3 insertions(+)
Comments
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 <lkp@intel.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202402130955.f6uxzdCA-lkp@intel.com/ > Signed-off-by: Dawei Li <dawei.li@shingroup.cn> 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
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