All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Christian König" <ckoenig.leichtzumerken@gmail.com>
Cc: kbuild-all@01.org, imirkin@alum.mit.edu, efault@gmx.de,
	michel@daenzer.net, konrad.wilk@oracle.com,
	linux-kernel@vger.kernel.org
Subject: [RFC PATCH] swiotlb: _swiotlb_tbl_map_single() can be static
Date: Fri, 5 Jan 2018 01:42:44 +0800	[thread overview]
Message-ID: <20180104174244.GA16240@lkp-ib03> (raw)
In-Reply-To: <20180102121358.16215-1-christian.koenig@amd.com>


Fixes: bd4bb89b2f71 ("swiotlb: suppress warning when __GFP_NOWARN is set v2")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 swiotlb.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index ed443d6..e253e80 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -490,11 +490,11 @@ static void swiotlb_bounce(phys_addr_t orig_addr, phys_addr_t tlb_addr,
 	}
 }
 
-phys_addr_t _swiotlb_tbl_map_single(struct device *hwdev,
-				    dma_addr_t tbl_dma_addr,
-				    phys_addr_t orig_addr, size_t size,
-				    enum dma_data_direction dir,
-				    unsigned long attrs, bool warn)
+static phys_addr_t _swiotlb_tbl_map_single(struct device *hwdev,
+					   dma_addr_t tbl_dma_addr,
+					   phys_addr_t orig_addr, size_t size,
+					   enum dma_data_direction dir,
+					   unsigned long attrs, bool warn)
 {
 	unsigned long flags;
 	phys_addr_t tlb_addr;

  parent reply	other threads:[~2018-01-04 17:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02 12:13 [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v2 Christian König
2018-01-02 14:04 ` Mike Galbraith
2018-01-02 15:39 ` Chris Wilson
2018-01-02 16:14   ` Christian König
2018-01-02 20:51 ` Konrad Rzeszutek Wilk
2018-01-03 10:09   ` Christian König
2018-01-04 17:42 ` kbuild test robot [this message]
2018-01-04 17:42 ` kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180104174244.GA16240@lkp-ib03 \
    --to=lkp@intel.com \
    --cc=ckoenig.leichtzumerken@gmail.com \
    --cc=efault@gmx.de \
    --cc=imirkin@alum.mit.edu \
    --cc=kbuild-all@01.org \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michel@daenzer.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.