Re: sparse memset warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux