[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d88289f9-e22a-4960-9b3b-ad0b3ab17a89@suse.com>
Date: Tue, 17 Sep 2024 15:17:23 +0200
From: Oliver Neukum <oneukum@...e.com>
To: Jeongjun Park <aha310510@...il.com>, Oliver Neukum <oneukum@...e.com>
Cc: Greg KH <gregkh@...uxfoundation.org>, colin.i.king@...il.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: use mutex_lock in iowarrior_read()
On 17.09.24 12:01, Jeongjun Park wrote:
> Okay, I understand. Then I think it would be appropriate to do
> the patch below to prevent blocking, but I have one question.
>
> Currently, many misc usb drivers do not seem to handle the
> O_NONBLOCK flag when using mutex_lock. If this is really
Yes. The quality of many drivers could be improved.
Feel free to make patches. However, the lack of quality elsewhere
does not justify a regression. Hence code fixing drivers already
correctly supporting O_NONBLOCK must be correct in that regard.
> necessary code, I think it would require code modifications to
> other functions inside iowarrior and many misc usb drivers.
>
> What do you think about this?
The formatting seems to be broken. In terms of content it is good.
Regards
Oliver
Powered by blists - more mailing lists