Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1002324ybs; Mon, 25 May 2020 04:56:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYFKTecU3ghdX3gUr4e42gBNZyYeFG281c0VlylwinSYjrB+b16NhODGHbREF+ESnLxw7t X-Received: by 2002:a17:906:5a99:: with SMTP id l25mr19284465ejq.235.1590407795220; Mon, 25 May 2020 04:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590407795; cv=none; d=google.com; s=arc-20160816; b=BtDpxb1Fn9s2PP8Qz3e5/zq+72XWs5mS3Bx+ITa97UU79WAPCl6R6J0OEwVWQdWTW5 i/wYPyYeCFuWIn7+Bwoj9ia20mItOm6Gb9kSjCAFll7mEhTH/aUVDIwshXdjmmu8uClH 5W/gDiFNR31+x7xtwlNxVv2IcgsGS5K/hwdOFd74WeEoM3cBgtfOv49ypV78XaIWTEod t7n5EpeAKFQ0klbWlVx636p1Jpn4uR4tD8B4wldmKw/4zHKCi3gvB0ZD5Fn84G5Ff5Ku 7+Uqc/R7pCprDxLC6eKIbGY5ZsFsRAPJTEGLWiy9J5CrsIF48wuRoRYZbKHCcWgPsyb6 OjrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=SWwUk/3yjyjIigth+oM5m9CWv67udm/Kt9MqHB3dScg=; b=tb1rOS6ubozKhy1GfaRfVBOC6k84P+sM97UXiihBXv8SSMy7h/2KKrfQaBm+e3dlEH TbsFsm/YBTsw2N85je+KZikzgV77IYsiJZeXQazni/gxKMrsHbBThARYJDxlzRusn3oC QhlQVwaXspXxhWyJBtu2P3rirTn4Dw5RC1ofU5KCSUowd9qCN0RFE2yP0op7s7S5yBaA L8/IyF2bRXuvF3dHYnykryIdYjEz3BxFvDa35chk3LSmOBO/bqHBhpzCOrOb+0TsJnE/ UfZWleeieMN05VQP1BdD107DPfSIN76hrtzIOJWZ4urz8ChXCZ8x5qyTd6oZoRb4tYUA 67PA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si9395010ejs.646.2020.05.25.04.56.12; Mon, 25 May 2020 04:56:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390419AbgEYLxO (ORCPT + 99 others); Mon, 25 May 2020 07:53:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:45254 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390302AbgEYLxO (ORCPT ); Mon, 25 May 2020 07:53:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6F4AEABD1; Mon, 25 May 2020 11:53:15 +0000 (UTC) Date: Mon, 25 May 2020 13:53:10 +0200 From: Joerg Roedel To: Qian Cai Cc: jacob.jun.pan@linux.intel.com, yi.l.liu@intel.com, baolu.lu@linux.intel.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] iommu/vt-d: fix a GCC warning Message-ID: <20200525115310.GG5075@suse.de> References: <20200521215030.16938-1-cai@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200521215030.16938-1-cai@lca.pw> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 21, 2020 at 05:50:30PM -0400, Qian Cai wrote: > The commit 6ee1b77ba3ac ("iommu/vt-d: Add svm/sva invalidate function") > introduced a GCC warning, > > drivers/iommu/intel-iommu.c:5330:1: warning: 'static' is not at beginning of > declaration [-Wold-style-declaration] > const static int > ^~~~~ > > Signed-off-by: Qian Cai > --- > drivers/iommu/intel-iommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.