All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <52312AE7.6060805@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 0173aa0..6d011cb 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -6,7 +6,7 @@ On Thursday 12 September 2013 04:44 AM, Sarah Sharp wrote:
 > be replaced by standard readl/writel operations.  She's posted a
 > patchset to do that:
 >
-> http://marc.info/?l=linux-usb&m\x137874983529708&w=2
+> http://marc.info/?l=linux-usb&m=137874983529708&w=2
 >
 > I hate to do this to you, but her patch is a better improvement, so I'll
 > be taking that series instead of your patch.  I hope you can still find
@@ -156,7 +156,7 @@ Sure sarah, Thanks
 >>>>   	addr = &ir_set->irq_pending;
 >>>> -	temp = xhci_readl(xhci, addr);
 >>>> +	temp = xhci_readl(addr);
->>>>   	if (temp = XHCI_INIT_VALUE)
+>>>>   	if (temp == XHCI_INIT_VALUE)
 >>>>   		return;
 >>>> @@ -187,17 +187,17 @@ void xhci_print_ir_set(struct xhci_hcd *xhci, int set_num)
 >>>>   			(unsigned int)temp);
@@ -271,7 +271,7 @@ Sure sarah, Thanks
 >>>>   		wIndex--;
 >>>> -		temp = xhci_readl(xhci, port_array[wIndex]);
 >>>> +		temp = xhci_readl(port_array[wIndex]);
->>>>   		if (temp = 0xffffffff) {
+>>>>   		if (temp == 0xffffffff) {
 >>>>   			retval = -ENODEV;
 >>>>   			break;
 >>>> @@ -749,7 +749,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
@@ -280,7 +280,7 @@ Sure sarah, Thanks
 >>>>   		wIndex--;
 >>>> -		temp = xhci_readl(xhci, port_array[wIndex]);
 >>>> +		temp = xhci_readl(port_array[wIndex]);
->>>>   		if (temp = 0xffffffff) {
+>>>>   		if (temp == 0xffffffff) {
 >>>>   			retval = -ENODEV;
 >>>>   			break;
 >>>> @@ -758,7 +758,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
@@ -298,7 +298,7 @@ Sure sarah, Thanks
 >>>>   			 */
 >>>> -			temp = xhci_readl(xhci, port_array[wIndex]);
 >>>> +			temp = xhci_readl(port_array[wIndex]);
->>>>   			if ((temp & PORT_PE) = 0 || (temp & PORT_RESET)
+>>>>   			if ((temp & PORT_PE) == 0 || (temp & PORT_RESET)
 >>>>   				|| (temp & PORT_PLS_MASK) >= XDEV_U3) {
 >>>>   				xhci_warn(xhci, "USB core suspending device "
 >>>> @@ -796,11 +796,11 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
@@ -312,7 +312,7 @@ Sure sarah, Thanks
 >>>> -			temp = xhci_readl(xhci, port_array[wIndex]);
 >>>> +			temp = xhci_readl(port_array[wIndex]);
 >>>>   			/* Disable port */
->>>>   			if (link_state = USB_SS_PORT_LS_SS_DISABLED) {
+>>>>   			if (link_state == USB_SS_PORT_LS_SS_DISABLED) {
 >>>> @@ -815,7 +815,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
 >>>>   					PORT_CEC;
 >>>>   				xhci_writel(xhci, temp | PORT_PE,
@@ -334,7 +334,7 @@ Sure sarah, Thanks
 >>>>   			spin_lock_irqsave(&xhci->lock, flags);
 >>>> -			temp = xhci_readl(xhci, port_array[wIndex]);
 >>>> +			temp = xhci_readl(port_array[wIndex]);
->>>>   			if (link_state = USB_SS_PORT_LS_U3)
+>>>>   			if (link_state == USB_SS_PORT_LS_U3)
 >>>>   				bus_state->suspended_ports |= 1 << wIndex;
 >>>>   			break;
 >>>> @@ -872,7 +872,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
@@ -395,7 +395,7 @@ Sure sarah, Thanks
 >>>>   		wIndex--;
 >>>> -		temp = xhci_readl(xhci, port_array[wIndex]);
 >>>> +		temp = xhci_readl(port_array[wIndex]);
->>>>   		if (temp = 0xffffffff) {
+>>>>   		if (temp == 0xffffffff) {
 >>>>   			retval = -ENODEV;
 >>>>   			break;
 >>>> @@ -939,7 +939,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
@@ -413,7 +413,7 @@ Sure sarah, Thanks
 >>>>   	for (i = 0; i < max_ports; i++) {
 >>>> -		temp = xhci_readl(xhci, port_array[i]);
 >>>> +		temp = xhci_readl(port_array[i]);
->>>>   		if (temp = 0xffffffff) {
+>>>>   		if (temp == 0xffffffff) {
 >>>>   			retval = -ENODEV;
 >>>>   			break;
 >>>> @@ -1098,7 +1098,7 @@ int xhci_bus_suspend(struct usb_hcd *hcd)
@@ -485,7 +485,7 @@ Sure sarah, Thanks
 >>>>   	addr = &xhci->cap_regs->hcc_params;
 >>>> -	offset = XHCI_HCC_EXT_CAPS(xhci_readl(xhci, addr));
 >>>> +	offset = XHCI_HCC_EXT_CAPS(xhci_readl(addr));
->>>>   	if (offset = 0) {
+>>>>   	if (offset == 0) {
 >>>>   		xhci_err(xhci, "No Extended Capability registers, "
 >>>>   				"unable to set up roothub.\n");
 >>>> @@ -2115,7 +2115,7 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)
@@ -494,7 +494,7 @@ Sure sarah, Thanks
 >>>>   		u32 cap_id;
 >>>> -		cap_id = xhci_readl(xhci, tmp_addr);
 >>>> +		cap_id = xhci_readl(tmp_addr);
->>>>   		if (XHCI_EXT_CAPS_ID(cap_id) = XHCI_EXT_CAPS_PROTOCOL)
+>>>>   		if (XHCI_EXT_CAPS_ID(cap_id) == XHCI_EXT_CAPS_PROTOCOL)
 >>>>   			cap_count++;
 >>>>   		tmp_offset = XHCI_EXT_CAPS_NEXT(cap_id);
 >>>> @@ -2129,7 +2129,7 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)
@@ -502,7 +502,7 @@ Sure sarah, Thanks
 >>>>   		u32 cap_id;
 >>>> -		cap_id = xhci_readl(xhci, addr);
 >>>> +		cap_id = xhci_readl(addr);
->>>>   		if (XHCI_EXT_CAPS_ID(cap_id) = XHCI_EXT_CAPS_PROTOCOL)
+>>>>   		if (XHCI_EXT_CAPS_ID(cap_id) == XHCI_EXT_CAPS_PROTOCOL)
 >>>>   			xhci_add_in_port(xhci, num_ports, addr,
 >>>>   					(u8) XHCI_EXT_PORT_MAJOR(cap_id),
 >>>> @@ -2234,7 +2234,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags)
@@ -568,11 +568,11 @@ Sure sarah, Thanks
 >>>>   			port_id);
 >>>> -	temp = xhci_readl(xhci, port_array[faked_port_index]);
 >>>> +	temp = xhci_readl(port_array[faked_port_index]);
->>>>   	if (hcd->state = HC_STATE_SUSPENDED) {
+>>>>   	if (hcd->state == HC_STATE_SUSPENDED) {
 >>>>   		xhci_dbg(xhci, "resume root hub\n");
 >>>>   		usb_hcd_resume_root_hub(hcd);
 >>>> @@ -1684,7 +1684,7 @@ static void handle_port_status(struct xhci_hcd *xhci,
->>>>   	if ((temp & PORT_PLC) && (temp & PORT_PLS_MASK) = XDEV_RESUME) {
+>>>>   	if ((temp & PORT_PLC) && (temp & PORT_PLS_MASK) == XDEV_RESUME) {
 >>>>   		xhci_dbg(xhci, "port resume event for port %d\n", port_id);
 >>>> -		temp1 = xhci_readl(xhci, &xhci->op_regs->command);
 >>>> +		temp1 = xhci_readl(&xhci->op_regs->command);
@@ -584,7 +584,7 @@ Sure sarah, Thanks
 >>>>   	/* Check if the xHC generated the interrupt, or the irq is shared */
 >>>> -	status = xhci_readl(xhci, &xhci->op_regs->status);
 >>>> +	status = xhci_readl(&xhci->op_regs->status);
->>>>   	if (status = 0xffffffff)
+>>>>   	if (status == 0xffffffff)
 >>>>   		goto hw_died;
 >>>> @@ -2783,7 +2783,7 @@ hw_died:
 >>>>   	if (hcd->irq) {
@@ -611,7 +611,7 @@ Sure sarah, Thanks
 >>>>   	do {
 >>>> -		result = xhci_readl(xhci, ptr);
 >>>> +		result = xhci_readl(ptr);
->>>>   		if (result = ~(u32)0)		/* card removed */
+>>>>   		if (result == ~(u32)0)		/* card removed */
 >>>>   			return -ENODEV;
 >>>>   		result &= mask;
 >>>> @@ -82,11 +82,11 @@ void xhci_quiesce(struct xhci_hcd *xhci)
@@ -639,7 +639,7 @@ Sure sarah, Thanks
 >>>>   	int ret, i;
 >>>> -	state = xhci_readl(xhci, &xhci->op_regs->status);
 >>>> +	state = xhci_readl(&xhci->op_regs->status);
->>>>   	if ((state & STS_HALT) = 0) {
+>>>>   	if ((state & STS_HALT) == 0) {
 >>>>   		xhci_warn(xhci, "Host controller not halted, aborting reset.\n");
 >>>>   		return 0;
 >>>>   	}
@@ -653,7 +653,7 @@ Sure sarah, Thanks
 >>>>   	for (i = 0; i < xhci->num_usb3_ports; i++) {
 >>>> -		temp = xhci_readl(xhci, xhci->usb3_ports[i]);
 >>>> +		temp = xhci_readl(xhci->usb3_ports[i]);
->>>>   		if ((temp & PORT_PLS_MASK) = USB_SS_PORT_LS_COMP_MOD) {
+>>>>   		if ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) {
 >>>>   			/*
 >>>>   			 * Compliance Mode Detected. Letting USB Core
 >>>> @@ -611,19 +611,19 @@ int xhci_run(struct usb_hcd *hcd)
@@ -787,7 +787,7 @@ Sure sarah, Thanks
 >>>>   		goto done;
 >>>> -	temp = xhci_readl(xhci, &xhci->op_regs->status);
 >>>> +	temp = xhci_readl(&xhci->op_regs->status);
->>>>   	if (temp = 0xffffffff || (xhci->xhc_state & XHCI_STATE_HALTED)) {
+>>>>   	if (temp == 0xffffffff || (xhci->xhc_state & XHCI_STATE_HALTED)) {
 >>>>   		xhci_dbg_trace(xhci, trace_xhci_dbg_cancel_urb,
 >>>>   				"HW died, freeing TD.");
 >>>> @@ -3593,7 +3593,7 @@ void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev)
@@ -795,7 +795,7 @@ Sure sarah, Thanks
 >>>>   	/* Don't disable the slot if the host controller is dead. */
 >>>> -	state = xhci_readl(xhci, &xhci->op_regs->status);
 >>>> +	state = xhci_readl(&xhci->op_regs->status);
->>>>   	if (state = 0xffffffff || (xhci->xhc_state & XHCI_STATE_DYING) ||
+>>>>   	if (state == 0xffffffff || (xhci->xhc_state & XHCI_STATE_DYING) ||
 >>>>   			(xhci->xhc_state & XHCI_STATE_HALTED)) {
 >>>>   		xhci_free_virt_device(xhci, udev->slot_id);
 >>>> @@ -4102,12 +4102,12 @@ static int xhci_usb2_software_lpm_test(struct usb_hcd *hcd,
diff --git a/a/content_digest b/N1/content_digest
index ba0ddb2..45fcf6d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,7 +4,7 @@
  "ref\020130911231455.GA23925@xanatos\0"
  "From\0Kumar Gaurav <kumargauravgupta3@gmail.com>\0"
  "Subject\0Re: [PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call\0"
- "Date\0Thu, 12 Sep 2013 02:57:59 +0000\0"
+ "Date\0Thu, 12 Sep 2013 08:15:59 +0530\0"
  "To\0Sarah Sharp <sarah.a.sharp@linux.intel.com>\0"
  "Cc\0gregkh@linuxfoundation.org"
   linux-usb@vger.kernel.org
@@ -22,7 +22,7 @@
  "> be replaced by standard readl/writel operations.  She's posted a\n"
  "> patchset to do that:\n"
  ">\n"
- "> http://marc.info/?l=linux-usb&m\0237874983529708&w=2\n"
+ "> http://marc.info/?l=linux-usb&m=137874983529708&w=2\n"
  ">\n"
  "> I hate to do this to you, but her patch is a better improvement, so I'll\n"
  "> be taking that series instead of your patch.  I hope you can still find\n"
@@ -172,7 +172,7 @@
  ">>>>   \taddr = &ir_set->irq_pending;\n"
  ">>>> -\ttemp = xhci_readl(xhci, addr);\n"
  ">>>> +\ttemp = xhci_readl(addr);\n"
- ">>>>   \tif (temp = XHCI_INIT_VALUE)\n"
+ ">>>>   \tif (temp == XHCI_INIT_VALUE)\n"
  ">>>>   \t\treturn;\n"
  ">>>> @@ -187,17 +187,17 @@ void xhci_print_ir_set(struct xhci_hcd *xhci, int set_num)\n"
  ">>>>   \t\t\t(unsigned int)temp);\n"
@@ -287,7 +287,7 @@
  ">>>>   \t\twIndex--;\n"
  ">>>> -\t\ttemp = xhci_readl(xhci, port_array[wIndex]);\n"
  ">>>> +\t\ttemp = xhci_readl(port_array[wIndex]);\n"
- ">>>>   \t\tif (temp = 0xffffffff) {\n"
+ ">>>>   \t\tif (temp == 0xffffffff) {\n"
  ">>>>   \t\t\tretval = -ENODEV;\n"
  ">>>>   \t\t\tbreak;\n"
  ">>>> @@ -749,7 +749,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,\n"
@@ -296,7 +296,7 @@
  ">>>>   \t\twIndex--;\n"
  ">>>> -\t\ttemp = xhci_readl(xhci, port_array[wIndex]);\n"
  ">>>> +\t\ttemp = xhci_readl(port_array[wIndex]);\n"
- ">>>>   \t\tif (temp = 0xffffffff) {\n"
+ ">>>>   \t\tif (temp == 0xffffffff) {\n"
  ">>>>   \t\t\tretval = -ENODEV;\n"
  ">>>>   \t\t\tbreak;\n"
  ">>>> @@ -758,7 +758,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,\n"
@@ -314,7 +314,7 @@
  ">>>>   \t\t\t */\n"
  ">>>> -\t\t\ttemp = xhci_readl(xhci, port_array[wIndex]);\n"
  ">>>> +\t\t\ttemp = xhci_readl(port_array[wIndex]);\n"
- ">>>>   \t\t\tif ((temp & PORT_PE) = 0 || (temp & PORT_RESET)\n"
+ ">>>>   \t\t\tif ((temp & PORT_PE) == 0 || (temp & PORT_RESET)\n"
  ">>>>   \t\t\t\t|| (temp & PORT_PLS_MASK) >= XDEV_U3) {\n"
  ">>>>   \t\t\t\txhci_warn(xhci, \"USB core suspending device \"\n"
  ">>>> @@ -796,11 +796,11 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,\n"
@@ -328,7 +328,7 @@
  ">>>> -\t\t\ttemp = xhci_readl(xhci, port_array[wIndex]);\n"
  ">>>> +\t\t\ttemp = xhci_readl(port_array[wIndex]);\n"
  ">>>>   \t\t\t/* Disable port */\n"
- ">>>>   \t\t\tif (link_state = USB_SS_PORT_LS_SS_DISABLED) {\n"
+ ">>>>   \t\t\tif (link_state == USB_SS_PORT_LS_SS_DISABLED) {\n"
  ">>>> @@ -815,7 +815,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,\n"
  ">>>>   \t\t\t\t\tPORT_CEC;\n"
  ">>>>   \t\t\t\txhci_writel(xhci, temp | PORT_PE,\n"
@@ -350,7 +350,7 @@
  ">>>>   \t\t\tspin_lock_irqsave(&xhci->lock, flags);\n"
  ">>>> -\t\t\ttemp = xhci_readl(xhci, port_array[wIndex]);\n"
  ">>>> +\t\t\ttemp = xhci_readl(port_array[wIndex]);\n"
- ">>>>   \t\t\tif (link_state = USB_SS_PORT_LS_U3)\n"
+ ">>>>   \t\t\tif (link_state == USB_SS_PORT_LS_U3)\n"
  ">>>>   \t\t\t\tbus_state->suspended_ports |= 1 << wIndex;\n"
  ">>>>   \t\t\tbreak;\n"
  ">>>> @@ -872,7 +872,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,\n"
@@ -411,7 +411,7 @@
  ">>>>   \t\twIndex--;\n"
  ">>>> -\t\ttemp = xhci_readl(xhci, port_array[wIndex]);\n"
  ">>>> +\t\ttemp = xhci_readl(port_array[wIndex]);\n"
- ">>>>   \t\tif (temp = 0xffffffff) {\n"
+ ">>>>   \t\tif (temp == 0xffffffff) {\n"
  ">>>>   \t\t\tretval = -ENODEV;\n"
  ">>>>   \t\t\tbreak;\n"
  ">>>> @@ -939,7 +939,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,\n"
@@ -429,7 +429,7 @@
  ">>>>   \tfor (i = 0; i < max_ports; i++) {\n"
  ">>>> -\t\ttemp = xhci_readl(xhci, port_array[i]);\n"
  ">>>> +\t\ttemp = xhci_readl(port_array[i]);\n"
- ">>>>   \t\tif (temp = 0xffffffff) {\n"
+ ">>>>   \t\tif (temp == 0xffffffff) {\n"
  ">>>>   \t\t\tretval = -ENODEV;\n"
  ">>>>   \t\t\tbreak;\n"
  ">>>> @@ -1098,7 +1098,7 @@ int xhci_bus_suspend(struct usb_hcd *hcd)\n"
@@ -501,7 +501,7 @@
  ">>>>   \taddr = &xhci->cap_regs->hcc_params;\n"
  ">>>> -\toffset = XHCI_HCC_EXT_CAPS(xhci_readl(xhci, addr));\n"
  ">>>> +\toffset = XHCI_HCC_EXT_CAPS(xhci_readl(addr));\n"
- ">>>>   \tif (offset = 0) {\n"
+ ">>>>   \tif (offset == 0) {\n"
  ">>>>   \t\txhci_err(xhci, \"No Extended Capability registers, \"\n"
  ">>>>   \t\t\t\t\"unable to set up roothub.\\n\");\n"
  ">>>> @@ -2115,7 +2115,7 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)\n"
@@ -510,7 +510,7 @@
  ">>>>   \t\tu32 cap_id;\n"
  ">>>> -\t\tcap_id = xhci_readl(xhci, tmp_addr);\n"
  ">>>> +\t\tcap_id = xhci_readl(tmp_addr);\n"
- ">>>>   \t\tif (XHCI_EXT_CAPS_ID(cap_id) = XHCI_EXT_CAPS_PROTOCOL)\n"
+ ">>>>   \t\tif (XHCI_EXT_CAPS_ID(cap_id) == XHCI_EXT_CAPS_PROTOCOL)\n"
  ">>>>   \t\t\tcap_count++;\n"
  ">>>>   \t\ttmp_offset = XHCI_EXT_CAPS_NEXT(cap_id);\n"
  ">>>> @@ -2129,7 +2129,7 @@ static int xhci_setup_port_arrays(struct xhci_hcd *xhci, gfp_t flags)\n"
@@ -518,7 +518,7 @@
  ">>>>   \t\tu32 cap_id;\n"
  ">>>> -\t\tcap_id = xhci_readl(xhci, addr);\n"
  ">>>> +\t\tcap_id = xhci_readl(addr);\n"
- ">>>>   \t\tif (XHCI_EXT_CAPS_ID(cap_id) = XHCI_EXT_CAPS_PROTOCOL)\n"
+ ">>>>   \t\tif (XHCI_EXT_CAPS_ID(cap_id) == XHCI_EXT_CAPS_PROTOCOL)\n"
  ">>>>   \t\t\txhci_add_in_port(xhci, num_ports, addr,\n"
  ">>>>   \t\t\t\t\t(u8) XHCI_EXT_PORT_MAJOR(cap_id),\n"
  ">>>> @@ -2234,7 +2234,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags)\n"
@@ -584,11 +584,11 @@
  ">>>>   \t\t\tport_id);\n"
  ">>>> -\ttemp = xhci_readl(xhci, port_array[faked_port_index]);\n"
  ">>>> +\ttemp = xhci_readl(port_array[faked_port_index]);\n"
- ">>>>   \tif (hcd->state = HC_STATE_SUSPENDED) {\n"
+ ">>>>   \tif (hcd->state == HC_STATE_SUSPENDED) {\n"
  ">>>>   \t\txhci_dbg(xhci, \"resume root hub\\n\");\n"
  ">>>>   \t\tusb_hcd_resume_root_hub(hcd);\n"
  ">>>> @@ -1684,7 +1684,7 @@ static void handle_port_status(struct xhci_hcd *xhci,\n"
- ">>>>   \tif ((temp & PORT_PLC) && (temp & PORT_PLS_MASK) = XDEV_RESUME) {\n"
+ ">>>>   \tif ((temp & PORT_PLC) && (temp & PORT_PLS_MASK) == XDEV_RESUME) {\n"
  ">>>>   \t\txhci_dbg(xhci, \"port resume event for port %d\\n\", port_id);\n"
  ">>>> -\t\ttemp1 = xhci_readl(xhci, &xhci->op_regs->command);\n"
  ">>>> +\t\ttemp1 = xhci_readl(&xhci->op_regs->command);\n"
@@ -600,7 +600,7 @@
  ">>>>   \t/* Check if the xHC generated the interrupt, or the irq is shared */\n"
  ">>>> -\tstatus = xhci_readl(xhci, &xhci->op_regs->status);\n"
  ">>>> +\tstatus = xhci_readl(&xhci->op_regs->status);\n"
- ">>>>   \tif (status = 0xffffffff)\n"
+ ">>>>   \tif (status == 0xffffffff)\n"
  ">>>>   \t\tgoto hw_died;\n"
  ">>>> @@ -2783,7 +2783,7 @@ hw_died:\n"
  ">>>>   \tif (hcd->irq) {\n"
@@ -627,7 +627,7 @@
  ">>>>   \tdo {\n"
  ">>>> -\t\tresult = xhci_readl(xhci, ptr);\n"
  ">>>> +\t\tresult = xhci_readl(ptr);\n"
- ">>>>   \t\tif (result = ~(u32)0)\t\t/* card removed */\n"
+ ">>>>   \t\tif (result == ~(u32)0)\t\t/* card removed */\n"
  ">>>>   \t\t\treturn -ENODEV;\n"
  ">>>>   \t\tresult &= mask;\n"
  ">>>> @@ -82,11 +82,11 @@ void xhci_quiesce(struct xhci_hcd *xhci)\n"
@@ -655,7 +655,7 @@
  ">>>>   \tint ret, i;\n"
  ">>>> -\tstate = xhci_readl(xhci, &xhci->op_regs->status);\n"
  ">>>> +\tstate = xhci_readl(&xhci->op_regs->status);\n"
- ">>>>   \tif ((state & STS_HALT) = 0) {\n"
+ ">>>>   \tif ((state & STS_HALT) == 0) {\n"
  ">>>>   \t\txhci_warn(xhci, \"Host controller not halted, aborting reset.\\n\");\n"
  ">>>>   \t\treturn 0;\n"
  ">>>>   \t}\n"
@@ -669,7 +669,7 @@
  ">>>>   \tfor (i = 0; i < xhci->num_usb3_ports; i++) {\n"
  ">>>> -\t\ttemp = xhci_readl(xhci, xhci->usb3_ports[i]);\n"
  ">>>> +\t\ttemp = xhci_readl(xhci->usb3_ports[i]);\n"
- ">>>>   \t\tif ((temp & PORT_PLS_MASK) = USB_SS_PORT_LS_COMP_MOD) {\n"
+ ">>>>   \t\tif ((temp & PORT_PLS_MASK) == USB_SS_PORT_LS_COMP_MOD) {\n"
  ">>>>   \t\t\t/*\n"
  ">>>>   \t\t\t * Compliance Mode Detected. Letting USB Core\n"
  ">>>> @@ -611,19 +611,19 @@ int xhci_run(struct usb_hcd *hcd)\n"
@@ -803,7 +803,7 @@
  ">>>>   \t\tgoto done;\n"
  ">>>> -\ttemp = xhci_readl(xhci, &xhci->op_regs->status);\n"
  ">>>> +\ttemp = xhci_readl(&xhci->op_regs->status);\n"
- ">>>>   \tif (temp = 0xffffffff || (xhci->xhc_state & XHCI_STATE_HALTED)) {\n"
+ ">>>>   \tif (temp == 0xffffffff || (xhci->xhc_state & XHCI_STATE_HALTED)) {\n"
  ">>>>   \t\txhci_dbg_trace(xhci, trace_xhci_dbg_cancel_urb,\n"
  ">>>>   \t\t\t\t\"HW died, freeing TD.\");\n"
  ">>>> @@ -3593,7 +3593,7 @@ void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev)\n"
@@ -811,7 +811,7 @@
  ">>>>   \t/* Don't disable the slot if the host controller is dead. */\n"
  ">>>> -\tstate = xhci_readl(xhci, &xhci->op_regs->status);\n"
  ">>>> +\tstate = xhci_readl(&xhci->op_regs->status);\n"
- ">>>>   \tif (state = 0xffffffff || (xhci->xhc_state & XHCI_STATE_DYING) ||\n"
+ ">>>>   \tif (state == 0xffffffff || (xhci->xhc_state & XHCI_STATE_DYING) ||\n"
  ">>>>   \t\t\t(xhci->xhc_state & XHCI_STATE_HALTED)) {\n"
  ">>>>   \t\txhci_free_virt_device(xhci, udev->slot_id);\n"
  ">>>> @@ -4102,12 +4102,12 @@ static int xhci_usb2_software_lpm_test(struct usb_hcd *hcd,\n"
@@ -921,4 +921,4 @@
  ">>>> 1.7.9.5\n"
  >>>>
 
-e64ba2e2bbc65293d86a4750167634a0ecf09bdd5dd941dadb999c1eee5154fe
+527490a7e6d483e6329a596e8aabd13e659f298ea84b6e1cf6a3152821677108

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.