Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3205801rwp; Fri, 14 Jul 2023 20:31:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlF9jxDN00TlypLRjRryZ73UmHXOSQGwnfxjpUc6PLW1qEG2f27nfzoylyQYinYEF13YTHvB X-Received: by 2002:a05:6a20:394b:b0:134:1c06:19bb with SMTP id r11-20020a056a20394b00b001341c0619bbmr1315078pzg.22.1689391915927; Fri, 14 Jul 2023 20:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689391915; cv=none; d=google.com; s=arc-20160816; b=Yt3YZ720UmqGvor2eUb4UngEi6S7ylGT9c5qkBpG76anksS7+dk9Go6LLSxICmt/sz xtRjRM/xqDcsT/S/Ka4HNeMOVomf4wEBPWTYBWuzfuOAa/Nm7TP03G12dt8i2NgB4HM9 4Kbdk6TvUH+EF0wUW/HyTAsILSMARIPZHMU8gsrY9hwHzFltQOuGKWR5vS01W4i3vaEV 2bosjO3Fx5p3OXSRo/WEsV6rTtla6GUY4op9agQhgoctXyJdYYEAgaa5SFM5sZPUkktJ j/7CqKDGv/FbgPiRXRmCzQIVptbH4MixwEECdErk2NuUs/8f78Cts1cWniGbVN8Cj/dV qUSg== 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:dkim-signature; bh=rzzcvrMOZmLVJ3qqStCtg2gxmWnvYjv7H4zS+C4FIDY=; fh=aZPKgD4gD6O8HrdmSn//n4MHVdyls6ilEmxS5DiQL6A=; b=SW5OOLSXthVXilUGntwMTmJx9JM6Tl/KoatTyO4XnDrrkc+56BEQDRA/sedbcxp+Oa K6j2TWZiS8tdw/aHxp7lYH3ybHE9CzUgBb8m4leleEN4LsYQ+nZKt9SgXsIppJ2IZQSC jAxMcgZ4X320A5qo3gt+Vr72tt6rcdocnt91cHtw0GRFac8yP74GD9A7cCZULKzdwyqG ANHh6QyujyR2Q1U45zvaP5Oy/dx40fM7YDccE4uC1eWAtaSp697kEHZzInyj2dIvNomk eRubCONclfq8YUTInEpkFzDQx2r4sj8Qz3hSXatckMRNQpljlYFaHD9BINRn5W18TQ14 ij0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Sb7I+uOz; 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 y20-20020a63de54000000b00543b16ecfa7si8035588pgi.172.2023.07.14.20.31.42; Fri, 14 Jul 2023 20:31:55 -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=@infradead.org header.s=casper.20170209 header.b=Sb7I+uOz; 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 S229601AbjGODOd (ORCPT + 99 others); Fri, 14 Jul 2023 23:14:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjGODOa (ORCPT ); Fri, 14 Jul 2023 23:14:30 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9BD635BD for ; Fri, 14 Jul 2023 20:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rzzcvrMOZmLVJ3qqStCtg2gxmWnvYjv7H4zS+C4FIDY=; b=Sb7I+uOzGR99xPAR8LAErP730X Z8e1zIay5znOBrHBHXZom0u0uBbafOb9DATBYqK5lzNYQyBI0eeY18elonLDyLCKM+57aiZl71qXN i46XEAHq+li/aWDJbuECA8XTMmMC+UeTadV159WB7UpoFW9hOQI9F0bKIOGpdI4IrlxfpE1hkefZZ jwVliNT4jvjFTP5sgssUcpIkvhd6EuJU4bit65WevOiHb6VxuhDDuf16pcy7dc19XL2Kim2oeMPNI b5Zw6aJFrsOJDM2ahcn5kHp+HvAIWjv8NNapWy9T/KSQ7y6858TqKueNaw5cxbI7ssrMi6F1InTU0 Z9wF700g==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qKVjh-001lqt-23; Sat, 15 Jul 2023 03:14:21 +0000 Date: Sat, 15 Jul 2023 04:14:21 +0100 From: Matthew Wilcox To: Tom Rix Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] shmem: set variable shmem_mark_dquot_dirty and shmem_dquot_write_info storage-class-specifier to static Message-ID: References: <20230714215113.3919026-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714215113.3919026-1-trix@redhat.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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 Fri, Jul 14, 2023 at 05:51:13PM -0400, Tom Rix wrote: > smatch reports > mm/shmem_quota.c:318:5: warning: symbol 'shmem_mark_dquot_dirty' > was not declared. Should it be static? > mm/shmem_quota.c:323:5: warning: symbol 'shmem_dquot_write_info' > was not declared. Should it be static? > > These variables are only used in their defining file, so it should be static. These are functions, not variables, and you're the third person to send this patch today.