Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13794183rwd; Sat, 24 Jun 2023 06:39:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4i8MwMUfe++oIuHS6U1PnDz/PookVjpoA/G5nViooKQvKH7wDpqPsMen+RDlPPvaXze7Es X-Received: by 2002:a05:6a20:3ca6:b0:121:4942:b4a9 with SMTP id b38-20020a056a203ca600b001214942b4a9mr15526545pzj.1.1687613973168; Sat, 24 Jun 2023 06:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687613973; cv=none; d=google.com; s=arc-20160816; b=Z0xhJYhqyEUhXvKreYPUstNjqB0wDuKxam5VHhFrNetHS0ScBqCZr3c1COaNfwoqMl 80fauRRp0vavROGri1ePfDFebeFecsZixnb0Ve3GfEkx3LFd90lU4jD8/ZrEqPzVA1Vp z3c3d6m+IgY8jZJGdbYYZj4Mlas+bIL6fPR5yLgBjQAKIU8+JfsQIpLm7KsToZWiR9aA /TiIKifNlMnOVhIKLRkyV84HLyephY1eEnIBg+EcPfAVNoTXidCatrFuMH+v1YzVj9UJ FLADOSxZJueHfRj397GTgUyYi8NMmPXreVhURWSYs73X2M77ySgNgDnaECth48sWXO7v NIVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=HzHR5VGsBkmKTRWsr9Fr6/IuDbgm5PM65lp5AFdyOdU=; fh=6fP7iw5h1PUO4szOBfz6wdS8YoQQp52WS/2yjUfi/P4=; b=tDC0Jr1IURbCfhilQMx+HTsLdf2LrJ/AAwWfpvL1L2pUbGPBBxcGRC2mRHy+YPb+MT Z8bSQQtLUDOr2IQHHDMr+BA4Exu+7CD9EIjEsNF26C7kJQfi3NNz5VD/7Ygtls+iMK+6 nXYhzxPHJSlkMg8wVVL9qcKfZGOfEzs0QBlRmCLIujakC07yA+X1bK5ninGgNBw41s5s GlWLMyPDajtcn4f5yR4I9P0XaflK6XC+vGKxz/0qyU4DUR2wqvLLvhHzzDk9NuQlGdy3 4GPQ/Fb+wSXOIYM0uYnnOGCxh8ubUPlopuTgyJujxA/0LwXZ8cuR0ByAiQrpbuc7LpnU rp+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=j4S9zj7l; 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 s14-20020a63f04e000000b00543ad7aa643si1544440pgj.815.2023.06.24.06.39.20; Sat, 24 Jun 2023 06:39:33 -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=@gmail.com header.s=20221208 header.b=j4S9zj7l; 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 S232939AbjFXN0x (ORCPT + 99 others); Sat, 24 Jun 2023 09:26:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjFXN0v (ORCPT ); Sat, 24 Jun 2023 09:26:51 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B6ADDD; Sat, 24 Jun 2023 06:26:45 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-260a60b4421so726974a91.1; Sat, 24 Jun 2023 06:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687613205; x=1690205205; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=HzHR5VGsBkmKTRWsr9Fr6/IuDbgm5PM65lp5AFdyOdU=; b=j4S9zj7lUuy3sqeeDhUPOz9rwvMJbGSEdKnwRk/XZ+y08PrJVIgqGnCRVMjv5QysTG qw+xSrtWimmK0w+c8oUxGgA/hWWS3mddb5TfZRZZkZXCB9iy4qhZcLzmK/w1rFGHNOlD u6YXzvdMzyxYCBki+QXeLCsaSepsuUuVeoUWLvfvN2Dfxqqx0oSY8FZK/DD2zqhKZHfv RYvqwhQB7QGRxNAtgIU6NHSikcQzK9FTked9KfdwhJI/KFzaz6eCW0C1QabmKjtdXE0H kEFZFV+Sc13EU6p5oRwnRdHPaXUEyY8PcvUlBsvAgUzJqMVPy3L5lDhMq3dGib+XWXWt gQpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687613205; x=1690205205; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HzHR5VGsBkmKTRWsr9Fr6/IuDbgm5PM65lp5AFdyOdU=; b=OB0UlxkzefUV7F/ot8tpApTQM++41OnwCAEAo/a43YEKk7prIoDbez1RiOnehkHzBl Z2ic6RMv7tO36pasr8r8vlil1yZj7ho3HLJyy58GBD9IoJRx5zaWYUXqers11XW4BnkZ 2CbSLKeCPns+sil924ldagJH47ryFejHFj017u7bXcnnx+QE6ysm+PClLN8Cmjp2Tmnh bz/GpFnP1k0kxi9xHV2LM9qN7UO5yvTWfjl7N7XSFIVjdEFEaenrytCePq99AQfP1V6v /6LgRVCFm/86ftaDbunRMIYKdyMcmepw5xoz5EXUg+KvLbCzMAl5RKTA5npEdpgOlmit KTaw== X-Gm-Message-State: AC+VfDyENW7V4O8vjO8mw53+0G1yTcOKGRlmcdO/mIe/w5Nrb9IH2Ifh am7POc1SD0hm3h/jNQ/+eh0= X-Received: by 2002:a17:90b:251:b0:25b:d304:6eaf with SMTP id fz17-20020a17090b025100b0025bd3046eafmr14080091pjb.24.1687613204832; Sat, 24 Jun 2023 06:26:44 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n189-20020a6327c6000000b0055387ffef10sm1282333pgn.24.2023.06.24.06.26.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Jun 2023 06:26:44 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Sat, 24 Jun 2023 06:26:40 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file Content-Language: en-US To: Arnd Bergmann , 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 References: <20230417125651.25126-18-tzimmermann@suse.de> <55130a50-d129-4336-99ce-3be4229b1c7d@app.fastmail.com> From: Guenter Roeck In-Reply-To: <55130a50-d129-4336-99ce-3be4229b1c7d@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 6/24/23 02:27, Arnd Bergmann wrote: > 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. > Odd argument, given that this _is_ a sparc patch. Those may be old bugs, but at least in 6.4-rc7 sparc64:allmodconfig does at least compile. Sure, I can stop build testing it if that is where things are going. Guenter >> 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