Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp959375lqo; Fri, 17 May 2024 06:54:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTY1ORrPHbrK7hx2g27qBhgispOyv/cw4Zpg+9FsYRx5PJdrH6aaNPOLK5z2HquTQQ30ZHKdK4HZGoOUgHNy/B8HVl99lVz1kERKJN5Q== X-Google-Smtp-Source: AGHT+IH+4+f/ozV0hRaA5O2Qj3Esy/9dTQf1roixfQdQ9jMHI7IqDJk1NWf+mCbzZdAti32lAS9Y X-Received: by 2002:a50:bb0e:0:b0:572:df77:c1bf with SMTP id 4fb4d7f45d1cf-5734d5974f2mr16233136a12.3.1715954098203; Fri, 17 May 2024 06:54:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715954098; cv=pass; d=google.com; s=arc-20160816; b=fz7DkWE75tfrw654gzEw557sWpnGMYGzg0u6qywk2dkDplf49/MVagRoQkK15AuL6O 3FWWUbAF+atcbhxiDA9EMwQflUKrkXRUwwvJBT5zNJS7XD3NxZ5t4ZUbb/nUmWZIYWSb NffSyVwdBMkg7w+iWegvM0zqQTFOPy5EKqOs6y1vykiayeq31oz7S7+GTa9ZDApHNfRD 0ufB8AZ/nLroN377VPwR2GdzOzF7aohEtkarA5lX/4VeB2sDGISxUGSy54VDxRmq5okq YWggN7uOGz9Rki5xF3+qwPbqQtd/sAEK00x/ZNjDdr4Xca2Fn/AOjOBz7jNLD4rLy1fg Gopw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ckgzF/gF0LVkJPIHaMi6FsUAJKsbsEhiiso6m6KhFLY=; fh=JB/OAeePvuLun5nef1mMfq/ea5JD9xYvlePlWdy0GdU=; b=o+IDEC1D9RpZTcjiZtb1KFG4GdxmtyN7Gzen6E/YogjsOpxxCEFYEojixW/ZwlK9y9 6sb566O4jydlB1o0440+JHJ/KbxfzwZpdAGGIt0ruo8vWhX8X07bnuOQDbc90G50QCo/ HAxkzqZwBmqCXpIV+YA1YjnQSXPN7zzXwCqpiOychDUNmmuIhocOUhayQ+xYLdTBgAh7 bxTU5TsD5vqp595eYyu4swBLNEbZq5JaC77TlX+Uq4oZxxAEiJhy5bhHxEhK2yyVHY5G sKma2aJXjIkOJ7l+6YyoJF+esda0l1mUuCGAE6VbIuQixo3ibSqgCun6NOOD9+snhgj1 gBHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FqciInBf; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-182162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5750b5fd7a8si1871067a12.335.2024.05.17.06.54.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 06:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FqciInBf; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-182162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id BE8F61F2327C for ; Fri, 17 May 2024 13:54:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7327758206; Fri, 17 May 2024 13:54:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FqciInBf" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 7F76D56B81 for ; Fri, 17 May 2024 13:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715954083; cv=none; b=IwNHFe1vMQlyBIjnpQwTuDosyeoxAVsaObp7xM3e9+QUraS5TDioQrz2M2EzTccyJUXLLkGbr2E8nc2KK2CDm7C8Qj8ybwlzSQyKALgZrjjcYKYl6nQnhvOEAxiCHaxAkZO8+OGI0DOc5zZFe97hIP5njN6e3YGOYTiUUgVMbv4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715954083; c=relaxed/simple; bh=PboiBS4ZzUdLaUHPHA2orxrOnIuUIXb03qsrzol/Lpk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cEyHSiaI3kbxawdp8vG7rUn/qcR6KimaTU3dJnZWn2r41j/KEcP4cs/tXBYQSsdEHAPmiv3Ygq+OI6WddOk1wI5fhwI1e4v/JfkOU8hy1f2pXwdXoPdbg5PmWICjFjX01fOPDv4GrNN+DFmHZvgYKnB3+fSbrEl2xldmd/kiYp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=FqciInBf; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715954079; h=from:from:reply-to:subject:subject: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; bh=ckgzF/gF0LVkJPIHaMi6FsUAJKsbsEhiiso6m6KhFLY=; b=FqciInBfECmndZ1+u6oABqdWo0Bd+IWXLMsHkU5LcTbnD3uGwMYyrRWFxww22zUPowYF96 58bTT7pqs5klw0js6L9fdI5u8oBIDWZES/16652BCXIJ3+L+/tRfeWpAIUpKFmkR/4GiwI DQRnfbDIzlTOgs7XpCvnkkxrUfLoefg= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-641-BzEV1W0BPOShsHVuZezzUA-1; Fri, 17 May 2024 09:54:38 -0400 X-MC-Unique: BzEV1W0BPOShsHVuZezzUA-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a59a0d2280cso673703066b.1 for ; Fri, 17 May 2024 06:54:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715954077; x=1716558877; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ckgzF/gF0LVkJPIHaMi6FsUAJKsbsEhiiso6m6KhFLY=; b=CuVamhTtEQ5TYB0Wa7asQRfbXWMnZmA1xBOiLtugxQzWmMs2tW9QAThSHL+Wgfx5kD jvWA/jkd0RCNuifWEQyYm38dGwkZBJv87eOt2J4OhS4fLSARKbQoLILyaFc4j1wnahsz ZtSdDmy4KNfS4+ChhsZadvfS3abdC/x66QG95DY+kVKS9iM5J160uBvPSrzoleGEi/mZ V0b5UrdK522qlA/bW0smfKmo/8dwyGEWnD6tuixEhOI5TrRHMx5RNDwkIr2Awr8CVHd8 Dcd0y6/rhbenhBprWx75v57D6SYMtxlRyuJKAnVvCkR56jo9Twbd5Z1lk4w6/u6g/PEG 6wkA== X-Forwarded-Encrypted: i=1; AJvYcCUUZ2pXfeBTEE7E3J8tzOJ2zPmqDZ7LoC4q8XXT2DOB93jXbm+Vyd1VSX8PhGc4C6HHaf0KPHGLRpaFOKauxGVUXNmrjNSAJelXkpiE X-Gm-Message-State: AOJu0YwrwPD2yeakElZa65Vv+3WS4OG1K/iSehgBvJz4Ors+FVFaTb9n RyxkVJcsFP5VV9m0JNBc66buwA9dOxBoqoTIyJXJDGhscvOcqUEFtZO9CxSQ8PdGQutzojUI+/i i+rwWVxM33BthUu8WJY0ZtThTwmJ2MLBGI+F/oxBMwuJklk01WSMIMxZTw0twyA== X-Received: by 2002:a17:906:ae45:b0:a59:c208:a4c with SMTP id a640c23a62f3a-a5a2d583d60mr1357057066b.17.1715954076936; Fri, 17 May 2024 06:54:36 -0700 (PDT) X-Received: by 2002:a17:906:ae45:b0:a59:c208:a4c with SMTP id a640c23a62f3a-a5a2d583d60mr1357053966b.17.1715954076330; Fri, 17 May 2024 06:54:36 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b17cd0sm1114128366b.214.2024.05.17.06.54.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 May 2024 06:54:35 -0700 (PDT) Message-ID: Date: Fri, 17 May 2024 15:54:35 +0200 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] arch: Fix name collision with ACPI's video.o To: Thomas Zimmermann , arnd@arndb.de, chaitanya.kumar.borah@intel.com, suresh.kumar.kurmi@intel.com, jani.saarinen@intel.com, davem@davemloft.net, andreas@gaisler.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, rafael@kernel.org Cc: linux-arch@vger.kernel.org, sparclinux@vger.kernel.org, linux-acpi@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20240517091557.25800-1-tzimmermann@suse.de> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: <20240517091557.25800-1-tzimmermann@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 5/17/24 11:14 AM, Thomas Zimmermann wrote: > Commit 2fd001cd3600 ("arch: Rename fbdev header and source files") > renames the video source files under arch/ such that they do not > refer to fbdev any longer. The new files named video.o conflict with > ACPI's video.ko module. Modprobing the ACPI module can then fail with > warnings about missing symbols, as shown below. > > (i915_selftest:1107) igt_kmod-WARNING: i915: Unknown symbol acpi_video_unregister (err -2) > (i915_selftest:1107) igt_kmod-WARNING: i915: Unknown symbol acpi_video_register_backlight (err -2) > (i915_selftest:1107) igt_kmod-WARNING: i915: Unknown symbol __acpi_video_get_backlight_type (err -2) > (i915_selftest:1107) igt_kmod-WARNING: i915: Unknown symbol acpi_video_register (err -2) > > Fix the issue by renaming the architecture's video.o to video-common.o. > > Reported-by: Chaitanya Kumar Borah > Closes: https://lore.kernel.org/intel-gfx/9dcac6e9-a3bf-4ace-bbdc-f697f767f9e0@suse.de/T/#t > Signed-off-by: Thomas Zimmermann > Fixes: 2fd001cd3600 ("arch: Rename fbdev header and source files") > Cc: Arnd Bergmann > Cc: linux-arch@vger.kernel.org > Cc: linux-fbdev@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > arch/sparc/video/Makefile | 2 +- > arch/sparc/video/{video.c => video-common.c} | 0 > arch/x86/video/Makefile | 2 +- > arch/x86/video/{video.c => video-common.c} | 0 > 4 files changed, 2 insertions(+), 2 deletions(-) > rename arch/sparc/video/{video.c => video-common.c} (100%) > rename arch/x86/video/{video.c => video-common.c} (100%) > > diff --git a/arch/sparc/video/Makefile b/arch/sparc/video/Makefile > index fdf83a408d750..dcfbe7a5912c0 100644 > --- a/arch/sparc/video/Makefile > +++ b/arch/sparc/video/Makefile > @@ -1,3 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0-only > > -obj-y += video.o > +obj-y += video-common.o > diff --git a/arch/sparc/video/video.c b/arch/sparc/video/video-common.c > similarity index 100% > rename from arch/sparc/video/video.c > rename to arch/sparc/video/video-common.c > diff --git a/arch/x86/video/Makefile b/arch/x86/video/Makefile > index fdf83a408d750..dcfbe7a5912c0 100644 > --- a/arch/x86/video/Makefile > +++ b/arch/x86/video/Makefile > @@ -1,3 +1,3 @@ > # SPDX-License-Identifier: GPL-2.0-only > > -obj-y += video.o > +obj-y += video-common.o > diff --git a/arch/x86/video/video.c b/arch/x86/video/video-common.c > similarity index 100% > rename from arch/x86/video/video.c > rename to arch/x86/video/video-common.c