Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5346740rwr; Mon, 24 Apr 2023 02:44:22 -0700 (PDT) X-Google-Smtp-Source: AKy350a+sQF6xDxU7vwILcbi/4LB57Yh1Z3gskhLr1JV4xQ79yxRvq8xEzLYLEPZsCEE9HEP0FH1 X-Received: by 2002:a17:90b:a53:b0:246:aebf:21f5 with SMTP id gw19-20020a17090b0a5300b00246aebf21f5mr13165247pjb.41.1682329462263; Mon, 24 Apr 2023 02:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682329462; cv=none; d=google.com; s=arc-20160816; b=vMl8S4Z689NJgWbnTyt9I7aVWwFtoIQJkI726ns5LCX9hNU8DsfDrKz6uaXHG96EAf FyMObR9dmjVhuVo7q6V4ZkY5/T88JFoV90vBSBAVd3zP3PhCepHcSMmo6ZgqAWHwhXQe OYfOB1CheLrk3OX82X51O5/TMajITV/YtxWgCxGl52JdMGKoOWtQOmpjeuUcy8D4IAWJ 3ZC21ILNgNP823aRXb/iwO9XNqF/NEEtBE9KsdhggvKVQo0LSiGVL+2UcsmNzL6oiyrv BlBR0tWja4vWG08zsY+2z2ATFE6qPzjgZ5v/jOp0wqSVnq8F12Nl9XN9qkTAZ3l1gSlC LcPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dw8vyH2poWUsFG4e4ghrF0WvFndQS01bUQMryJcrr1s=; b=Ic/xfytWMtE46QuP5HyJeHtRHY6hpUND5k1vf0LjLeLLqRlKE/B2aENGgL+BNzO8Sk fEWsTHk5Satn9BNWT/D+4adVkKkkOv6xZevKSfhF22aSrcQizPGhuHL5/Gyx95VJk6J2 Sy8++Q87RjKvXE6syQziQEG74K4AVr2s6QKcUS8wnHA9Y88p8R9g36LV2E+JliHtPTAO 5bazCFZwVu6z/9VTF0QxT/WM1AdwOo+9i6EqbtaNM/L89W+xTT1Q0YwVHmvuxBxh5Y5T YgCTNaYKcaIKMoT8oG64ctHZKoY+yKVCABJHK5Bi4q5/p8MbZz0Rx15EkNjMl7gR1gaW V6zA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a170903241100b001a66ed4f67fsi11052289plo.292.2023.04.24.02.44.11; Mon, 24 Apr 2023 02:44:22 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbjDXJla (ORCPT + 99 others); Mon, 24 Apr 2023 05:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjDXJl3 (ORCPT ); Mon, 24 Apr 2023 05:41:29 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F2F06E66 for ; Mon, 24 Apr 2023 02:41:27 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5310BD75; Mon, 24 Apr 2023 02:42:11 -0700 (PDT) Received: from bogus (unknown [10.57.57.81]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6D6BA3F5A1; Mon, 24 Apr 2023 02:41:26 -0700 (PDT) Date: Mon, 24 Apr 2023 10:41:23 +0100 From: Sudeep Holla To: Tom Rix Cc: mark.rutland@arm.com, lpieralisi@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] firmware: smccc: set variables smccc_soc_id_version,revision storage-class-specifier to static Message-ID: <20230424094123.suueva23r4njjbfg@bogus> References: <20230423153428.3938525-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230423153428.3938525-1-trix@redhat.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Sun, Apr 23, 2023 at 11:34:28AM -0400, Tom Rix wrote: > smatch reports > drivers/firmware/smccc/smccc.c:20:21: warning: symbol > 'smccc_soc_id_version' was not declared. Should it be static? > drivers/firmware/smccc/smccc.c:21:21: warning: symbol > 'smccc_soc_id_revision' was not declared. Should it be static? > > These variables are only used in their defining file so should be static > Acked-by: Sudeep Holla Since the patch introducing this issue comes from irqchip tree, we must either route this through that if they have earlier fixes set or wait until v6.4-rc1 and send it through SoC tree. Please cc soc@kernel.org and Marc Z and repost. It is better to be explicit and mention it is either based on -next or mention the commit introducing the issue since it make no sense if one has no knowledge of -next change. -- Regards, Sudeep