All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20170201085040.GA31514@mwanda>

diff --git a/a/1.txt b/N1/1.txt
index 648b055..fb9bc69 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -12,8 +12,8 @@ index 8bec9383d754..dec0c8083ff3 100644
  
  		/* quick bounds check (BCAST result impossible) */
  		BUILD_BUG_ON(EFX_EF10_BCAST != 0);
--		if (encap_type > ARRAY_SIZE(map) || map[encap_type] = 0) {
-+		if (encap_type >= ARRAY_SIZE(map) || map[encap_type] = 0) {
+-		if (encap_type > ARRAY_SIZE(map) || map[encap_type] == 0) {
++		if (encap_type >= ARRAY_SIZE(map) || map[encap_type] == 0) {
  			WARN_ON(1);
  			return -EINVAL;
  		}
@@ -21,8 +21,8 @@ index 8bec9383d754..dec0c8083ff3 100644
  
  		/* quick bounds check (BCAST result impossible) */
  		BUILD_BUG_ON(EFX_EF10_BCAST != 0);
--		if (encap_type > ARRAY_SIZE(map) || map[encap_type] = 0) {
-+		if (encap_type >= ARRAY_SIZE(map) || map[encap_type] = 0) {
+-		if (encap_type > ARRAY_SIZE(map) || map[encap_type] == 0) {
++		if (encap_type >= ARRAY_SIZE(map) || map[encap_type] == 0) {
  			WARN_ON(1);
  			return -EINVAL;
  		}
diff --git a/a/content_digest b/N1/content_digest
index 82fd1fb..81e57d6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[patch net-next] sfc: a couple off by one bugs\0"
- "Date\0Wed, 01 Feb 2017 08:50:40 +0000\0"
+ "Date\0Wed, 1 Feb 2017 11:50:40 +0300\0"
  "To\0Solarflare linux maintainers <linux-net-drivers@solarflare.com>"
  " Edward Cree <ecree@solarflare.com>\0"
  "Cc\0Bert Kenward <bkenward@solarflare.com>"
@@ -22,8 +22,8 @@
  " \n"
  " \t\t/* quick bounds check (BCAST result impossible) */\n"
  " \t\tBUILD_BUG_ON(EFX_EF10_BCAST != 0);\n"
- "-\t\tif (encap_type > ARRAY_SIZE(map) || map[encap_type] = 0) {\n"
- "+\t\tif (encap_type >= ARRAY_SIZE(map) || map[encap_type] = 0) {\n"
+ "-\t\tif (encap_type > ARRAY_SIZE(map) || map[encap_type] == 0) {\n"
+ "+\t\tif (encap_type >= ARRAY_SIZE(map) || map[encap_type] == 0) {\n"
  " \t\t\tWARN_ON(1);\n"
  " \t\t\treturn -EINVAL;\n"
  " \t\t}\n"
@@ -31,10 +31,10 @@
  " \n"
  " \t\t/* quick bounds check (BCAST result impossible) */\n"
  " \t\tBUILD_BUG_ON(EFX_EF10_BCAST != 0);\n"
- "-\t\tif (encap_type > ARRAY_SIZE(map) || map[encap_type] = 0) {\n"
- "+\t\tif (encap_type >= ARRAY_SIZE(map) || map[encap_type] = 0) {\n"
+ "-\t\tif (encap_type > ARRAY_SIZE(map) || map[encap_type] == 0) {\n"
+ "+\t\tif (encap_type >= ARRAY_SIZE(map) || map[encap_type] == 0) {\n"
  " \t\t\tWARN_ON(1);\n"
  " \t\t\treturn -EINVAL;\n"
  " \t\t}"
 
-5fbd23e1f8352284339f2f48b671029229c0b2350a8cc6cac10b093db58fb017
+c91332cb7ae0c4633988d09b69ca79b8af7b6ae34a8d0a3b9243cb7cda7bc443

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.