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)
Fri, Jun 5, 12:50 PM
Unknown Object (File)
Thu, Jun 4, 8:39 AM
Unknown Object (File)
Thu, Jun 4, 5:11 AM
Unknown Object (File)
Sun, May 31, 3:20 AM
Unknown Object (File)
May 13 2026, 5:59 PM
Unknown Object (File)
May 13 2026, 5:59 PM
Unknown Object (File)
May 13 2026, 5:42 PM
Unknown Object (File)
May 11 2026, 6:30 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.