From: Josh Triplett <josh@freedesktop.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: linux-sparse@vger.kernel.org
Subject: Re: sparse memset warnings
Date: Tue, 01 May 2007 23:28:41 -0700 [thread overview]
Message-ID: <46382F99.1000104@freedesktop.org> (raw)
In-Reply-To: <20061129101026.8aeb47ac.randy.dunlap@oracle.com>
[-- Attachment #1: Type: text/plain, Size: 875 bytes --]
Randy Dunlap wrote:
> in 2.6.19-rc6-mm2, kvm:
>
> drivers/kvm/kvm_main.c:632:9: error: too many arguments for function memset
> drivers/kvm/kvm_main.c:647:9: error: too many arguments for function memset
> drivers/kvm/kvm_main.c:733:9: error: too many arguments for function memset
> drivers/kvm/kvm_main.c:1866:8: error: too many arguments for function memset
>
> I don't see the problem...
I just rechecked 2.6.19-rc6-mm2 with current Sparse from Git (commit
6b595d01c196bb013d6d95fc297ae2cb07c1fce7), and after commenting out line 739
to get rid of this error suppressing the warnings:
drivers/kvm/kvm_main.c:739:18: error: macro "flush_tlb" passed 1 arguments, but takes just 0
, I looked through the list of warnings and did not see any about memset. I
suspect your bug got fixed, either intentionally or unintentionally. :)
- Josh Triplett
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
prev parent reply other threads:[~2007-05-02 6:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-29 18:10 sparse memset warnings Randy Dunlap
2007-05-02 6:28 ` Josh Triplett [this message]
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=46382F99.1000104@freedesktop.org \
--to=josh@freedesktop.org \
--cc=linux-sparse@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/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).