svn commit: r331532 - head/sys/crypto/ccp
Ian Lepore
ian at freebsd.org
Sun Mar 25 17:00:19 UTC 2018
On Sun, 2018-03-25 at 16:56 +0000, Warner Losh wrote:
> Author: imp
> Date: Sun Mar 25 16:56:49 2018
> New Revision: 331532
> URL: https://svnweb.freebsd.org/changeset/base/331532
>
> Log:
> The PNP info has to follow the module definition. Move it from just
> after the array to its proper location. Otherwise, the linker.hints
> file has things out of order and we associated it with whatever was
> the previous module.
Wow, that seems like a subtle thing that'll be easy to get wrong and
hard to detect when you have. Would it be possible for the PNP macro
to have some kind of reference to the structures generated by the
module definition macro, to force a compile-time error if they're out
of order?
-- Ian
More information about the svn-src-all
mailing list