[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180619140804.rly7oey6jsbznfg3@mwanda>
Date: Tue, 19 Jun 2018 17:08:05 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Hugo Lefeuvre <hle@....eu.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org,
Marcus Wolf <linux@...f-entwicklungen.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: pi433: fix race condition in pi433_open
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
Powered by blists - more mailing lists