Message ID | 20240207033744.13028-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-55900-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2028599dyb; Tue, 6 Feb 2024 22:04:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU9en9nFLv6RTy7hOWLU1c97gBorbnDnkgANI7FeJLXPiJPfWg8OXmJM8r40Vg+PaJVnSYh0nWHisyPDEvcSjHmtEhDGg== X-Google-Smtp-Source: AGHT+IHuuKt65FR6M61pLkTq5hUnLpEgVQwzwExuONBi0agPvqdp0+qYT0zwPrx3KTId4jakdkNU X-Received: by 2002:a92:dc50:0:b0:363:cc27:71e with SMTP id x16-20020a92dc50000000b00363cc27071emr5257328ilq.30.1707285841498; Tue, 06 Feb 2024 22:04:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707285841; cv=pass; d=google.com; s=arc-20160816; b=NAMO0PlkQfdIcyM0X0FQUxxS6nB3RWN1ztLRETLJK0Z+3kxeMP4PVz9h+/afX9NvN3 UglbYmIEvzklRB9tmluePy4MABFqXPPA2ZUTJoC3+LqstUqk/IhMlPVI5Z4gBnTDJ0HK QUZO5kvMHEVGKVK99O6idYyYTEz38REWPhedejT7UpGvWrR/eJJi8lHFrXk84s+7ex5W QOqB8gq0P0mz46NVlqnYul0Fb7DTHrGjoCiQ8XyOSfwN+0y8Yp10nTY1/tYKedgwUI+v v3Xs8MaxWehBINUVILFshie9x2hBeTJ/tEePAWaHkh2oS7AqgBoLHpPm9PCYyRlXtwFS RYaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=1V+vgE1bWgSihvPKS2sLFdir+8amFigQuNO048cKiKk=; fh=Qi92nEUP2oEFOm8c+RmJwX2IQ6aX7rK0PzXtXoRoBLs=; b=HMip14T13w1LxrdVPMZzp9C0CdeSUTt6Ug9ma/ceZW7y0u5aXB5yRciK+FoYAqh7Hh 764DuRwUWh326jGXoSWOJf+aaCDQbsZ5ip1xeSGBW42uh71VjPGHl61PZmyDvDixkEjy zFPWQ1e0jx9YBtklGRaHBhouDjec8RgUBBvzisxx/D0OZ1qiAb4+bcT05B/5n2hF7DVH 14qy1dqw2h6k0G/fItSXi9uTxx7xEB0gc0vFM2k55/K5kHkK/JHL3pSTzEB5TZYjqTmW uw0hsOzqGfk7zT7PKR1x12cQ+RIYEbiNISTXg68m9VSO+Louj6sUNSuY1t3mqeguXpOa hQ+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=3pF+Ll86; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-55900-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55900-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXMSUsP0KsUY+s49F7l2coFs5qSqh/sB01lVlTEsOwQDStsBoLXbz6bqLW4GkCvNiAL+SUgV+rRNUcITkXZG3n+uAhuDw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bx30-20020a056a02051e00b005cfbd3a776esi781869pgb.319.2024.02.06.22.04.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 22:04:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55900-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=3pF+Ll86; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-55900-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55900-ouuuleilei=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4A05E286D0B for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 03:38:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A11C012E63; Wed, 7 Feb 2024 03:37:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="3pF+Ll86" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 83E4110949 for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 03:37:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707277070; cv=none; b=cbE443m1MPRPJiyUzSwsL2GdLTzi30ZNDC1sQC8HYeCGnsV6DssZ/fXBMG7D6lfSPQmUAzwD1WvDwFnCxzrkKwkLSVVidDhGvmS2BpM0gTncxasi7sbqjD0aPZqFpbwGHpb7A2aJHDoFSFH9GudBX048RrsB3bygeYKtsw/gwAE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707277070; c=relaxed/simple; bh=SJW0eAfF0ycUGsvIG/nkGrfxSElHHASfpWsfKHgu6Zs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=st2GLeTQGFtJHm3wUNXowYRnGah0PSua/2clwYwt5jBHOxOceZ7iRxbR2AVYu8ZhEGfBC2tQtzTn0Cg1m/cCRq6W+zPKJEyADubkSa64pBHgbD09jwm0D7jxtD2PDqbtLgbnHj5ft60sB6YoPBf701XBt+92O1e8Nlu06u7mijM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=3pF+Ll86; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=1V+vgE1bWgSihvPKS2sLFdir+8amFigQuNO048cKiKk=; b=3pF+Ll86oxsOYLgGR66uKpNRjm 3IOt8cHKIsc4d6zt5jQxiZwFWFTTSolfW4tQJ/A9JZlmCyPwi4dhx5vogW33TTOr0Nj26yuN0Xsa1 OgbiYtCXCFQk//r9uVASMPIPWT53d7WbpjEPUdu96uq2hsyAKJyWnJ7mZDBUJSoQFbjKo/U7P/JJK HWvYX7kxDS3yES4kEx+1Pkx5ddInlaVww46RSmmpgW4MSN5Oa9vDbrAkFzJqdj+K1hcya7BxQFrKv iFnD6821Xoja+aXeTMLAe0EvDz3s5L60GdJgaMXvddgABdqZz4d/AmP0nMXOVAgEOcNpBgfSIT6NJ Y9WMEFkw==; Received: from [50.53.50.0] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXYkt-00000009Zqt-0IUX; Wed, 07 Feb 2024 03:37:47 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, "Aneesh Kumar K . V" <aneesh.kumar@kernel.org>, "Naveen N . Rao" <naveen.n.rao@linux.ibm.com>, linuxppc-dev@lists.ozlabs.org, Thomas Zimmermann <tzimmermann@suse.de>, Geoff Levand <geoff@infradead.org> Subject: [PATCH] drivers/ps3: select VIDEO to provide cmdline functions Date: Tue, 6 Feb 2024 19:37:44 -0800 Message-ID: <20240207033744.13028-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790218958959274405 X-GMAIL-MSGID: 1790218958959274405 |
Series |
drivers/ps3: select VIDEO to provide cmdline functions
|
|
Commit Message
Randy Dunlap
Feb. 7, 2024, 3:37 a.m. UTC
When VIDEO is not set, there is a build error. Fix that by selecting
VIDEO for PS3_PS3AV.
ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined!
Fixes: dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Geoff Levand <geoff@infradead.org>
---
arch/powerpc/platforms/ps3/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
Hi, On 2/7/24 12:37, Randy Dunlap wrote: > When VIDEO is not set, there is a build error. Fix that by selecting > VIDEO for PS3_PS3AV. > > ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined! > > Fixes: dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Michael Ellerman <mpe@ellerman.id.au> > Cc: Nicholas Piggin <npiggin@gmail.com> > Cc: Christophe Leroy <christophe.leroy@csgroup.eu> > Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org> > Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com> > Cc: linuxppc-dev@lists.ozlabs.org > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Geoff Levand <geoff@infradead.org> > --- > arch/powerpc/platforms/ps3/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff -- a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig > --- a/arch/powerpc/platforms/ps3/Kconfig > +++ b/arch/powerpc/platforms/ps3/Kconfig > @@ -67,6 +67,7 @@ config PS3_VUART > config PS3_PS3AV > depends on PPC_PS3 > tristate "PS3 AV settings driver" if PS3_ADVANCED > + select VIDEO > select PS3_VUART > default y > help Seems good. Acked-by: Geoff Levand <geoff@infradead.org>
Hi Am 07.02.24 um 04:37 schrieb Randy Dunlap: > When VIDEO is not set, there is a build error. Fix that by selecting > VIDEO for PS3_PS3AV. > > ERROR: modpost: ".video_get_options" [drivers/ps3/ps3av_mod.ko] undefined! > > Fixes: dae7fbf43fd0 ("driver/ps3: Include <video/cmdline.h> for mode parsing") Thanks for the fix. Please also add Fixes: a3b6792e990d ("video/cmdline: Introduce CONFIG_VIDEO for video= parameter") Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org That's the commit that exposed the problem. IDK why the old config option VIDEO_CMDLINE worked. > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Michael Ellerman <mpe@ellerman.id.au> > Cc: Nicholas Piggin <npiggin@gmail.com> > Cc: Christophe Leroy <christophe.leroy@csgroup.eu> > Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org> > Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com> > Cc: linuxppc-dev@lists.ozlabs.org > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Geoff Levand <geoff@infradead.org> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> > --- > arch/powerpc/platforms/ps3/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff -- a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig > --- a/arch/powerpc/platforms/ps3/Kconfig > +++ b/arch/powerpc/platforms/ps3/Kconfig > @@ -67,6 +67,7 @@ config PS3_VUART > config PS3_PS3AV > depends on PPC_PS3 > tristate "PS3 AV settings driver" if PS3_ADVANCED > + select VIDEO > select PS3_VUART > default y > help
diff -- a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig --- a/arch/powerpc/platforms/ps3/Kconfig +++ b/arch/powerpc/platforms/ps3/Kconfig @@ -67,6 +67,7 @@ config PS3_VUART config PS3_PS3AV depends on PPC_PS3 tristate "PS3 AV settings driver" if PS3_ADVANCED + select VIDEO select PS3_VUART default y help