All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20170107062749.GA26959@elgon.mountain>

diff --git a/a/1.txt b/N1/1.txt
index 7054d54..b72b185 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -33,7 +33,7 @@ index 919c10d5b12e..d2656ff569c1 100644
  
  	case VFIO_DEVICE_GET_IRQ_INFO:
 @@ -1224,7 +1230,10 @@ static long mtty_ioctl(struct mdev_device *mdev, unsigned int cmd,
- 		if (info.count = -1)
+ 		if (info.count == -1)
  			return -EINVAL;
  
 -		return copy_to_user((void __user *)arg, &info, minsz);
diff --git a/a/content_digest b/N1/content_digest
index cf632f9..6987c4f 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[patch 1/3] vfio-mdev: return -EFAULT if copy_to_user() fails\0"
- "Date\0Sat, 07 Jan 2017 06:27:49 +0000\0"
+ "Date\0Sat, 7 Jan 2017 09:27:49 +0300\0"
  "To\0Kirti Wankhede <kwankhede@nvidia.com>\0"
  "Cc\0kvm@vger.kernel.org"
  " kernel-janitors@vger.kernel.org\0"
@@ -41,7 +41,7 @@
  " \n"
  " \tcase VFIO_DEVICE_GET_IRQ_INFO:\n"
  "@@ -1224,7 +1230,10 @@ static long mtty_ioctl(struct mdev_device *mdev, unsigned int cmd,\n"
- " \t\tif (info.count = -1)\n"
+ " \t\tif (info.count == -1)\n"
  " \t\t\treturn -EINVAL;\n"
  " \n"
  "-\t\treturn copy_to_user((void __user *)arg, &info, minsz);\n"
@@ -53,4 +53,4 @@
  " \tcase VFIO_DEVICE_SET_IRQS:\n"
  " \t{"
 
-aa7003bc56f0d65dfb100b40baa39e8dab362047ae96379806eb25ce37ad98d1
+40e342530f6d1b43e3c7c2130509bc143751e3a9f784bd1eeced88c76215b16d

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.