All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20201028132346.GP18329@kadam>

diff --git a/a/1.txt b/N1/1.txt
index 0c41ab3..3cdcd0f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -5,7 +5,7 @@ On Wed, Oct 28, 2020 at 01:26:16PM +0100, Amelie DELAUNAY wrote:
 > >   		/* Power delivery not yet supported */
 > > -		if (chip->pwr_opmode < 0 ||
 > > +		if ((int)chip->pwr_opmode < 0 ||
-> >   		    chip->pwr_opmode = TYPEC_PWR_MODE_PD) {
+> >   		    chip->pwr_opmode == TYPEC_PWR_MODE_PD) {
 > > -			ret = chip->pwr_opmode < 0 ? chip->pwr_opmode : -EINVAL;
 > > +			ret = (int)chip->pwr_opmode < 0 ? chip->pwr_opmode :
 > > +							  -EINVAL;
@@ -17,7 +17,7 @@ On Wed, Oct 28, 2020 at 01:26:16PM +0100, Amelie DELAUNAY wrote:
 > 	if (!ret) {
 > 		ret = typec_find_pwr_opmode(cap_str);
 > 		/* Power delivery not yet supported */
-> 		if (ret < 0 || ret = TYPEC_PWR_MODE_PD) {
+> 		if (ret < 0 || ret == TYPEC_PWR_MODE_PD) {
 > 			dev_err(chip->dev, "bad power operation mode: %d\n", ret);
 > 			return -EINVAL;
 > 		}
diff --git a/a/content_digest b/N1/content_digest
index cbeeac8..5adbeff 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\0625bf21d-e3bb-f952-9368-d93bee05a461@st.com\0"
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0Re: [PATCH 2/2] usb: typec: stusb160x: fix some signedness bugs\0"
- "Date\0Wed, 28 Oct 2020 13:23:46 +0000\0"
+ "Date\0Wed, 28 Oct 2020 16:23:46 +0300\0"
  "To\0Amelie DELAUNAY <amelie.delaunay@st.com>\0"
  "Cc\0Heikki Krogerus <heikki.krogerus@linux.intel.com>"
   Greg Kroah-Hartman <gregkh@linuxfoundation.org>
@@ -17,7 +17,7 @@
  "> >   \t\t/* Power delivery not yet supported */\n"
  "> > -\t\tif (chip->pwr_opmode < 0 ||\n"
  "> > +\t\tif ((int)chip->pwr_opmode < 0 ||\n"
- "> >   \t\t    chip->pwr_opmode = TYPEC_PWR_MODE_PD) {\n"
+ "> >   \t\t    chip->pwr_opmode == TYPEC_PWR_MODE_PD) {\n"
  "> > -\t\t\tret = chip->pwr_opmode < 0 ? chip->pwr_opmode : -EINVAL;\n"
  "> > +\t\t\tret = (int)chip->pwr_opmode < 0 ? chip->pwr_opmode :\n"
  "> > +\t\t\t\t\t\t\t  -EINVAL;\n"
@@ -29,7 +29,7 @@
  "> \tif (!ret) {\n"
  "> \t\tret = typec_find_pwr_opmode(cap_str);\n"
  "> \t\t/* Power delivery not yet supported */\n"
- "> \t\tif (ret < 0 || ret = TYPEC_PWR_MODE_PD) {\n"
+ "> \t\tif (ret < 0 || ret == TYPEC_PWR_MODE_PD) {\n"
  "> \t\t\tdev_err(chip->dev, \"bad power operation mode: %d\\n\", ret);\n"
  "> \t\t\treturn -EINVAL;\n"
  "> \t\t}\n"
@@ -45,4 +45,4 @@
  "regards,\n"
  dan carpenter
 
-07d6a4bf3f706176786275d7aecce0402d50fc7a3fc614e02871c12c33ad42b1
+81aa30e6e6c6294c825c655f865df33082ea6c0024ca00f55768116cbe1125f9

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.