diff for duplicates of <1085781643100@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 4e2855b..0c10edd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -38,7 +38,7 @@ diff -Nru a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c down(&core_lists); - adap->nr = nr++; -+ if (idr_pre_get(&i2c_adapter_idr, GFP_KERNEL) = 0) { ++ if (idr_pre_get(&i2c_adapter_idr, GFP_KERNEL) == 0) { + res = -ENOMEM; + goto out_unlock; + } diff --git a/a/content_digest b/N1/content_digest index a02160e..79a895a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020040528215908.GA13626@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" + "From\0Greg KH <greg@kroah.com>\0" "Subject\0[PATCH] I2C update for 2.6.7-rc1\0" - "Date\0Thu, 19 May 2005 06:25:00 +0000\0" + "Date\0Fri, 28 May 2004 15:00:43 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -46,7 +46,7 @@ " \tdown(&core_lists);\n" " \n" "-\tadap->nr = nr++;\n" - "+\tif (idr_pre_get(&i2c_adapter_idr, GFP_KERNEL) = 0) {\n" + "+\tif (idr_pre_get(&i2c_adapter_idr, GFP_KERNEL) == 0) {\n" "+\t\tres = -ENOMEM;\n" "+\t\tgoto out_unlock;\n" "+\t}\n" @@ -81,4 +81,4 @@ " \n" " \tdev_dbg(&adap->dev, \"adapter unregistered\\n\");" -1ce22a2244112e2f1c150ee098ed5071cacb49787ad06f5d44e0e8b27117e6e9 +cf8a258d9d3af172e33aee848ef844d9c1b714ca6f4080ac471ada614092530f
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.