* sparse memset warnings
@ 2006-11-29 18:10 Randy Dunlap
2007-05-02 6:28 ` Josh Triplett
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2006-11-29 18:10 UTC (permalink / raw)
To: linux-sparse
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...
---
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sparse memset warnings
2006-11-29 18:10 sparse memset warnings Randy Dunlap
@ 2007-05-02 6:28 ` Josh Triplett
0 siblings, 0 replies; 2+ messages in thread
From: Josh Triplett @ 2007-05-02 6:28 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-sparse
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-02 6:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 18:10 sparse memset warnings Randy Dunlap
2007-05-02 6:28 ` Josh Triplett
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).