+ tools-vm-slabinfoc-fix-sign-compare-warning-v2.patch added to -mm tree

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

 



The patch titled
     Subject: tools-vm-slabinfoc-fix-sign-compare-warning-v2
has been added to the -mm tree.  Its filename is
     tools-vm-slabinfoc-fix-sign-compare-warning-v2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/tools-vm-slabinfoc-fix-sign-compare-warning-v2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/tools-vm-slabinfoc-fix-sign-compare-warning-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/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: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
Subject: tools-vm-slabinfoc-fix-sign-compare-warning-v2

convert everything - none of these can be negative

Link: http://lkml.kernel.org/r/20180826234947.GA9787@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 tools/vm/slabinfo.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- a/tools/vm/slabinfo.c~tools-vm-slabinfoc-fix-sign-compare-warning-v2
+++ a/tools/vm/slabinfo.c
@@ -30,10 +30,9 @@ struct slabinfo {
 	int alias;
 	int refs;
 	int aliases, align, cache_dma, cpu_slabs, destroy_by_rcu;
-	int hwcache_align, objs_per_slab;
-	int sanity_checks, store_user, trace;
+	unsigned int hwcache_align, object_size, objs_per_slab;
+	unsigned int sanity_checks, slab_size, store_user, trace;
 	int order, poison, reclaim_account, red_zone;
-	unsigned int object_size, slab_size;
 	unsigned long partial, objects, slabs, objects_partial, objects_total;
 	unsigned long alloc_fastpath, alloc_slowpath;
 	unsigned long free_fastpath, free_slowpath;
_

Patches currently in -mm which might be from n-horiguchi@xxxxxxxxxxxxx are

tools-vm-slabinfoc-fix-sign-compare-warning.patch
tools-vm-slabinfoc-fix-sign-compare-warning-v2.patch
tools-vm-page-typesc-fix-defined-but-not-used-warning.patch




[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