Re: [PATCH] usb: check for signals in chaoskey read function

From: Oliver Neukum
Date: Tue Feb 16 2016 - 03:27:32 EST


On Mon, 2016-02-15 at 18:49 -0800, Keith Packard wrote:
> Call signal_pending before reading a chunk of data from the device so
> that long read operations can be interrupted with a signal.

Hi,

why is this needed? You are doing this right after a
mutex_lock_interruptible().

Regards
Oliver