Page MenuHomeFreeBSD

bthidd: declare appropriate size bitstring
ClosedPublic

Authored by rlibby on Jul 6 2024, 5:11 PM.
Tags
None
Referenced Files
F151216512: D45900.diff
Mon, Apr 6, 10:05 PM
Unknown Object (File)
Sun, Apr 5, 2:22 PM
Unknown Object (File)
Mon, Mar 30, 3:27 AM
Unknown Object (File)
Sun, Mar 22, 7:08 AM
Unknown Object (File)
Wed, Mar 11, 8:25 AM
Unknown Object (File)
Feb 8 2026, 11:45 AM
Unknown Object (File)
Feb 8 2026, 10:21 AM
Unknown Object (File)
Feb 2 2026, 3:41 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.