Hello Johan Hovold,

The patch b8f0e82044c9: "USB: usb-wwan: fix multiple memory leaks in
error paths" from Oct 25, 2012, leads to the following warning:
drivers/usb/serial/usb_wwan.c:505 usb_wwan_port_probe()
         error: port->bulk_out_endpointAddress is never equal to -1
                (wrong type 0 - 255).

drivers/usb/serial/usb_wwan.c
   504          for (i = 0; i < N_OUT_URB; i++) {
   505                  if (port->bulk_out_endpointAddress == -1)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Never true.

   506                          continue;
   507  

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to