Page MenuHomeFreeBSD

qcom_clk: compilation fixes
ClosedPublic

Authored by adrian on Sep 12 2022, 6:37 AM.
Tags
None
Referenced Files
F166178100: D36533.diff
Wed, Aug 12, 4:00 AM
F166124279: D36533.diff
Tue, Aug 11, 10:14 PM
F166112394: D36533.id110473.diff
Tue, Aug 11, 8:01 PM
Unknown Object (File)
Tue, Aug 11, 2:37 AM
Unknown Object (File)
Mon, Aug 10, 9:51 AM
Unknown Object (File)
Mon, Aug 10, 8:46 AM
Unknown Object (File)
Mon, Aug 10, 7:43 AM
Unknown Object (File)
Sun, Aug 9, 5:25 PM
Subscribers

Details

Summary
  • remove dead code
  • log the enabled state if debugging is enabled

Diff Detail

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

Event Timeline

sys/dev/qcom_clk/qcom_clk_rcg2.c
268

bool enabled __unused;

is how this case is more often handled. If the ifdef above were under INVARIANTS, then __diagunused would be used instead. But this is more of a debug than a diagnostic and we don't have a good define for those.

This revision is now accepted and ready to land.Sep 12 2022, 6:35 PM
This revision was automatically updated to reflect the committed changes.