Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp394019ybk; Wed, 13 May 2020 03:02:54 -0700 (PDT) X-Google-Smtp-Source: APiQypKidusjnu1EJUCizUdxYOW3VaakkxV5S9ljGC5dWDSNV6/EjlVOxdfLp9zDlnbtqy9olEHC X-Received: by 2002:a17:906:2418:: with SMTP id z24mr21257299eja.42.1589364173942; Wed, 13 May 2020 03:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589364173; cv=none; d=google.com; s=arc-20160816; b=xNVtgcs2lJwVyaAqccp4Rh2dHgzkdMHx+U5OtiyN3Czac++B2q7bliv2Sy1tvEimtW abyB8M7PxcnySdhqHJkgWiyKnYFNnaPWtHB2OJVDVcv9qJfNR744sowu80XSjcJ6EpAg ygvlFjAlmk3nVBJBiK3rYkeyk1w/sqE88Dha6SQ55ohFnCTDtAqjKKg0b4RVRgV7tq2W NsPSWAW3FI50zWX2WvAnPqHJbHxBF7QY/BNizKqlDjD0wcr+W2dWTcoKkN0N9w7WikOy vpxsT35phpTB0V9t6BNenJ+e3fWVyoDI7Ts1BbRD7vQdEDwe0a0KXJznxfTp2cTm+c7F bTPA== 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=zN/ZQazE01/iPDQ2mjnZ4fTFHo573FUq0hR2sKbxUYE=; b=L4ohI8fQy8KkH/O7HKoqWWAShAxi2i6D24YjV6Aa6RhigfwGyH98HdhBpzu4pXdYr0 t7tfqoFErdpP/ZGNG4QNajW7RX6OCWUglBx6jLL54E0d0fQiFUOALIMUYT0nNZFqOqC5 QHVKmRbwEy9qAAEe5OhbTvX9kbunut4z/MTgnxzrc3k64ma8S+ull7wlUPqGDusRYRQD p9p/hm1i8zr71eBZ8j5hznrjDPcwHviqZ62KBzhdv23X8tItnWgZps5zPIkUTGclwczy iM0EQQVqJc9BzYqC4we0FQzqRMwZg9uOv/AiU5JOX24Zmhv3x+jG0BYemWNV9iNFT37F 3UNg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si10095586edp.525.2020.05.13.03.02.29; Wed, 13 May 2020 03:02:53 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388522AbgEMJ6L (ORCPT + 99 others); Wed, 13 May 2020 05:58:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388178AbgEMJ6K (ORCPT ); Wed, 13 May 2020 05:58:10 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2406C061A0C; Wed, 13 May 2020 02:58:09 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 04F29379; Wed, 13 May 2020 11:58:07 +0200 (CEST) Date: Wed, 13 May 2020 11:58:06 +0200 From: Joerg Roedel To: Samuel Zou Cc: agross@kernel.org, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] iommu/msm: Make msm_iommu_lock static Message-ID: <20200513095806.GL9820@8bytes.org> References: <1589249839-105820-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1589249839-105820-1-git-send-email-zou_wei@huawei.com> 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 Tue, May 12, 2020 at 10:17:19AM +0800, Samuel Zou wrote: > Fix the following sparse warning: > > drivers/iommu/msm_iommu.c:37:1: warning: symbol 'msm_iommu_lock' was not declared. > > The msm_iommu_lock has only call site within msm_iommu.c > It should be static > > Fixes: 0720d1f052dc ("msm: Add MSM IOMMU support") > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou > --- > drivers/iommu/msm_iommu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.