All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <E1bYDEx-0004ry-Jg@rmk-PC.armlinux.org.uk>

diff --git a/a/1.txt b/N1/1.txt
index d06d56c..521e0c6 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -198,7 +198,7 @@ index 000000000000..2a792067f3b2
 +	 * This should never happen: the data sheet says that there will
 +	 * always be a valid message if the interrupt line is asserted.
 +	 */
-+	if (buf[0] = 0) {
++	if (buf[0] == 0) {
 +		dev_warn(&priv->client->dev, "interrupt pending, but no message?\n");
 +		return IRQ_NONE;
 +	}
@@ -257,7 +257,7 @@ index 000000000000..2a792067f3b2
 +	u16 addresses;
 +	u8 buf[2];
 +
-+	if (addr = CEC_LOG_ADDR_INVALID)
++	if (addr == CEC_LOG_ADDR_INVALID)
 +		addresses = priv->addresses = BIT(15);
 +	else
 +		addresses = priv->addresses |= BIT(addr);
@@ -364,7 +364,7 @@ index 000000000000..2a792067f3b2
 +
 +static unsigned int parse_hdmi_addr(const struct edid *edid)
 +{
-+	if (!edid || edid->extensions = 0)
++	if (!edid || edid->extensions == 0)
 +		return (u16)~0;
 +
 +	return cec_get_edid_phys_addr((u8 *)edid,
diff --git a/a/content_digest b/N1/content_digest
index 02ca05f..7452247 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,14 +1,8 @@
  "ref\020160812141421.GB1041@n2100.armlinux.org.uk\0"
- "From\0Russell King <rmk+kernel@armlinux.org.uk>\0"
+ "From\0rmk+kernel@armlinux.org.uk (Russell King)\0"
  "Subject\0[PATCH RFC 5/5] drm/i2c: add tda998x/tda9950 CEC driver\0"
- "Date\0Fri, 12 Aug 2016 14:15:15 +0000\0"
- "To\0David Airlie <airlied@linux.ie>"
-  Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
-  Tomi Valkeinen <tomi.valkeinen@ti.com>
- " Hans Verkuil <hansverk@cisco.com>\0"
- "Cc\0linux-fbdev@vger.kernel.org"
-  linux-arm-kernel@lists.infradead.org
- " dri-devel@lists.freedesktop.org\0"
+ "Date\0Fri, 12 Aug 2016 15:15:15 +0100\0"
+ "To\0linux-arm-kernel@lists.infradead.org\0"
  "\00:1\0"
  "b\0"
  "Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device.\n"
@@ -211,7 +205,7 @@
  "+\t * This should never happen: the data sheet says that there will\n"
  "+\t * always be a valid message if the interrupt line is asserted.\n"
  "+\t */\n"
- "+\tif (buf[0] = 0) {\n"
+ "+\tif (buf[0] == 0) {\n"
  "+\t\tdev_warn(&priv->client->dev, \"interrupt pending, but no message?\\n\");\n"
  "+\t\treturn IRQ_NONE;\n"
  "+\t}\n"
@@ -270,7 +264,7 @@
  "+\tu16 addresses;\n"
  "+\tu8 buf[2];\n"
  "+\n"
- "+\tif (addr = CEC_LOG_ADDR_INVALID)\n"
+ "+\tif (addr == CEC_LOG_ADDR_INVALID)\n"
  "+\t\taddresses = priv->addresses = BIT(15);\n"
  "+\telse\n"
  "+\t\taddresses = priv->addresses |= BIT(addr);\n"
@@ -377,7 +371,7 @@
  "+\n"
  "+static unsigned int parse_hdmi_addr(const struct edid *edid)\n"
  "+{\n"
- "+\tif (!edid || edid->extensions = 0)\n"
+ "+\tif (!edid || edid->extensions == 0)\n"
  "+\t\treturn (u16)~0;\n"
  "+\n"
  "+\treturn cec_get_edid_phys_addr((u8 *)edid,\n"
@@ -593,4 +587,4 @@
  "-- \n"
  2.1.0
 
-77644d5dee18d0271e6f83aa9498ce2f93f2f5098ff130c5f768ec6ddf12ce72
+946b6c0031b4a49a5ed2cef64eaea21e6d883ccaacd7cda81347dab0ca432c70

diff --git a/a/1.txt b/N2/1.txt
index d06d56c..521e0c6 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -198,7 +198,7 @@ index 000000000000..2a792067f3b2
 +	 * This should never happen: the data sheet says that there will
 +	 * always be a valid message if the interrupt line is asserted.
 +	 */
-+	if (buf[0] = 0) {
++	if (buf[0] == 0) {
 +		dev_warn(&priv->client->dev, "interrupt pending, but no message?\n");
 +		return IRQ_NONE;
 +	}
@@ -257,7 +257,7 @@ index 000000000000..2a792067f3b2
 +	u16 addresses;
 +	u8 buf[2];
 +
-+	if (addr = CEC_LOG_ADDR_INVALID)
++	if (addr == CEC_LOG_ADDR_INVALID)
 +		addresses = priv->addresses = BIT(15);
 +	else
 +		addresses = priv->addresses |= BIT(addr);
@@ -364,7 +364,7 @@ index 000000000000..2a792067f3b2
 +
 +static unsigned int parse_hdmi_addr(const struct edid *edid)
 +{
-+	if (!edid || edid->extensions = 0)
++	if (!edid || edid->extensions == 0)
 +		return (u16)~0;
 +
 +	return cec_get_edid_phys_addr((u8 *)edid,
diff --git a/a/content_digest b/N2/content_digest
index 02ca05f..64fbfa9 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,7 +1,7 @@
  "ref\020160812141421.GB1041@n2100.armlinux.org.uk\0"
  "From\0Russell King <rmk+kernel@armlinux.org.uk>\0"
  "Subject\0[PATCH RFC 5/5] drm/i2c: add tda998x/tda9950 CEC driver\0"
- "Date\0Fri, 12 Aug 2016 14:15:15 +0000\0"
+ "Date\0Fri, 12 Aug 2016 15:15:15 +0100\0"
  "To\0David Airlie <airlied@linux.ie>"
   Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
   Tomi Valkeinen <tomi.valkeinen@ti.com>
@@ -211,7 +211,7 @@
  "+\t * This should never happen: the data sheet says that there will\n"
  "+\t * always be a valid message if the interrupt line is asserted.\n"
  "+\t */\n"
- "+\tif (buf[0] = 0) {\n"
+ "+\tif (buf[0] == 0) {\n"
  "+\t\tdev_warn(&priv->client->dev, \"interrupt pending, but no message?\\n\");\n"
  "+\t\treturn IRQ_NONE;\n"
  "+\t}\n"
@@ -270,7 +270,7 @@
  "+\tu16 addresses;\n"
  "+\tu8 buf[2];\n"
  "+\n"
- "+\tif (addr = CEC_LOG_ADDR_INVALID)\n"
+ "+\tif (addr == CEC_LOG_ADDR_INVALID)\n"
  "+\t\taddresses = priv->addresses = BIT(15);\n"
  "+\telse\n"
  "+\t\taddresses = priv->addresses |= BIT(addr);\n"
@@ -377,7 +377,7 @@
  "+\n"
  "+static unsigned int parse_hdmi_addr(const struct edid *edid)\n"
  "+{\n"
- "+\tif (!edid || edid->extensions = 0)\n"
+ "+\tif (!edid || edid->extensions == 0)\n"
  "+\t\treturn (u16)~0;\n"
  "+\n"
  "+\treturn cec_get_edid_phys_addr((u8 *)edid,\n"
@@ -593,4 +593,4 @@
  "-- \n"
  2.1.0
 
-77644d5dee18d0271e6f83aa9498ce2f93f2f5098ff130c5f768ec6ddf12ce72
+277ed688374521dd2e4db506bdd65c9a0be660be782c8b9cc7032ecfc04766b0

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.