Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp796790ybb; Fri, 20 Mar 2020 08:13:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvR/IgpNcXLNGH7N4aj4IRNbZBHPJaiLTkrdDbwikUZEV8+YIbv797o7kornFAgefYL9vVx X-Received: by 2002:aca:eb4e:: with SMTP id j75mr7055994oih.18.1584717231150; Fri, 20 Mar 2020 08:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584717231; cv=none; d=google.com; s=arc-20160816; b=PvLevc7lvfQuDPZwOmouvx2WpwR5XcCIY/22HHoQe+YzJgLY0xN43dwdNpJYNQNKLt FDGd9tm1KgzxCVT6gbWb4UnohJNMhcQUJXnkyYwgnHUwC02mntCS1euI1IZyaWLgylSE AOsR4PqWlYIW4xdPcZQAXfg4LfrFdB7+Ge2gg6XneaU2h4v+CrOX8Qn9LL1Bb4HRkLUu fvc0464d/z1hz9Zp5PzcPfXvOQcvPhwedyp+3xazL6JhWMm8Sl9wMOBw3XtmeWK78ZkG 7ov0Kb0cH+cZvvmYlWOa/xCa6hjxGhyxltjkvNApovIhy6SZ/0fdI2jouY5aKpsx55dD SN+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=93fJ0tgtJJHIzWZuQEDx6f5mym0h69xksF0VgXuE8Kk=; b=Rb+THFgcXqj/hwAnuAO4V6M4uEhhgBGWAmSxsF8/PXe970w/YpXtNFr4+7px6HM+KQ Rl4a7HKzP0Omi4JQ9fAcj6D7ZrTL5r4EaKaCPT08mCTInX5WdriGSo8sA971h/8ZNlsd 39BdeJRLI4EivYJlNcvCn9qGQ6XttqogdxkbnQ0ild5DVQE898gV7o1eqjpZvVnVQdUa JHPqYR2miij5BltEW7JKTk9Nth/Sn5x1HR9CVe8RC1ZIvzlPn05qv32EMxE9IM/Lf3P4 gwvVtk9PxQa8zzR+mM59VKeGgVGSp/uyrKQgwtG8m1LGwVZSsWCsOQOPZcobNDCyl5Wh HFog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fSI+Rzbo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t193si2948427oih.61.2020.03.20.08.13.31; Fri, 20 Mar 2020 08:13:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fSI+Rzbo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbgCTPNG (ORCPT + 99 others); Fri, 20 Mar 2020 11:13:06 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:56890 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbgCTPNF (ORCPT ); Fri, 20 Mar 2020 11:13:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description; bh=93fJ0tgtJJHIzWZuQEDx6f5mym0h69xksF0VgXuE8Kk=; b=fSI+RzboPVuOVxen7dYeYOCzXv q2vGzfi5990iKvXKKC6Zw9mhK0I+RJ8QVQ3izGashIvvIa1JNPx+JV1/bnlfvrqpZoNhTCBLogIE9 DhNFZE90ZORoFrh4TJI+isNTQkTmCjXdsg75iUpjQYbh484XebG/BT0g0A8C4DwkDaqFZWeIR81ns PlAxUfXGCD2hNWp1UOUAkjD2Wvq6ukjn8sc07iflvxlyl1Bv4ZIk2qjnDcpsgL4KmcwthB7g8Ccmv bZzsmiqZaZIce/mx6641uu0I6uQI+dZWu76Ib0Mr0zsS9Rp7BYZuUSr2zcPTzNP3zx/cwlZdC/UzK qd0b1TVA==; Received: from ip5f5ad4e9.dynamic.kabel-deutschland.de ([95.90.212.233] helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFJKa-0004CT-Uk; Fri, 20 Mar 2020 15:13:05 +0000 Date: Fri, 20 Mar 2020 16:13:01 +0100 From: Mauro Carvalho Chehab To: Martin Knoblauch Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: Build error on 5.5.10 after activating v4l in .config Message-ID: <20200320161301.36866c31@coco.lan> In-Reply-To: References: X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 20 Mar 2020 15:56:16 +0100 Martin Knoblauch escreveu: > Hi, (sesending without attachment) > > today I tried to build 5.5.10 based on a working 5.5.6 configuration. I > also enabled v4l in the configuration using menuconfig. This resulted in > the following build error: > > AS arch/x86/boot/compressed/efi_thunk_64.o > CC arch/x86/boot/compressed/misc.o > XZKERN arch/x86/boot/compressed/vmlinux.bin.xz > ERROR: "__devm_regmap_init_i2c" [drivers/media/i2c/tvp5150.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1 > make: *** [Makefile:1282: modules] Error 2 > make: *** Waiting for unfinished jobs.... > > After some searching the universal support tool, I applied the following > patch: > > --- ./drivers/media/i2c/Kconfig-orig 2020-03-18 13:57:30.288639392 +0100 > +++ ./drivers/media/i2c/Kconfig 2020-03-18 16:44:03.938384192 +0100 > @@ -378,6 +378,7 @@ > config VIDEO_TVP5150 > tristate "Texas Instruments TVP5150 video decoder" > depends on VIDEO_V4L2 && I2C > + select REGMAP_I2C > select V4L2_FWNODE > help > Support for the Texas Instruments TVP5150 video decoder. > > This made my build work again. But I am absolutely not sure this is the > right fix or whether it is complete. Yes, it is. There are other places where the same select is needed. There's already a patch upstream (linux-next) addressing this issue. It should be merged for 5.7. Regards, Mauro