+ bcache-drop-l-suffix-when-comparing-ssize_t-with-0.patch added to -mm tree

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

 



Subject: + bcache-drop-l-suffix-when-comparing-ssize_t-with-0.patch added to -mm tree
To: geert@xxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Mon, 03 Feb 2014 14:10:42 -0800


The patch titled
     Subject: drivers/md/bcache/btree.c: drop L-suffix when comparing ssize_t with 0
has been added to the -mm tree.  Its filename is
     bcache-drop-l-suffix-when-comparing-ssize_t-with-0.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/bcache-drop-l-suffix-when-comparing-ssize_t-with-0.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/bcache-drop-l-suffix-when-comparing-ssize_t-with-0.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: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Subject: drivers/md/bcache/btree.c: drop L-suffix when comparing ssize_t with 0

drivers/md/bcache/btree.c: In function `insert_u64s_remaining':
drivers/md/bcache/btree.c:1816: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/md/bcache/btree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/md/bcache/btree.c~bcache-drop-l-suffix-when-comparing-ssize_t-with-0 drivers/md/bcache/btree.c
--- a/drivers/md/bcache/btree.c~bcache-drop-l-suffix-when-comparing-ssize_t-with-0
+++ a/drivers/md/bcache/btree.c
@@ -1813,7 +1813,7 @@ static size_t insert_u64s_remaining(stru
 	if (b->keys.ops->is_extents)
 		ret -= KEY_MAX_U64S;
 
-	return max(ret, 0L);
+	return max(ret, 0);
 }
 
 static bool bch_btree_insert_keys(struct btree *b, struct btree_op *op,
_

Patches currently in -mm which might be from geert@xxxxxxxxxxxxxx are

bcache-use-%zi-to-format-size_t.patch
bcache-drop-l-suffix-when-comparing-ssize_t-with-0.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 Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux