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)
Fri, May 8, 7:13 PM
Unknown Object (File)
Fri, May 8, 6:46 PM
Unknown Object (File)
Fri, May 8, 3:10 AM
Unknown Object (File)
Sun, Apr 26, 4:20 PM
Unknown Object (File)
Tue, Apr 21, 4:27 AM
Unknown Object (File)
Mon, Apr 20, 2:46 AM
Unknown Object (File)
Tue, Apr 14, 8:37 PM
Unknown Object (File)
Apr 13 2026, 9:15 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/dev/cpufreq/cpufreq_dt.c
54 ↗(On Diff #72464)

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.