All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20040115204241.GG22199@kroah.com>

diff --git a/a/1.txt b/N1/1.txt
index 3ae5a54..0e551a3 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -86,13 +86,13 @@ diff -Nru a/drivers/char/raw.c b/drivers/char/raw.c
   * Deal with ioctls against the raw-device control interface, to bind
   * and unbind other raw devices.
 @@ -187,12 +213,15 @@
- 			if (rq.block_major = 0 && rq.block_minor = 0) {
+ 			if (rq.block_major == 0 && rq.block_minor == 0) {
  				/* unbind */
  				rawdev->binding = NULL;
 +				class_simple_device_remove(MKDEV(RAW_MAJOR, rq.raw_minor));
  			} else {
  				rawdev->binding = bdget(dev);
- 				if (rawdev->binding = NULL)
+ 				if (rawdev->binding == NULL)
  					err = -ENOMEM;
 -				else
 +				else {
@@ -125,15 +125,3 @@ diff -Nru a/drivers/char/raw.c b/drivers/char/raw.c
 +	class_simple_destroy(raw_class);
  	unregister_chrdev(RAW_MAJOR, "raw");
  }
- 
-
-
--------------------------------------------------------
-The SF.Net email is sponsored by EclipseCon 2004
-Premiere Conference on Open Tools Development and Integration
-See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
-http://www.eclipsecon.org/osdn
-_______________________________________________
-Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
-Linux-hotplug-devel@lists.sourceforge.net
-https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
diff --git a/a/content_digest b/N1/content_digest
index 130d31a..09fa6e1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -6,7 +6,7 @@
  "ref\020040115204209.GF22199@kroah.com\0"
  "From\0Greg KH <greg@kroah.com>\0"
  "Subject\0[PATCH] add sysfs class support for raw devices [06/10]\0"
- "Date\0Thu, 15 Jan 2004 20:42:41 +0000\0"
+ "Date\0Thu, 15 Jan 2004 12:42:41 -0800\0"
  "To\0Andrew Morton <akpm@osdl.org>\0"
  "Cc\0linux-kernel@vger.kernel.org"
  " linux-hotplug-devel@lists.sourceforge.net\0"
@@ -100,13 +100,13 @@
  "  * Deal with ioctls against the raw-device control interface, to bind\n"
  "  * and unbind other raw devices.\n"
  "@@ -187,12 +213,15 @@\n"
- " \t\t\tif (rq.block_major = 0 && rq.block_minor = 0) {\n"
+ " \t\t\tif (rq.block_major == 0 && rq.block_minor == 0) {\n"
  " \t\t\t\t/* unbind */\n"
  " \t\t\t\trawdev->binding = NULL;\n"
  "+\t\t\t\tclass_simple_device_remove(MKDEV(RAW_MAJOR, rq.raw_minor));\n"
  " \t\t\t} else {\n"
  " \t\t\t\trawdev->binding = bdget(dev);\n"
- " \t\t\t\tif (rawdev->binding = NULL)\n"
+ " \t\t\t\tif (rawdev->binding == NULL)\n"
  " \t\t\t\t\terr = -ENOMEM;\n"
  "-\t\t\t\telse\n"
  "+\t\t\t\telse {\n"
@@ -138,18 +138,6 @@
  "+\tclass_simple_device_remove(MKDEV(RAW_MAJOR, 0));\n"
  "+\tclass_simple_destroy(raw_class);\n"
  " \tunregister_chrdev(RAW_MAJOR, \"raw\");\n"
- " }\n"
- " \n"
- "\n"
- "\n"
- "-------------------------------------------------------\n"
- "The SF.Net email is sponsored by EclipseCon 2004\n"
- "Premiere Conference on Open Tools Development and Integration\n"
- "See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.\n"
- "http://www.eclipsecon.org/osdn\n"
- "_______________________________________________\n"
- "Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net\n"
- "Linux-hotplug-devel@lists.sourceforge.net\n"
- https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
+  }
 
-afe76b299972bd0f749d0b4ac7c3af1fff013a05ae9e4765e109c883271d5217
+b0c3bc2c70fecc2f2588b1af18d573842f54623a0ce16aa3a472fb4b1574ae9c

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.