All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4F65F476.70002@bfs.de>

diff --git a/a/1.txt b/N1/1.txt
index d646ec8..f3aac5f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,7 +22,7 @@ Am 17.03.2012 18:36, schrieb santosh nayak:
 >  	state->audio_input = 0;
 >  	write_reg(client, 0x08, 0x02); /* Line In */
 >  
-> -	if (mutex_lock_interruptible(&usb->i2c_lock) = 0) {
+> -	if (mutex_lock_interruptible(&usb->i2c_lock) == 0) {
 > -		data = kzalloc(16, GFP_KERNEL);
 > -		if (data != NULL) {
 > -			int rc;
@@ -43,7 +43,7 @@ Am 17.03.2012 18:36, schrieb santosh nayak:
 > -		}
 > +	mutex_lock(&usb->i2c_lock);
 > +	data = kzalloc(16, GFP_KERNEL);
-> +	if (data = NULL) {
+> +	if (data == NULL) {
 > +		i2c_unregister_device(audio);
 > +		kfree(state);
 >  		mutex_unlock(&usb->i2c_lock);
diff --git a/a/content_digest b/N1/content_digest
index baa3d0a..3975a0b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01332005817-10762-1-git-send-email-santoshprasadnayak@gmail.com\0"
  "From\0walter harms <wharms@bfs.de>\0"
  "Subject\0Re: [PATCH] [media] staging: use mutex_lock() in s2250_probe().\0"
- "Date\0Sun, 18 Mar 2012 14:43:02 +0000\0"
+ "Date\0Sun, 18 Mar 2012 15:43:02 +0100\0"
  "To\0santosh nayak <santoshprasadnayak@gmail.com>\0"
  "Cc\0mchehab@infradead.org"
   oliver@neukum.org
@@ -37,7 +37,7 @@
  ">  \tstate->audio_input = 0;\n"
  ">  \twrite_reg(client, 0x08, 0x02); /* Line In */\n"
  ">  \n"
- "> -\tif (mutex_lock_interruptible(&usb->i2c_lock) = 0) {\n"
+ "> -\tif (mutex_lock_interruptible(&usb->i2c_lock) == 0) {\n"
  "> -\t\tdata = kzalloc(16, GFP_KERNEL);\n"
  "> -\t\tif (data != NULL) {\n"
  "> -\t\t\tint rc;\n"
@@ -58,7 +58,7 @@
  "> -\t\t}\n"
  "> +\tmutex_lock(&usb->i2c_lock);\n"
  "> +\tdata = kzalloc(16, GFP_KERNEL);\n"
- "> +\tif (data = NULL) {\n"
+ "> +\tif (data == NULL) {\n"
  "> +\t\ti2c_unregister_device(audio);\n"
  "> +\t\tkfree(state);\n"
  ">  \t\tmutex_unlock(&usb->i2c_lock);\n"
@@ -97,4 +97,4 @@
  "re,\n"
   wh
 
-71f12eda72529f2dde52139ef75a3de3410d597eed216eb5a20f94db3b6ee75e
+45b471cd1c9138a74823f3998c6b8c1a784c3e0aeb4125fc094056d79f7157ee

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.