diff for duplicates of <20170207074431.GA18377@mwanda> diff --git a/a/1.txt b/N1/1.txt index ff5aa84..7cb0e1b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,8 +14,8 @@ index 0475f1831b92..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 a615df4..2709c22 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\060d163b6-0b49-172f-288c-e1712e04a84e@solarflare.com\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch v2 net-next] sfc: fix an off by one bug\0" - "Date\0Tue, 07 Feb 2017 07:44:31 +0000\0" + "Date\0Tue, 7 Feb 2017 10:44:31 +0300\0" "To\0Solarflare linux maintainers <linux-net-drivers@solarflare.com>" " Edward Cree <ecree@solarflare.com>\0" "Cc\0Bert Kenward <bkenward@solarflare.com>" @@ -25,10 +25,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}" -2b55f83c810ab16c41b9e76021761ba3012fdfbc3827389302bfe406beb5e482 +017db7300dd952935498d117c603d60b4465dd1bd24a3d7bcd942155d76a566c
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.