[Bug 246867] [PATCH] sys/dev/cpufreq/cpufreq_dt.c redefine DEBUG and fail kernelbuild

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 30 11:11:48 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246867

            Bug ID: 246867
           Summary: [PATCH] sys/dev/cpufreq/cpufreq_dt.c redefine DEBUG
                    and fail kernelbuild
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: oskar.holmlund at ohdata.se
 Attachment #215052 text/plain
         mime type:

Created attachment 215052
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215052&action=edit
cpufreq_dt.c

Tested on head r361642

If DEBUG is defined in the kernel configuration for example in std.armv7 [see
attached] the kernel will not build due to redefinition of DEBUG in
cpufreq_dt.c.

Attach simple patch replacing DEBUG with DPRINTF.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list