All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20130718072004.GA16720@kroah.com>

diff --git a/a/1.txt b/N1/1.txt
index 5118326..6191df6 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -110,7 +110,7 @@ should save space overall in the .c file.  Please move them.
 > +		return ret;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (phy->init_count++ = 0 && phy->ops->init) {
+> +	if (phy->init_count++ == 0 && phy->ops->init) {
 > +		ret = phy->ops->init(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy init failed --> %d\n", ret);
@@ -133,7 +133,7 @@ should save space overall in the .c file.  Please move them.
 > +		return ret;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (--phy->init_count = 0 && phy->ops->exit) {
+> +	if (--phy->init_count == 0 && phy->ops->exit) {
 > +		ret = phy->ops->exit(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy exit failed --> %d\n", ret);
@@ -156,7 +156,7 @@ should save space overall in the .c file.  Please move them.
 > +		return ret;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (phy->power_count++ = 0 && phy->ops->power_on) {
+> +	if (phy->power_count++ == 0 && phy->ops->power_on) {
 > +		ret = phy->ops->power_on(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy poweron failed --> %d\n", ret);
@@ -175,7 +175,7 @@ should save space overall in the .c file.  Please move them.
 > +	int ret = -ENOTSUPP;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (--phy->power_count = 0 && phy->ops->power_off) {
+> +	if (--phy->power_count == 0 && phy->ops->power_off) {
 > +		ret =  phy->ops->power_off(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret);
diff --git a/a/content_digest b/N1/content_digest
index 86cd75a..aef9e70 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,8 +2,30 @@
  "ref\01374129984-765-2-git-send-email-kishon@ti.com\0"
  "From\0Greg KH <gregkh@linuxfoundation.org>\0"
  "Subject\0Re: [PATCH 01/15] drivers: phy: add generic PHY framework\0"
- "Date\0Thu, 18 Jul 2013 07:20:04 +0000\0"
- "To\0linux-arm-kernel@lists.infradead.org\0"
+ "Date\0Thu, 18 Jul 2013 00:20:04 -0700\0"
+ "To\0Kishon Vijay Abraham I <kishon@ti.com>\0"
+ "Cc\0kyungmin.park@samsung.com"
+  balbi@ti.com
+  jg1.han@samsung.com
+  s.nawrocki@samsung.com
+  kgene.kim@samsung.com
+  grant.likely@linaro.org
+  tony@atomide.com
+  arnd@arndb.de
+  swarren@nvidia.com
+  devicetree-discuss@lists.ozlabs.org
+  linux-doc@vger.kernel.org
+  linux-kernel@vger.kernel.org
+  linux-arm-kernel@lists.infradead.org
+  linux-samsung-soc@vger.kernel.org
+  linux-omap@vger.kernel.org
+  linux-usb@vger.kernel.org
+  linux-media@vger.kernel.org
+  linux-fbdev@vger.kernel.org
+  akpm@linux-foundation.org
+  balajitk@ti.com
+  george.cherian@ti.com
+ " nsekhar@ti.com\0"
  "\00:1\0"
  "b\0"
  "On Thu, Jul 18, 2013 at 12:16:10PM +0530, Kishon Vijay Abraham I wrote:\n"
@@ -118,7 +140,7 @@
  "> +\t\treturn ret;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (phy->init_count++ = 0 && phy->ops->init) {\n"
+ "> +\tif (phy->init_count++ == 0 && phy->ops->init) {\n"
  "> +\t\tret = phy->ops->init(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy init failed --> %d\\n\", ret);\n"
@@ -141,7 +163,7 @@
  "> +\t\treturn ret;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (--phy->init_count = 0 && phy->ops->exit) {\n"
+ "> +\tif (--phy->init_count == 0 && phy->ops->exit) {\n"
  "> +\t\tret = phy->ops->exit(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy exit failed --> %d\\n\", ret);\n"
@@ -164,7 +186,7 @@
  "> +\t\treturn ret;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (phy->power_count++ = 0 && phy->ops->power_on) {\n"
+ "> +\tif (phy->power_count++ == 0 && phy->ops->power_on) {\n"
  "> +\t\tret = phy->ops->power_on(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy poweron failed --> %d\\n\", ret);\n"
@@ -183,7 +205,7 @@
  "> +\tint ret = -ENOTSUPP;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (--phy->power_count = 0 && phy->ops->power_off) {\n"
+ "> +\tif (--phy->power_count == 0 && phy->ops->power_off) {\n"
  "> +\t\tret =  phy->ops->power_off(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy poweroff failed --> %d\\n\", ret);\n"
@@ -205,4 +227,4 @@
  "\n"
  greg k-h
 
-22a042281cfb98d808ba84cfd15354f19aec433e0b7faf1130496b9f6e3b22e2
+eadf238eb6036032ca8dd2748bba9fece0d90c99d0cdb34e63d01738306081ef

diff --git a/a/1.txt b/N2/1.txt
index 5118326..6191df6 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -110,7 +110,7 @@ should save space overall in the .c file.  Please move them.
 > +		return ret;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (phy->init_count++ = 0 && phy->ops->init) {
+> +	if (phy->init_count++ == 0 && phy->ops->init) {
 > +		ret = phy->ops->init(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy init failed --> %d\n", ret);
@@ -133,7 +133,7 @@ should save space overall in the .c file.  Please move them.
 > +		return ret;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (--phy->init_count = 0 && phy->ops->exit) {
+> +	if (--phy->init_count == 0 && phy->ops->exit) {
 > +		ret = phy->ops->exit(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy exit failed --> %d\n", ret);
@@ -156,7 +156,7 @@ should save space overall in the .c file.  Please move them.
 > +		return ret;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (phy->power_count++ = 0 && phy->ops->power_on) {
+> +	if (phy->power_count++ == 0 && phy->ops->power_on) {
 > +		ret = phy->ops->power_on(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy poweron failed --> %d\n", ret);
@@ -175,7 +175,7 @@ should save space overall in the .c file.  Please move them.
 > +	int ret = -ENOTSUPP;
 > +
 > +	mutex_lock(&phy->mutex);
-> +	if (--phy->power_count = 0 && phy->ops->power_off) {
+> +	if (--phy->power_count == 0 && phy->ops->power_off) {
 > +		ret =  phy->ops->power_off(phy);
 > +		if (ret < 0) {
 > +			dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret);
diff --git a/a/content_digest b/N2/content_digest
index 86cd75a..5876d3d 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,8 +1,8 @@
  "ref\01374129984-765-1-git-send-email-kishon@ti.com\0"
  "ref\01374129984-765-2-git-send-email-kishon@ti.com\0"
- "From\0Greg KH <gregkh@linuxfoundation.org>\0"
- "Subject\0Re: [PATCH 01/15] drivers: phy: add generic PHY framework\0"
- "Date\0Thu, 18 Jul 2013 07:20:04 +0000\0"
+ "From\0gregkh@linuxfoundation.org (Greg KH)\0"
+ "Subject\0[PATCH 01/15] drivers: phy: add generic PHY framework\0"
+ "Date\0Thu, 18 Jul 2013 00:20:04 -0700\0"
  "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
  "b\0"
@@ -118,7 +118,7 @@
  "> +\t\treturn ret;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (phy->init_count++ = 0 && phy->ops->init) {\n"
+ "> +\tif (phy->init_count++ == 0 && phy->ops->init) {\n"
  "> +\t\tret = phy->ops->init(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy init failed --> %d\\n\", ret);\n"
@@ -141,7 +141,7 @@
  "> +\t\treturn ret;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (--phy->init_count = 0 && phy->ops->exit) {\n"
+ "> +\tif (--phy->init_count == 0 && phy->ops->exit) {\n"
  "> +\t\tret = phy->ops->exit(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy exit failed --> %d\\n\", ret);\n"
@@ -164,7 +164,7 @@
  "> +\t\treturn ret;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (phy->power_count++ = 0 && phy->ops->power_on) {\n"
+ "> +\tif (phy->power_count++ == 0 && phy->ops->power_on) {\n"
  "> +\t\tret = phy->ops->power_on(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy poweron failed --> %d\\n\", ret);\n"
@@ -183,7 +183,7 @@
  "> +\tint ret = -ENOTSUPP;\n"
  "> +\n"
  "> +\tmutex_lock(&phy->mutex);\n"
- "> +\tif (--phy->power_count = 0 && phy->ops->power_off) {\n"
+ "> +\tif (--phy->power_count == 0 && phy->ops->power_off) {\n"
  "> +\t\tret =  phy->ops->power_off(phy);\n"
  "> +\t\tif (ret < 0) {\n"
  "> +\t\t\tdev_err(&phy->dev, \"phy poweroff failed --> %d\\n\", ret);\n"
@@ -205,4 +205,4 @@
  "\n"
  greg k-h
 
-22a042281cfb98d808ba84cfd15354f19aec433e0b7faf1130496b9f6e3b22e2
+ce0b63e3c5333108dd921b48d0ef907e1c718cc836ce021a92e465f96102d671

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.