Re: [PATCH] staging: pi433: fix race condition in pi433_open
From: Dan Carpenter
Date: Tue Jun 19 2018 - 10:09:02 EST
On Tue, Jun 19, 2018 at 09:42:20AM -0400, Hugo Lefeuvre wrote:
> This TODO seems to be related to this misunderstanding too:
>
> 890 /* TODO? guard against device removal before, or while,
> 891 * we issue this ioctl. --> device_get()
> 892 */
>
> Device removal can't happen before or during the ioctl execution.
Correct. Just delete the comment.
regards,
dan carpenter