Page MenuHomeFreeBSD

rt305x: address Clang warning
Needs ReviewPublic

Authored by emaste on Aug 30 2017, 3:54 PM.

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
Unit Tests Skipped

Event Timeline

emaste created this revision.Aug 30 2017, 3:54 PM