Page MenuHomeFreeBSD

Rename DEBUG to DPRINTF
ClosedPublic

Authored by oskar.holmlund_ohdata.se on May 30 2020, 10:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 5 2024, 4:50 AM
Unknown Object (File)
Dec 23 2023, 3:37 AM
Unknown Object (File)
Dec 12 2023, 11:10 AM
Unknown Object (File)
Nov 11 2023, 11:56 AM
Unknown Object (File)
Nov 11 2023, 7:43 AM
Unknown Object (File)
Nov 11 2023, 5:09 AM
Unknown Object (File)
Nov 9 2023, 7:46 AM
Unknown Object (File)
Nov 8 2023, 12:39 AM
Subscribers

Details

Summary

DEBUG is a kernel configuration flag and if used cpufreq_dt.c will fail the build of kernel.

Test Plan

Build kernel with / without DEBUG flag. I defined it in sys/arm/conf/std.armv7.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/dev/cpufreq/cpufreq_dt.c
55

Can you leave the if 0 ? I don't like having those printfs if debug is set.

oskar.holmlund_ohdata.se edited the summary of this revision. (Show Details)

Change to #if 0 instead of #ifdef DEBUG as suggested from EmmanuelVadot

This revision is now accepted and ready to land.Jun 9 2020, 9:41 AM
This revision was automatically updated to reflect the committed changes.