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, Sep 19, 10:46 PM
Unknown Object (File)
Fri, Sep 18, 3:37 PM
Unknown Object (File)
Fri, Sep 18, 3:34 AM
Unknown Object (File)
Mon, Sep 7, 8:33 AM
Unknown Object (File)
Wed, Sep 2, 5:25 AM
Unknown Object (File)
Sat, Aug 29, 3:25 PM
Unknown Object (File)
Aug 21 2026, 11:16 AM
Unknown Object (File)
Aug 20 2026, 6:27 PM
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.