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)
Wed, Dec 10, 11:08 AM
Unknown Object (File)
Thu, Nov 13, 5:11 AM
Unknown Object (File)
Nov 11 2025, 12:49 AM
Unknown Object (File)
Nov 7 2025, 1:43 AM
Unknown Object (File)
Nov 4 2025, 2:05 PM
Unknown Object (File)
Nov 4 2025, 2:05 PM
Unknown Object (File)
Nov 4 2025, 2:05 PM
Unknown Object (File)
Nov 4 2025, 10:24 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 58539
Build 55427: arc lint + arc unit

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.