diff for duplicates of <20110105070312.GA24847@bicker> diff --git a/a/1.txt b/N1/1.txt index 3d9c1ab..237e3f4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,10 +11,10 @@ index ff3c12d..8881cb5 100644 spin_lock(&dcb_lock); list_for_each_entry(itr, &dcb_app_list, list) { -- if (strncmp(itr->name, netdev->name, IFNAMSIZ) = 0) +- if (strncmp(itr->name, netdev->name, IFNAMSIZ) == 0) - NLA_PUT(skb, DCB_ATTR_IEEE_APP, - sizeof(itr->app), &itr->app); -+ if (strncmp(itr->name, netdev->name, IFNAMSIZ) = 0) { ++ if (strncmp(itr->name, netdev->name, IFNAMSIZ) == 0) { + err = nla_put(skb, DCB_ATTR_IEEE_APP, sizeof(itr->app), + &itr->app); + if (err) { diff --git a/a/content_digest b/N1/content_digest index 106dcef..049e094 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch 1/2] dcb: unlock on error in dcbnl_ieee_get()\0" - "Date\0Wed, 05 Jan 2011 07:03:12 +0000\0" + "Date\0Wed, 5 Jan 2011 10:03:12 +0300\0" "To\0netdev@vger.kernel.org\0" "Cc\0John Fastabend <john.r.fastabend@intel.com>" Shmulik Ravid <shmulikr@broadcom.com> @@ -21,10 +21,10 @@ " \n" " \tspin_lock(&dcb_lock);\n" " \tlist_for_each_entry(itr, &dcb_app_list, list) {\n" - "-\t\tif (strncmp(itr->name, netdev->name, IFNAMSIZ) = 0)\n" + "-\t\tif (strncmp(itr->name, netdev->name, IFNAMSIZ) == 0)\n" "-\t\t\tNLA_PUT(skb, DCB_ATTR_IEEE_APP,\n" "-\t\t\t\tsizeof(itr->app), &itr->app);\n" - "+\t\tif (strncmp(itr->name, netdev->name, IFNAMSIZ) = 0) {\n" + "+\t\tif (strncmp(itr->name, netdev->name, IFNAMSIZ) == 0) {\n" "+\t\t\terr = nla_put(skb, DCB_ATTR_IEEE_APP, sizeof(itr->app),\n" "+\t\t\t\t\t &itr->app);\n" "+\t\t\tif (err) {\n" @@ -36,4 +36,4 @@ " \tspin_unlock(&dcb_lock);\n" " \tnla_nest_end(skb, app);" -f4bb5bcb3f28c0063d5a544c7a03106c37aa1ba43435b107115d2b5d37737a40 +5e600354554cf74e74e8c330aeaea979b9f1727fa958284a8d120d71099c79e8
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.