All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <51D75623.2010507@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index daa0fc8..0aafaf5 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -13,12 +13,12 @@ On 06/07/13 06:39, Dan Carpenter wrote:
 > --- a/drivers/rapidio/rio.c
 > +++ b/drivers/rapidio/rio.c
 > @@ -1715,11 +1715,13 @@ int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops)
->  		    (mport_id = RIO_MPORT_ANY && port->nscan = scan_ops))
+>  		    (mport_id == RIO_MPORT_ANY && port->nscan == scan_ops))
 >  			port->nscan = NULL;
 >  
 > -	list_for_each_entry(scan, &rio_scans, node)
 > +	list_for_each_entry(scan, &rio_scans, node) {
->  		if (scan->mport_id = mport_id) {
+>  		if (scan->mport_id == mport_id) {
 >  			list_del(&scan->node);
 >  			kfree(scan);
 > +			break;
diff --git a/a/content_digest b/N1/content_digest
index 843b519..88917fd 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020130705203908.GA7594@elgon.mountain\0"
  "From\0Ryan Mallon <rmallon@gmail.com>\0"
  "Subject\0Re: [patch v2] rapidio: use after free in unregister function\0"
- "Date\0Fri, 05 Jul 2013 23:26:27 +0000\0"
+ "Date\0Sat, 06 Jul 2013 09:26:27 +1000\0"
  "To\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Cc\0Matt Porter <mporter@kernel.crashing.org>"
   Alexandre Bounine <alexandre.bounine@idt.com>
@@ -24,12 +24,12 @@
  "> --- a/drivers/rapidio/rio.c\n"
  "> +++ b/drivers/rapidio/rio.c\n"
  "> @@ -1715,11 +1715,13 @@ int rio_unregister_scan(int mport_id, struct rio_scan *scan_ops)\n"
- ">  \t\t    (mport_id = RIO_MPORT_ANY && port->nscan = scan_ops))\n"
+ ">  \t\t    (mport_id == RIO_MPORT_ANY && port->nscan == scan_ops))\n"
  ">  \t\t\tport->nscan = NULL;\n"
  ">  \n"
  "> -\tlist_for_each_entry(scan, &rio_scans, node)\n"
  "> +\tlist_for_each_entry(scan, &rio_scans, node) {\n"
- ">  \t\tif (scan->mport_id = mport_id) {\n"
+ ">  \t\tif (scan->mport_id == mport_id) {\n"
  ">  \t\t\tlist_del(&scan->node);\n"
  ">  \t\t\tkfree(scan);\n"
  "> +\t\t\tbreak;\n"
@@ -42,4 +42,4 @@
  "\n"
  Reviewed-by: Ryan Mallon <rmallon@gmail.com>
 
-20751850da58290a66917fe85963bf29f8093f8beb8a5217912a9cd0cf336dbf
+f3e1349808adbdf0c787134f510321c65b25d4fcb0dc19d578229564c79ec5e5

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.