+ mm-re-use-define_show_attribute-macro-v2.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-re-use-define_show_attribute-macro-v2
has been added to the -mm tree.  Its filename is
     mm-re-use-define_show_attribute-macro-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-re-use-define_show_attribute-macro-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-re-use-define_show_attribute-macro-v2.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/SubmitChecklist when testing your code ***

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

------------------------------------------------------
From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Subject: mm-re-use-define_show_attribute-macro-v2

add tags, fix compilation issue kbuild bot reported about

Link: http://lkml.kernel.org/r/20180217144253.58604-1-andriy.shevchenko@xxxxxxxxxxxxxxx
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Cc: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>
Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
Cc: Christoph Lameter <cl@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/backing-dev.c  |    1 -
 mm/memblock.c     |    1 -
 mm/percpu-stats.c |    1 -
 mm/zsmalloc.c     |    3 +--
 4 files changed, 1 insertion(+), 5 deletions(-)

diff -puN mm/backing-dev.c~mm-re-use-define_show_attribute-macro-v2 mm/backing-dev.c
--- a/mm/backing-dev.c~mm-re-use-define_show_attribute-macro-v2
+++ a/mm/backing-dev.c
@@ -100,7 +100,6 @@ static int bdi_debug_stats_show(struct s
 
 	return 0;
 }
-
 DEFINE_SHOW_ATTRIBUTE(bdi_debug_stats);
 
 static int bdi_debug_register(struct backing_dev_info *bdi, const char *name)
diff -puN mm/memblock.c~mm-re-use-define_show_attribute-macro-v2 mm/memblock.c
--- a/mm/memblock.c~mm-re-use-define_show_attribute-macro-v2
+++ a/mm/memblock.c
@@ -1823,7 +1823,6 @@ static int memblock_debug_show(struct se
 	}
 	return 0;
 }
-
 DEFINE_SHOW_ATTRIBUTE(memblock_debug);
 
 static int __init memblock_init_debugfs(void)
diff -puN mm/percpu-stats.c~mm-re-use-define_show_attribute-macro-v2 mm/percpu-stats.c
--- a/mm/percpu-stats.c~mm-re-use-define_show_attribute-macro-v2
+++ a/mm/percpu-stats.c
@@ -223,7 +223,6 @@ alloc_buffer:
 
 	return 0;
 }
-
 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
 
 static int __init init_percpu_stats_debugfs(void)
diff -puN mm/zsmalloc.c~mm-re-use-define_show_attribute-macro-v2 mm/zsmalloc.c
--- a/mm/zsmalloc.c~mm-re-use-define_show_attribute-macro-v2
+++ a/mm/zsmalloc.c
@@ -641,7 +641,6 @@ static int zs_stats_size_show(struct seq
 
 	return 0;
 }
-
 DEFINE_SHOW_ATTRIBUTE(zs_stats_size);
 
 static void zs_pool_stat_create(struct zs_pool *pool, const char *name)
@@ -661,7 +660,7 @@ static void zs_pool_stat_create(struct z
 	pool->stat_dentry = entry;
 
 	entry = debugfs_create_file("classes", S_IFREG | S_IRUGO,
-			pool->stat_dentry, pool, &zs_stat_size_ops);
+			pool->stat_dentry, pool, &zs_stats_size_fops);
 	if (!entry) {
 		pr_warn("%s: debugfs file entry <%s> creation failed\n",
 				name, "classes");
_

Patches currently in -mm which might be from andriy.shevchenko@xxxxxxxxxxxxxxx are

mm-re-use-define_show_attribute-macro.patch
mm-re-use-define_show_attribute-macro-v2.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux