The driver code in documentation/content/en/books/arch-handbook/driverbasics/_index.adoc does not compile as it includes sys/module.h before sys/param.h
Created attachment 230797 [details] diff for documentation Moved include headers around
*** Bug 261013 has been marked as a duplicate of this bug. ***
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=d00b3eb7681921e974ca687151eea5f42fe81b53 commit d00b3eb7681921e974ca687151eea5f42fe81b53 Author: blitztide <david.elliott3040@gmail.com> AuthorDate: 2022-01-10 13:10:00 +0000 Commit: Danilo G. Baio <dbaio@FreeBSD.org> CommitDate: 2022-01-11 02:16:25 +0000 arch-handbook/driverbasics: Fix example code The driver code does not compile as it includes sys/module.h before sys/param.h. PR: 261014 Reviewed by: allanjude Pull Request: https://github.com/freebsd/freebsd-doc/pull/50 documentation/content/en/books/arch-handbook/driverbasics/_index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Committed. Thanks for your contribution.