Page MenuHomeFreeBSD

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
ClosedPublic

Authored by wulf on Dec 19 2021, 11:25 AM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

wulf requested review of this revision.Dec 19 2021, 11:25 AM
This revision is now accepted and ready to land.Dec 19 2021, 11:31 AM

Thank you! Feel free to get it in an MFC it timely if possible to avoid too many conflicts.

emaste added inline comments.
sys/compat/linuxkpi/common/include/linux/acpi.h
31–33

Does the _LINUX_ bit match the Linux version? _LINUXKPI_LINUX_ seems a bit strange unless it's following Linux convention

sys/compat/linuxkpi/common/include/linux/acpi.h
31–33

We've put the path in most (all ?) files so as this is linux/acpi.h this become LINUX_ACPI_H_