From: Johannes Berg <johannes@sipsolutions.net>
To: Alexander Riesen <alexander.riesen@cetitec.com>
Cc: linux-sparse@vger.kernel.org, linux-kernel@vger.kernel.org,
Josh Triplett <josh@freedesktop.org>,
Christopher Li <sparse@chrisli.org>
Subject: Re: Why sparse does not support context tracking?
Date: Mon, 04 May 2015 15:38:57 +0200 [thread overview]
Message-ID: <1430746737.2013.22.camel@sipsolutions.net> (raw)
In-Reply-To: <55475272.90705@cetitec.com>
On Mon, 2015-05-04 at 13:05 +0200, Alexander Riesen wrote:
> Hi,
>
> I tried to instrument my code (a kernel driver) with __must_hold hints
> and noticed that they don't really work: a definitely broken code caused
> no errors from sparse.
> Revert the context tracking code
> So it seems that the code has problems with different contexts. Still, it seems
> a bit heavy-handed to remove it completely (assuming it worked, of course).
It didn't really work. It had a lot of issues that were too big for my
little wireless-focused brain :)
johannes
next prev parent reply other threads:[~2015-05-04 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 11:05 Why sparse does not support context tracking? Alexander Riesen
2015-05-04 13:38 ` Johannes Berg [this message]
2015-05-04 14:05 ` Alexander Riesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430746737.2013.22.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=alexander.riesen@cetitec.com \
--cc=josh@freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sparse@vger.kernel.org \
--cc=sparse@chrisli.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).