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)
Mon, Sep 7, 8:33 AM
Unknown Object (File)
Wed, Sep 2, 5:25 AM
Unknown Object (File)
Sat, Aug 29, 3:25 PM
Unknown Object (File)
Fri, Aug 21, 11:16 AM
Unknown Object (File)
Thu, Aug 20, 6:27 PM
Unknown Object (File)
Aug 11 2026, 7:47 PM
Unknown Object (File)
Aug 11 2026, 3:13 PM
Unknown Object (File)
Aug 9 2026, 6:30 PM
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.