aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/asmc/asmc_debug.c
Commit message (Collapse)AuthorAgeFilesLines
* asmc: wrap the lines that exceed 80 columnsAbdelkader Boudih3 days1-1/+2
| | | | | | | | | | | Remove linter noise. No functional change. MFC after: 3 days Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D61488
* asmc: compare integer results to zero explicitlyAbdelkader Boudih9 days1-4/+4
| | | | | | | | | | No functional change. MFC After: 1 Week Approved-by: ngie (co-mentor) Reviewed by: ngie, adrian Differential Revision: https://reviews.freebsd.org/D61303
* asmc: Fix style(9) issuesAbdelkader Boudih9 days1-2/+3
| | | | | | | | | | fix operator and comma spacing and three long lines MFC After: 1 Week Approved-by: ngie (co-mentor) Reviewed by: ngie, imp Differential Revision: https://reviews.freebsd.org/D61302
* asmc: Use c99 initializers with for-loop counters to improve scopingAbdelkader Boudih9 days1-2/+1
| | | | | | | | | | | | | declared loop indices in the for statement Index types are unchanged. No functional change. MFC After: 1 Week Approved-by: ngie (co-mentor) Reviewed by: ngie, imp Differential Revision: https://reviews.freebsd.org/D61301
* asmc: split the debug key access into asmc_debug.cAbdelkader Boudih9 days1-0/+217
Move the ASMC_DEBUG code out of asmc.c into a file compiled only when the option is set, gated in files.amd64 the way acpi_debug gates the ACPICA debugger sources. The module Makefile writes the define into opt_asmc.h so every translation unit sees it; the old CFLAGS.asmc.c form covered one. No functional change. MFC After: 1 Week Approved-by: ngie (co-mentor) Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D61294