Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1591899rdb; Tue, 20 Feb 2024 00:23:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWrvzx03QOb4RXdY+gse3Cml4WTqSD6WRm4tB0CbNgIL2rWTpxUYTvGKSRCO40KBMUKHQcWkSOlnDyy9CxZ7BSCFEjF4DFCd4XkfBfJlQ== X-Google-Smtp-Source: AGHT+IGRe8saidYok6l0EB8xI6oiM3G6Q35RpItEIYgU3tRPotzruyEmf5WcDiIC80xFM1LpqExP X-Received: by 2002:a05:6a20:6f03:b0:1a0:85ed:4769 with SMTP id gt3-20020a056a206f0300b001a085ed4769mr16088464pzb.11.1708417420401; Tue, 20 Feb 2024 00:23:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708417420; cv=pass; d=google.com; s=arc-20160816; b=bxkvpRarmJh/2nv6V1vqIXjCwFIfND2Z2EKlnLLKexc5IDSppEp/a3zCApL8nfppRs ZUXAzf7r9pW1uhydRNruYVBZp7s+SO8w1AIzup4tZZd9JqYlct4pPqcan8vh6+6bRWXD A0Mt0PRUKRre3OxJshPI5ZWPeCCuCzVYZ+sjkzic8X44kZf2rpfBm4rD5ce239yl13p7 ymswPpy4WFav2oo6ZaptbTuAsEnvu8MjCI1M0PXcDJ/9NnAs/2MTNCfKCtkzGpRnhZUg LZ+53PK7fGSdGtO0BB72TV2XJiBU5tCLSNAUIHa7A3/EhspHY0wNWZejuJ/l+SqOdXtX pftw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=TK+KPfpRCZ7wcgqo9liD0OTWXh2pITVRFFW0qNpSdxs=; fh=5dexeeqUi5J35B4WC7XGW0Kyxo2pNbdv14pYAuDapo8=; b=udZzV75kwiT78H5o+YgVJg8Tk0DRmIXuCmFGvGJpDNk9JJoxEvyB79tOWBGwBbQhhi 025FuHK/1wnKh8zhmNtKOCw17r8Y+Vr8BwY3gy0GIoKST7FgAY3TrJEg2rQOtwfWca/n 4oVhxLjToc6vQoln4hswrPiUvhTmo6ux/UdRiOmEWX8QdEyKKlREzSelU4iqb4OGDrcu iTikq4VhNlSCcfyaqKn2xg1ezITOv65cLOr/tpAM/5bkCq6x+rHnel6mb48ZP8A2niSz agVdFeeJM4F/LyS8uOaikS1MJs8Rf5tkSqZyRGsRocah4sRQVHtCf6/DT3JjOWE1rZAg EonA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gGkMqD15; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gGkMqD15; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-72535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a187-20020a6366c4000000b005dbcf612461si6022138pgc.416.2024.02.20.00.23.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:23:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gGkMqD15; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=gGkMqD15; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-72535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 452B7B220B8 for ; Tue, 20 Feb 2024 08:22:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F17D35CDC6; Tue, 20 Feb 2024 08:21:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="gGkMqD15"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="T+SZd+Ja"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="gGkMqD15"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="T+SZd+Ja" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DDE15C912; Tue, 20 Feb 2024 08:21:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708417287; cv=none; b=bUOCGCb7i5aWwzbHSZQiIDB/0572OPe350upvn4jxseJCqv4s60ofzL/Vsoyexg3nLur+VPLOjqjA6HIy1nr+bwIyGrm3nMSHcmuVXfugP9IbfCs2ZEzv8jncpJhwjmyphKnLu2nhSazC6321WZVl9CAHnlGKzmLnYyRZpxHdfU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708417287; c=relaxed/simple; bh=pvEpXTJfYBO1izysVY89nja8dejLZqu6MdtK2FYb7A4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oyLh1DpjlqjNG0VxPIdYI3rnHKrD12Mp1xZJsoEKuxe4UopBG0nEh263eB73LYSBrdrQbXmPt/qnIeqMhHwKcHJq/duo05Ms0DKLbx2geSRD1ZHo9710DrsWlJ2FcsiAYvMM+3nqCj+jv/B6yz315IboHosn06E/X651jJxCmQU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=gGkMqD15; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=T+SZd+Ja; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=gGkMqD15; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=T+SZd+Ja; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 455BC2201A; Tue, 20 Feb 2024 08:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1708417283; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=TK+KPfpRCZ7wcgqo9liD0OTWXh2pITVRFFW0qNpSdxs=; b=gGkMqD152XsnajV3d34i/L+4anKW9ReoXd1jy+tz5ZNJUVRxFXo4HQ/36uZjlk4wBC3DVB N3UngC5VTkaFAjlv4/IqvBpuAEs+/2hAdONCvm4UI/w1vcQQwT4KhM7mRqGUHAmr9TClBl UuUyrxQlsZOKXckoQF7mARq6tUadNXU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1708417283; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=TK+KPfpRCZ7wcgqo9liD0OTWXh2pITVRFFW0qNpSdxs=; b=T+SZd+JaT3JWmsgQ1SDwDXWpnKnK2XOo2TnwVBF+XOkuAGRj6FOmau0k70Z0g7MovGRnhM mUOR5jw89T0AbiDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1708417283; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=TK+KPfpRCZ7wcgqo9liD0OTWXh2pITVRFFW0qNpSdxs=; b=gGkMqD152XsnajV3d34i/L+4anKW9ReoXd1jy+tz5ZNJUVRxFXo4HQ/36uZjlk4wBC3DVB N3UngC5VTkaFAjlv4/IqvBpuAEs+/2hAdONCvm4UI/w1vcQQwT4KhM7mRqGUHAmr9TClBl UuUyrxQlsZOKXckoQF7mARq6tUadNXU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1708417283; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=TK+KPfpRCZ7wcgqo9liD0OTWXh2pITVRFFW0qNpSdxs=; b=T+SZd+JaT3JWmsgQ1SDwDXWpnKnK2XOo2TnwVBF+XOkuAGRj6FOmau0k70Z0g7MovGRnhM mUOR5jw89T0AbiDQ== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 05ACD1358A; Tue, 20 Feb 2024 08:21:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap2.dmz-prg2.suse.org with ESMTPSA id FLmZOwJh1GUaWAAAn2gu4w (envelope-from ); Tue, 20 Feb 2024 08:21:22 +0000 Message-ID: <33618d22-f4c1-4d4a-a167-ace7d9a506c6@suse.de> Date: Tue, 20 Feb 2024 09:21:22 +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] sparc: Fix undefined reference to fb_is_primary_device To: Javier Martinez Canillas , linux-kernel@vger.kernel.org Cc: kernel test robot , oe-kbuild-all@lists.linux.dev, Andreas Larsson , Arnd Bergmann , "David S. Miller" , Helge Deller , sparclinux@vger.kernel.org References: <20240220003433.3316148-1-javierm@redhat.com> Content-Language: en-US From: Thomas Zimmermann Autocrypt: addr=tzimmermann@suse.de; keydata= xsBNBFs50uABCADEHPidWt974CaxBVbrIBwqcq/WURinJ3+2WlIrKWspiP83vfZKaXhFYsdg XH47fDVbPPj+d6tQrw5lPQCyqjwrCPYnq3WlIBnGPJ4/jreTL6V+qfKRDlGLWFjZcsrPJGE0 BeB5BbqP5erN1qylK9i3gPoQjXGhpBpQYwRrEyQyjuvk+Ev0K1Jc5tVDeJAuau3TGNgah4Yc hdHm3bkPjz9EErV85RwvImQ1dptvx6s7xzwXTgGAsaYZsL8WCwDaTuqFa1d1jjlaxg6+tZsB 9GluwvIhSezPgnEmimZDkGnZRRSFiGP8yjqTjjWuf0bSj5rUnTGiyLyRZRNGcXmu6hjlABEB AAHNJ1Rob21hcyBaaW1tZXJtYW5uIDx0emltbWVybWFubkBzdXNlLmRlPsLAjgQTAQgAOAIb AwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJftODH AAoJEGgNwR1TC3ojx1wH/0hKGWugiqDgLNXLRD/4TfHBEKmxIrmfu9Z5t7vwUKfwhFL6hqvo lXPJJKQpQ2z8+X2vZm/slsLn7J1yjrOsoJhKABDi+3QWWSGkaGwRJAdPVVyJMfJRNNNIKwVb U6B1BkX2XDKDGffF4TxlOpSQzdtNI/9gleOoUA8+jy8knnDYzjBNOZqLG2FuTdicBXblz0Mf vg41gd9kCwYXDnD91rJU8tzylXv03E75NCaTxTM+FBXPmsAVYQ4GYhhgFt8S2UWMoaaABLDe 7l5FdnLdDEcbmd8uLU2CaG4W2cLrUaI4jz2XbkcPQkqTQ3EB67hYkjiEE6Zy3ggOitiQGcqp j//OwE0EWznS4AEIAMYmP4M/V+T5RY5at/g7rUdNsLhWv1APYrh9RQefODYHrNRHUE9eosYb T6XMryR9hT8XlGOYRwKWwiQBoWSDiTMo/Xi29jUnn4BXfI2px2DTXwc22LKtLAgTRjP+qbU6 3Y0xnQN29UGDbYgyyK51DW3H0If2a3JNsheAAK+Xc9baj0LGIc8T9uiEWHBnCH+RdhgATnWW GKdDegUR5BkDfDg5O/FISymJBHx2Dyoklv5g4BzkgqTqwmaYzsl8UxZKvbaxq0zbehDda8lv hFXodNFMAgTLJlLuDYOGLK2AwbrS3Sp0AEbkpdJBb44qVlGm5bApZouHeJ/+n+7r12+lqdsA EQEAAcLAdgQYAQgAIAIbDBYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJftOH6AAoJEGgNwR1T C3ojVSkIALpAPkIJPQoURPb1VWjh34l0HlglmYHvZszJWTXYwavHR8+k6Baa6H7ufXNQtThR yIxJrQLW6rV5lm7TjhffEhxVCn37+cg0zZ3j7zIsSS0rx/aMwi6VhFJA5hfn3T0TtrijKP4A SAQO9xD1Zk9/61JWk8OysuIh7MXkl0fxbRKWE93XeQBhIJHQfnc+YBLprdnxR446Sh8Wn/2D Ya8cavuWf2zrB6cZurs048xe0UbSW5AOSo4V9M0jzYI4nZqTmPxYyXbm30Kvmz0rYVRaitYJ 4kyYYMhuULvrJDMjZRvaNe52tkKAvMevcGdt38H4KSVXAylqyQOW5zvPc4/sq9c= In-Reply-To: <20240220003433.3316148-1-javierm@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=gGkMqD15; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=T+SZd+Ja X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-4.50 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmx.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; BAYES_HAM(-3.00)[100.00%]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[9]; DBL_BLOCKED_OPENRESOLVER(0.00)[intel.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FREEMAIL_CC(0.00)[intel.com,lists.linux.dev,gaisler.com,arndb.de,davemloft.net,gmx.de,vger.kernel.org]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: -4.50 X-Rspamd-Queue-Id: 455BC2201A X-Spam-Flag: NO Am 20.02.24 um 01:34 schrieb Javier Martinez Canillas: > Commit 55bffc8170bb ("fbdev: Split frame buffer support in FB and FB_CORE > symbols") added a new FB_CORE Kconfig symbol, that can be enabled to only > have fbcon/VT and DRM fbdev emulation, but without support for any legacy > fbdev driver. > > Unfortunately, it missed to change a CONFIG_FB in arch/sparc/Makefile and > that leads to the following linking error in some sparc64 configurations: > > sparc64-linux-ld: drivers/video/fbdev/core/fbcon.o: in function `fbcon_fb_registered': >>> fbcon.c:(.text+0x4f60): undefined reference to `fb_is_primary_device' > Fixes: 55bffc8170bb ("fbdev: Split frame buffer support in FB and FB_CORE symbols") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/r/202401290306.IV8rhJ02-lkp@intel.com/ > Signed-off-by: Javier Martinez Canillas Reviewed-by: Thomas Zimmermann > --- > > I don't have a sparc64 toolchain to test this patch, but I'm pretty sure > that this is the correct fix for the linking error reported by the robot. > > arch/sparc/video/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sparc/video/Makefile b/arch/sparc/video/Makefile > index 6baddbd58e4d..d4d83f1702c6 100644 > --- a/arch/sparc/video/Makefile > +++ b/arch/sparc/video/Makefile > @@ -1,3 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0-only > > -obj-$(CONFIG_FB) += fbdev.o > +obj-$(CONFIG_FB_CORE) += fbdev.o -- -- Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nuernberg, Germany GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman HRB 36809 (AG Nuernberg)