All of lore.kernel.org
 help / color / mirror / Atom feed
* + device-dax-make-dev_dax_kmem_probe-static.patch added to -mm tree
@ 2020-09-13  0:21 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-09-13  0:21 UTC (permalink / raw)
  To: mm-commits, hulkci, yanaijie


The patch titled
     Subject: device-dax: make dev_dax_kmem_probe() static
has been added to the -mm tree.  Its filename is
     device-dax-make-dev_dax_kmem_probe-static.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/device-dax-make-dev_dax_kmem_probe-static.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/device-dax-make-dev_dax_kmem_probe-static.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Jason Yan <yanaijie@huawei.com>
Subject: device-dax: make dev_dax_kmem_probe() static

This eliminates the following sparse warning:

drivers/dax/kmem.c:38:5: warning: symbol 'dev_dax_kmem_probe' was not
declared. Should it be static?

Link: https://lkml.kernel.org/r/20200912033901.143382-1-yanaijie@huawei.com
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/dax/kmem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/dax/kmem.c~device-dax-make-dev_dax_kmem_probe-static
+++ a/drivers/dax/kmem.c
@@ -35,7 +35,7 @@ static int dax_kmem_range(struct dev_dax
 	return 0;
 }
 
-int dev_dax_kmem_probe(struct dev_dax *dev_dax)
+static int dev_dax_kmem_probe(struct dev_dax *dev_dax)
 {
 	int numa_node = dev_dax->target_node;
 	struct device *dev = &dev_dax->dev;
_

Patches currently in -mm which might be from yanaijie@huawei.com are

device-dax-make-dev_dax_kmem_probe-static.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-13  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-13  0:21 + device-dax-make-dev_dax_kmem_probe-static.patch added to -mm tree akpm

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.