Page MenuHomeFreeBSD

rt305x: address Clang warning
Needs ReviewPublic

Authored by emaste on Aug 30 2017, 3:54 PM.
Tags
None
Referenced Files
F82035659: D12167.diff
Wed, Apr 24, 8:48 PM
Unknown Object (File)
Feb 19 2024, 8:24 AM
Unknown Object (File)
Dec 22 2023, 10:56 PM
Unknown Object (File)
Jun 25 2023, 5:22 PM
Unknown Object (File)
May 4 2023, 7:29 AM
Subscribers
None

Details

Reviewers
adrian
imp
Summary

Clang reports 'va' may be used uninitialized. The warning is incorrect as type may be only SYS_RES_MEMORY or SYS_RES_IOPORT at that point, but drop one of the ifs to avoid the warning.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline