Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2240522rdb; Mon, 20 Nov 2023 06:07:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE43LrCwBNw0Wq4IUpF8QEkhupLixOtfhXfRCys/DIjMnruRCs4b1D75KtAYF7HvEP51j+7 X-Received: by 2002:a05:6a20:9383:b0:187:185f:1dbe with SMTP id x3-20020a056a20938300b00187185f1dbemr17738206pzh.11.1700489269284; Mon, 20 Nov 2023 06:07:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700489269; cv=none; d=google.com; s=arc-20160816; b=wsLl62a5LmuI6EUOSBELtojZk7Ubvgw3n07nrskdJu41u2nQ7f2XJ92ccQ29aZrU2N ew8t3pz548um0roI+60iNHeknLCPf3v5QJ0cZBrHGEH2NgPBT3t4NGin9Zs+nzljM3P8 kMKNkfWtRm7G8UT6DAbzY2ktBOq2h1bXKO5ureJwaqiq7vUvOVnM0fq1mzDrGR4MXKFU LaXiOyWiaKn4KV8j5851Cb/NgqHa0IQZWPYmBrN/jPl8W+tWcIRRN5UgM9Q1khwFq+9M AolK5wQp03+G//cqVYEJKdjao/KGmumRqWxgvHUPagrkCrT22+pWm/ZDw5anvl+kcH4o cxtA== 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=dtTFOxKWbZfwNolFiplUiXEYr9h+c2cIVO+Z2ob7Zak=; fh=+0ze7b1wagCZyE9ooE+XzrZyIqNZfb2cuDBpZlFYKec=; b=fx/Goy0Frl2knDAKryTN4GJ08b0DBZeyg1CCkARjqNoDoqp/b9BLI5l6+3gd3ITOKI nBuiPQB50/Gsp13GFxfZRqKSTyEPjax+Abcm6UEF5ylY56rYmwc8JFZLbE7nL8AGpx3o UZe+a0DuQ7Fi8lwTEUkFd4qmJzOH2cGnjz6l4z6hsKmDhNxDc+jr3fSd08n4iAQzg/ZO wNoS6xeIaAVXlVyzG5dIK23iefOXBPnh95JAs6gif7xMG9+uW5tLV6t8ELSkDMefcSWt 4S7+5k2HSGZ7S5s0ldIBUZaFAIiiMZwiT6jMpmjsZCTjHDxi9F3gZ14cYd4LFga7Jhgv BHdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=VLteHyqa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bq4-20020a056a02044400b005bd272f5bc5si8619094pgb.275.2023.11.20.06.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:07:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=VLteHyqa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 2929B80A416F; Mon, 20 Nov 2023 06:07:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232259AbjKTOHa (ORCPT + 99 others); Mon, 20 Nov 2023 09:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232128AbjKTOH3 (ORCPT ); Mon, 20 Nov 2023 09:07:29 -0500 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79C1BA0 for ; Mon, 20 Nov 2023 06:07:22 -0800 (PST) Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3b587bd1a63so2659873b6e.1 for ; Mon, 20 Nov 2023 06:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1700489242; x=1701094042; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=dtTFOxKWbZfwNolFiplUiXEYr9h+c2cIVO+Z2ob7Zak=; b=VLteHyqaHkaCCbKxoRUdUP8u8qj3+D5EonvTxj3anHI3ZA3WQMX4R4RpHBCzQxh+qw DXmfyiXJR4I1HeRWx8VDUgsQn3tiYOXTe632VhqMMqP9cCem4MB6SDbSFsCY8AGv3XZY 0KloY5Nt4OdNylPLprBW+OT723vXuRRZi4Quq0713iZiZXEl6KNJN0pxMc2L3WveepNX A7zXtdXe1uWJk9nQS0Sso9c4V6Z731TD4gOtW6PgXVwEEbosk+EMPlLzJJbotbsf4oeh kmQmlVOzgYCvvMSLf6vI//itveXYdvy2HzFs5f3Sh+hp/1K5qA7kOZTchwHaLrWKSmhZ 1hkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700489242; x=1701094042; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dtTFOxKWbZfwNolFiplUiXEYr9h+c2cIVO+Z2ob7Zak=; b=a/F/Z3adm+qt1RwtFnPTdncUQ3V7PCaZoeajRXJmqu8ZvOdGEorqosCpb43CixNSBP VH+p/fYnxo3G6Tg65mLFtrpT3DoExWgMCEy4yrTc1q0ID9UkkQTwTTY2tAVSzRkNdXOy P+rWQt4952W0OSW4Dfvo6TM0EZqGet24vS2vu+esAySAYHo2bmsc4CHwWpBnxWMkN2JQ TsvPgJGWB2+8SbBFvNJjxqKY7QZwVjyRnTKtYJOhV2IkvlwnbtiDsEYKqefbr0NRDYjP yq/WVcppqvmOUKyGhxUyepPr4WtzaiNjHfwH11grxpvs2DkoEkkdLmI61vZP7vZFk9K7 Fzlw== X-Gm-Message-State: AOJu0Yy+59gi+Uhkc7JbDiZm08l7PzIRRsPbxyuTVffmHZzkNEwJ1oHD V+cHYcuCA+7folCbGK9jzpSUlA== X-Received: by 2002:a05:6808:2123:b0:3b2:f344:3a41 with SMTP id r35-20020a056808212300b003b2f3443a41mr3189406oiw.2.1700489241828; Mon, 20 Nov 2023 06:07:21 -0800 (PST) Received: from ziepe.ca ([12.97.180.36]) by smtp.gmail.com with ESMTPSA id dd1-20020a056808604100b003a747ea96a8sm1262478oib.43.2023.11.20.06.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:07:21 -0800 (PST) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1r54vo-000Hxj-A2; Mon, 20 Nov 2023 10:07:20 -0400 Date: Mon, 20 Nov 2023 10:07:20 -0400 From: Jason Gunthorpe To: Kunwu Chan Cc: joro@8bytes.org, suravee.suthikulpanit@amd.com, will@kernel.org, robin.murphy@arm.com, kunwu.chan@hotmail.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu/amd: Set variable amd_dirty_ops to static Message-ID: <20231120140720.GB10140@ziepe.ca> References: <20231120095342.1102999-1-chentao@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120095342.1102999-1-chentao@kylinos.cn> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 06:07:41 -0800 (PST) On Mon, Nov 20, 2023 at 05:53:42PM +0800, Kunwu Chan wrote: > Fix the followng warning: > drivers/iommu/amd/iommu.c:67:30: warning: symbol > 'amd_dirty_ops' was not declared. Should it be static? > > This variable is only used in its defining file, so it should be static. > > Signed-off-by: Kunwu Chan > --- > drivers/iommu/amd/iommu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Jason Gunthorpe Jason