Page MenuHomeFreeBSD

bthidd: declare appropriate size bitstring
ClosedPublic

Authored by rlibby on Jul 6 2024, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 18, 12:10 AM
Unknown Object (File)
Tue, Sep 16, 9:03 PM
Unknown Object (File)
Sun, Sep 7, 11:31 AM
Unknown Object (File)
Aug 23 2025, 12:52 AM
Unknown Object (File)
Jul 27 2025, 4:57 PM
Unknown Object (File)
Jul 25 2025, 1:42 AM
Unknown Object (File)
Jul 22 2025, 8:29 PM
Unknown Object (File)
Jul 20 2025, 12:05 AM
Subscribers
None

Details

Summary

The bitstring declared on the stack was much too large, and gcc noticed
that we weren't memset()ing all of it. This one was harmless.

Reported by: GCC -Wmemset-elt-size

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rlibby requested review of this revision.Jul 6 2024, 5:11 PM
rlibby created this revision.
This revision is now accepted and ready to land.Jul 8 2024, 4:32 PM
This revision was automatically updated to reflect the committed changes.