diff for duplicates of <20140519203626.GC5671@mwanda> diff --git a/a/1.txt b/N1/1.txt index 8421646..6d89354 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,7 @@ index 626d164..26e0d15 100644 } /* Don't hand 0 to vmalloc, it whines. */ -- if (stat.size = 0) { +- if (stat.size == 0) { + if (stat.size <= 0) { err = -EINVAL; goto out; diff --git a/a/content_digest b/N1/content_digest index 4c418da..9f526a5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] module: static checker complains about negative values\0" - "Date\0Mon, 19 May 2014 20:36:26 +0000\0" + "Date\0Mon, 19 May 2014 23:36:26 +0300\0" "To\0Rusty Russell <rusty@rustcorp.com.au>\0" "Cc\0linux-kernel@vger.kernel.org" " kernel-janitors@vger.kernel.org\0" @@ -25,10 +25,10 @@ " \t}\n" " \n" " \t/* Don't hand 0 to vmalloc, it whines. */\n" - "-\tif (stat.size = 0) {\n" + "-\tif (stat.size == 0) {\n" "+\tif (stat.size <= 0) {\n" " \t\terr = -EINVAL;\n" " \t\tgoto out;\n" " \t}" -8bc02fb9fbedf8727f4227054398d865de9cf413979a43d775bacffe71237728 +31ff23311ee56e910e2773bed24f7886987104bbec0ea1e8afd04813d1a42bb4
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.