Page MenuHomeFreeBSD

iichid(4): Always release interrupt resource
ClosedPublic

Authored by obiwac on Fri, Jun 26, 2:29 PM.
Tags
None
Referenced Files
F160953638: D57886.diff
Mon, Jun 29, 9:31 AM
F160938795: D57886.id.diff
Mon, Jun 29, 6:35 AM
F160935104: D57886.diff
Mon, Jun 29, 5:37 AM
Unknown Object (File)
Sun, Jun 28, 11:38 PM
Unknown Object (File)
Sun, Jun 28, 8:58 PM
Unknown Object (File)
Sat, Jun 27, 12:36 PM
Subscribers

Details

Summary

We shouldn't just be doing this when IICHID_SAMPLING is not defined. Also I think it's still worth logging that the interrupt setup failed.

Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

LGTM! irq_res = bus_alloc_resource_any is not guarded with IICHID_SAMPLING. It should be paired.

This revision is now accepted and ready to land.Fri, Jun 26, 6:49 PM
This revision was automatically updated to reflect the committed changes.