HomeFreeBSD

i915kms intel_pm: Read from actual tsc_freq instead of uninitialized local

Description

i915kms intel_pm: Read from actual tsc_freq instead of uninitialized local

The local of the same name would alias the global, but we didn't even include
the header that defines tsc_freq. Include it and rename the local.

Reported by: Coverity
CID: 1331559
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS298330: kern_rctl: Fix resource leak in error path
Branches
Unknown
Tags
Unknown