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

diff --git a/a/1.txt b/N1/1.txt
index d090846..8d19972 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -176,7 +176,7 @@ On Wed, May 28, 2014 at 10:32:11AM -0600, Alex Williamson wrote:
 >> >>  	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 1c17963..7939646 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,7 +5,7 @@
  "ref\01401294731.2412.42.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\0Thu, 29 May 2014 00:05:43 +0000\0"
+ "Date\0Thu, 29 May 2014 10:05:43 +1000\0"
  "To\0Alex Williamson <alex.williamson@redhat.com>\0"
  "Cc\0aik@ozlabs.ru"
   Gavin Shan <gwshan@linux.vnet.ibm.com>
@@ -193,7 +193,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"
@@ -645,4 +645,4 @@
  "Thanks,\n"
  Gavin
 
-ac090d55f4876c4b3f04023919e1483e5c98dae6ed0f218e800d43638107e286
+611311dc5821e7de69cb4c765a6f177afe6b53b79e75ab70084681b4cbcd4702

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.