Re: [PATCH 1/7] USB: cypress_m8: fix potential scheduling while atomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2014 at 12:44:27PM -0700, Greg Kroah-Hartman wrote:
> On Wed, Mar 12, 2014 at 07:09:37PM +0100, Johan Hovold wrote:
> > Remove erroneous call to usb_clear_halt which is blocking and cannot be
> > used in interrupt context.
> > 
> > This code has possibly never been executed as it would cause an oops if
> > it was. Simply treat a stalled-endpoint error as any other error
> > condition.
> > 
> > Cc: stable <stable@xxxxxxxxxxxxxxx>
> > Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx>
> 
> If no one has ever hit this, then it shouldn't need to go to stable, so
> I'll remove that line from this patch.

Yeah, you're right.

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux