diff for duplicates of <20190925110219.GN3264@mwanda> diff --git a/a/1.txt b/N1/1.txt index 39f0180..5b5a5c2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ index 96562744101c..d3b63e000ae2 100644 +++ b/drivers/usb/typec/tcpm/tcpm.c @@ -4410,7 +4410,7 @@ static int tcpm_fw_get_caps(struct tcpm_port *port, ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); - if (ret = 0) { + if (ret == 0) { port->typec_caps.data = typec_find_port_data_role(cap_str); - if (port->typec_caps.data < 0) + if ((int)port->typec_caps.data < 0) diff --git a/a/content_digest b/N1/content_digest index 6e909e1..495f226 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] usb: typec: tcpm: Fix a signedness bug in tcpm_fw_get_caps()\0" - "Date\0Wed, 25 Sep 2019 11:02:19 +0000\0" + "Date\0Wed, 25 Sep 2019 14:02:19 +0300\0" "To\0Guenter Roeck <linux@roeck-us.net>\0" "Cc\0Heikki Krogerus <heikki.krogerus@linux.intel.com>" Greg Kroah-Hartman <gregkh@linuxfoundation.org> @@ -25,7 +25,7 @@ "+++ b/drivers/usb/typec/tcpm/tcpm.c\n" "@@ -4410,7 +4410,7 @@ static int tcpm_fw_get_caps(struct tcpm_port *port,\n" " \tret = fwnode_property_read_string(fwnode, \"data-role\", &cap_str);\n" - " \tif (ret = 0) {\n" + " \tif (ret == 0) {\n" " \t\tport->typec_caps.data = typec_find_port_data_role(cap_str);\n" "-\t\tif (port->typec_caps.data < 0)\n" "+\t\tif ((int)port->typec_caps.data < 0)\n" @@ -44,4 +44,4 @@ "-- \n" 2.20.1 -2099b0f39c6f8243a2e8c5787ae1d20acf7f2eada9244caa7a64181eed9395ca +d4aa7c7d60616c0b0ee83b316552aa4cb5bdc829d540f05577982af7935ff4f6
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.