diff for duplicates of <20150312170739.GA21911@mwanda> diff --git a/a/1.txt b/N1/1.txt index f468589..72adf5c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -32,7 +32,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 ba1e672..5f3b0d2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,11 +1,12 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch 1/2] staging: dgnc: some off by one bugs\0" - "Date\0Thu, 12 Mar 2015 17:07:39 +0000\0" + "Date\0Thu, 12 Mar 2015 20:07:39 +0300\0" "To\0Lidza Louina <lidza.louina@gmail.com>\0" - "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" + "Cc\0Mark Hounschell <markh@compro.net>" + Greg Kroah-Hartman <gregkh@linuxfoundation.org> driverdev-devel@linuxdriverproject.org - kernel-janitors@vger.kernel.org - " linux-serial@vger.kernel.org\0" + linux-serial@vger.kernel.org + " kernel-janitors@vger.kernel.org\0" "\00:1\0" "b\0" "\"dgnc_NumBoards\" is the number of filled out elements in the\n" @@ -42,7 +43,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" @@ -97,4 +98,4 @@ " \t\treturn -ENXIO;\n" " \t}" -a65e2214c627f027b00c95fb20d15d8943a04523361b1bfaba336d3737aa352b +e542d373fff2b7e79be7cd364eac7f6e0bb223f876d1e7ce1eb183cb0a895edb
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.