All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20140528005532.GA5528@shangw>

diff --git a/a/1.txt b/N1/1.txt
index 26f2e51..5b7127c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -174,7 +174,7 @@ Ok. Will do in next revision.
 >>  	if (!try_module_get(THIS_MODULE))
 >>  		return -ENODEV;
 >>  
->>  	if (atomic_inc_return(&vdev->refcnt) = 1) {
+>>  	if (atomic_inc_return(&vdev->refcnt) == 1) {
 >> -		int ret = vfio_pci_enable(vdev);
 >> -		if (ret) {
 >> -			module_put(THIS_MODULE);
diff --git a/a/content_digest b/N1/content_digest
index ec173b7..c3da31c 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -3,7 +3,7 @@
  "ref\01401214527.3289.611.camel@ul30vt.home\0"
  "From\0Gavin Shan <gwshan@linux.vnet.ibm.com>\0"
  "Subject\0Re: [PATCH v7 3/3] drivers/vfio: EEH support for VFIO PCI device\0"
- "Date\0Wed, 28 May 2014 00:55:32 +0000\0"
+ "Date\0Wed, 28 May 2014 10:55:32 +1000\0"
  "To\0Alex Williamson <alex.williamson@redhat.com>\0"
  "Cc\0aik@ozlabs.ru"
   Gavin Shan <gwshan@linux.vnet.ibm.com>
@@ -189,7 +189,7 @@
  ">>  \tif (!try_module_get(THIS_MODULE))\n"
  ">>  \t\treturn -ENODEV;\n"
  ">>  \n"
- ">>  \tif (atomic_inc_return(&vdev->refcnt) = 1) {\n"
+ ">>  \tif (atomic_inc_return(&vdev->refcnt) == 1) {\n"
  ">> -\t\tint ret = vfio_pci_enable(vdev);\n"
  ">> -\t\tif (ret) {\n"
  ">> -\t\t\tmodule_put(THIS_MODULE);\n"
@@ -604,4 +604,4 @@
  "Thanks,\n"
  Gavin
 
-2cfaf90a8ebfbe51347e768e7a0936dc00e8e3500b03a68cda4533e565918144
+e0c41c3df13122b1caa24c19648b9d935d45cdf992175a9417a8e0f27afbb5e1

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.