Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13588244rwd; Sat, 24 Jun 2023 03:06:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qaI5e+qWvFoGJ+MPkprLeo7riss7+TKjURLR7MDEoYhk9Q6nZYP88VtDTFTO/GJgcFoY4 X-Received: by 2002:a05:6a00:1799:b0:668:7292:b2c6 with SMTP id s25-20020a056a00179900b006687292b2c6mr14413326pfg.14.1687601186539; Sat, 24 Jun 2023 03:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687601186; cv=none; d=google.com; s=arc-20160816; b=Fiti13Z+1WeMwxQCtIXhMunpaXB5OaQU6uxaUkKpEioGtI6UFL7eJvDPeJUD7q8Ky8 Okq1//IJDcQZc1V/MhP/Y1hYIGblP9IMhkQLVhJZsANeXHasp3+78MkJ+SDqXTqyxulJ NYiZYsGOVWb8W9oX+p2/cBSA0jSlnJ4bQN5IKZOBzFQyquHvplnu0Q+SiMkcsrDbEAiq Xj+jZyq8W3sq/9g7GJoHUjkKMKMxfCeKxgZZGq09J+behreRb8atO/mRbs5bsapfSqHV CFfKF7oo/3R8HCqnSRY3ayP9VfBeWhRtBgZyLSnBfdQevXHpwmVcNEthjoheCLmL3Ibf Rl3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=qYntvL1gKhXrmWH0tTXfCuX8ddCTc/3rP2W4LxyKhm0=; fh=nOl8QevVhh3mWbbW7vsUGdQGJIEiW0fpOw8NkqzGvVU=; b=oCK9SCs37GR5kn/S5aQwjAzlDe4vcMZAwhaoJCjJBXcd08nzhMBqgGh2VTx3dlwHzZ BRuSTmuo20Mu8YloWJXMZlvb40nttquuyse6v6kiztGXzbHZhjtXW5J9r+W25tyZh4Z1 +c4odCBv+bwQjYHbM46zg3auyBwzwdqBrSI9UQeM+IAIubwRu3myZuoLaPInGgyKsIPH MLlyrm9CyMxreWNSIUTyj7KQ3yfKS4lxcWGvB/QDykvxYbSaZmlVuQHf0Tgki/zCuW33 HbGBMQ2C6koyKTIYLp2zwfTgL3YBRVLeKbHXN9xtpvzQIbE+VAoBjNY25yESeMFL3DUx nYLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=2fzrhKF9; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Ss12EnHU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ce12-20020a056a002a0c00b0065b4e2b52c5si951778pfb.196.2023.06.24.03.06.11; Sat, 24 Jun 2023 03:06:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=2fzrhKF9; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Ss12EnHU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232949AbjFXJ2f (ORCPT + 99 others); Sat, 24 Jun 2023 05:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233086AbjFXJ2Q (ORCPT ); Sat, 24 Jun 2023 05:28:16 -0400 Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 895CE26B0; Sat, 24 Jun 2023 02:28:09 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 3DD9B5842D1; Sat, 24 Jun 2023 05:28:05 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sat, 24 Jun 2023 05:28:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1687598885; x=1687606085; bh=qY ntvL1gKhXrmWH0tTXfCuX8ddCTc/3rP2W4LxyKhm0=; b=2fzrhKF90cpXdCJJhX LNQ5t74+BoUFAWu2Z9oVvwfRP+G2j+kHetfXDo7jXuv6MZjlVNDYMOe5uMBuCdrY tfPOeSOrdnMHi5ExY6XX7AWMG7KA6nVtCTrwrLskcwomUPvEud6GLH7At6wunV8T 1xjw8VbSHv+R4fEe2U3K0VAbm+xpbPHip2N4n+Wjl5qhwQ5ZCL9UOgj1O/Ev3fUz wFoNMcX1DQqOGh3VF3wDQoCuthyjHY5xOlhizC1sa5RpiNIFDzQpiYdpxDZoyaus Jb8lK1gCGSw8zq5XV56wA5i2aAdBsF5Nj6taOY18hsohd5+dcepsDuWV8vsh6/Bp FnCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1687598885; x=1687606085; bh=qYntvL1gKhXrm WH0tTXfCuX8ddCTc/3rP2W4LxyKhm0=; b=Ss12EnHU4AcwmUdUHarRTM5S6SQng s1jzkZTwt45UxEwaoXOe27PqNaIoImQzAcGstwg5plJ41roH3XuppaxR7+klgqAT t2qTaZahs2nvwu7r3H1VhEDI35lYik3jAGEsIHR2BPHNrkn6lrob8XsuLvH5a0nS 3PctpKkR+/0CA0SYvMYr+Yi8zJioA3pDKC07QmhNdD7FSzOplFMmbgKTCxZsf7qJ UiCtm5Hf06e/mrw5KEp0RhzySvecvFKrkEIZ3jIqTxjSlYxkPmMjRGDkZYisUHdp Ltzzz1MP7nRj6pHsmgact/qcePRWHX8qnnokQvpv2K8E68y0F1jWwV5xw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeegjedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 03220B60086; Sat, 24 Jun 2023 05:28:03 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: <55130a50-d129-4336-99ce-3be4229b1c7d@app.fastmail.com> In-Reply-To: References: <20230417125651.25126-18-tzimmermann@suse.de> Date: Sat, 24 Jun 2023 11:27:42 +0200 From: "Arnd Bergmann" To: "Guenter Roeck" , "Thomas Zimmermann" Cc: "Daniel Vetter" , "Helge Deller" , "Javier Martinez Canillas" , "Greg Kroah-Hartman" , Linux-Arch , linux-fbdev@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, linux-sh@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, linux-m68k@lists.linux-m68k.org, loongarch@lists.linux.dev, sparclinux@vger.kernel.org, linux-snps-arc@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, "David S . Miller" , linux-arm-kernel@lists.infradead.org Subject: Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 24, 2023, at 03:55, Guenter Roeck wrote: > > On Mon, Apr 17, 2023 at 02:56:49PM +0200, Thomas Zimmermann wrote: >> Other architectures implment fb_is_primary_device() in a source >> file. Do the same on sparc. No functional changes, but allows to >> remove several include statement from . >> >> v2: >> * don't include in header file >> >> Signed-off-by: Thomas Zimmermann >> Cc: "David S. Miller" > > This patch results (or appears to result) in the following build error > when trying to build sparc64:allmodconfig. > > Error log: > :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] > WARNING: modpost: drivers/cpufreq/sparc-us2e-cpufreq: section mismatch > in reference: cpufreq_us2e_driver+0x20 (section: .data) -> > us2e_freq_cpu_init (section: .init.text) > WARNING: modpost: drivers/cpufreq/sparc-us3-cpufreq: section mismatch > in reference: cpufreq_us3_driver+0x20 (section: .data) -> > us3_freq_cpu_init (section: .init.text) > ERROR: modpost: "__xchg_called_with_bad_pointer" [lib/atomic64_test.ko] > undefined! These all look like old bugs that would be trivially fixed if anyone cared about sparc. > ERROR: modpost: missing MODULE_LICENSE() in arch/sparc/video/fbdev.o I checked that there are no callers of fb_is_primary_device() in built-in code when CONFIG_FB is =m, so adding the MODULE_LICENSE() and MODULE_DESCRIPTION() tags to the file is the correct fix. Arnd