diff for duplicates of <20150312172431.GN16501@mwanda> diff --git a/a/1.txt b/N1/1.txt index 926c6ae..d6c7017 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -34,7 +34,7 @@ index 5544a8e..01b290e 100644 channel = ni.channel; /* Verify boundaries on board */ -- if ((board > dgnc_NumBoards) || (dgnc_NumBoards = 0)) +- if ((board > dgnc_NumBoards) || (dgnc_NumBoards == 0)) + if (board >= dgnc_NumBoards) return -ENODEV; diff --git a/a/content_digest b/N1/content_digest index 1b5df13..a129d2e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,13 +1,12 @@ "ref\020150312170739.GA21911@mwanda\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch 1/2 v2] staging: dgnc: some off by one bugs\0" - "Date\0Thu, 12 Mar 2015 17:24:31 +0000\0" + "Date\0Thu, 12 Mar 2015 20:24:31 +0300\0" "To\0Lidza Louina <lidza.louina@gmail.com>\0" - "Cc\0Mark Hounschell <markh@compro.net>" - Greg Kroah-Hartman <gregkh@linuxfoundation.org> + "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" driverdev-devel@linuxdriverproject.org - linux-serial@vger.kernel.org - " kernel-janitors@vger.kernel.org\0" + kernel-janitors@vger.kernel.org + " linux-serial@vger.kernel.org\0" "\00:1\0" "b\0" "\"dgnc_NumBoards\" is the number of filled out elements in the\n" @@ -46,7 +45,7 @@ " \t\tchannel = ni.channel;\n" " \n" " \t\t/* Verify boundaries on board */\n" - "-\t\tif ((board > dgnc_NumBoards) || (dgnc_NumBoards = 0))\n" + "-\t\tif ((board > dgnc_NumBoards) || (dgnc_NumBoards == 0))\n" "+\t\tif (board >= dgnc_NumBoards)\n" " \t\t\treturn -ENODEV;\n" " \n" @@ -101,4 +100,4 @@ " \t\treturn -ENXIO;\n" " \t}" -8d46e3d8e58c084f5e3de8c1a2b0cf4458e14d1f5e2547ebb6c938c5e4124196 +46c00bc70d3ca4378c82fbe0d208619d3afb88b9529ac1648f9f9649b20fffaf
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.