[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180705081953.pmvpmtzm273eb6yk@mwanda>
Date: Thu, 5 Jul 2018 11:19:53 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Joe Perches <joe@...ches.com>
Cc: Prakruthi Deepak Heragu <pheragu@...eaurora.org>,
apw@...onical.com, Julia Lawall <julia.lawall@...6.fr>,
Dan Carpenter <error27@...il.com>,
linux-kernel@...r.kernel.org, ckadabi@...eaurora.org,
tsoni@...eaurora.org, bryanh@...eaurora.org,
Israel Schlesinger <israels@...eaurora.org>,
Stepan Moskovchenko <stepanm@...eaurora.org>
Subject: Re: [PATCH] checkpatch: Add warnings for use of mdelay()
Neither Smatch nor Coccinelle do a good job tracking when you're in
atomic context. I've wanted to add this to Smatch but even then it
would be to warn that "We're holding a spinlock so we can't sleep".
It's trickier to say for sure when you're not holding a lock...
regards,
dan carpenter
Powered by blists - more mailing lists