Page MenuHomeFreeBSD

bthidd: declare appropriate size bitstring
ClosedPublic

Authored by rlibby on Jul 6 2024, 5:11 PM.
Tags
None
Referenced Files
F175242956: D45900.id140738.diff
Fri, Oct 9, 9:19 AM
F175236079: D45900.id140626.diff
Fri, Oct 9, 8:03 AM
F175208461: D45900.diff
Fri, Oct 9, 2:55 AM
Unknown Object (File)
Mon, Oct 5, 1:10 AM
Unknown Object (File)
Mon, Oct 5, 12:41 AM
Unknown Object (File)
Mon, Oct 5, 12:35 AM
Unknown Object (File)
Sun, Oct 4, 6:45 PM
Unknown Object (File)
Sat, Oct 3, 11:47 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.