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)
Sat, Nov 9, 1:48 PM
Unknown Object (File)
Oct 18 2024, 8:40 PM
Unknown Object (File)
Oct 4 2024, 9:49 PM
Unknown Object (File)
Oct 3 2024, 2:10 AM
Unknown Object (File)
Sep 18 2024, 8:53 AM
Unknown Object (File)
Sep 14 2024, 2:09 PM
Unknown Object (File)
Sep 9 2024, 1:47 AM
Unknown Object (File)
Sep 9 2024, 1:07 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.