Re: git: c3707bd3d658 - main - linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers

Gleb Smirnoff <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <anQeOMkRSN6YhXQz__48864.8939108074$1785994841$gmane$org@cell.glebi.us>
  Mateusz,

working on -Werror=assign-enum compilation stumbled on this change:

On Sat, Sep 17, 2022 at 11:55:18PM +0000, Mateusz Guzik wrote:
M> The branch main has been updated by mjg:
M> 
M> URL: https://cgit.FreeBSD.org/src/commit/?id=c3707bd3d658b7a085fde274fb404f61062f2d41
M> 
M> commit c3707bd3d658b7a085fde274fb404f61062f2d41
M> Author:     Mateusz Guzik <[email protected]>
M> AuthorDate: 2022-09-17 23:41:46 +0000
M> Commit:     Mateusz Guzik <[email protected]>
M> CommitDate: 2022-09-17 23:52:23 +0000
M> 
M>     linuxkpi: use SI_SUB_EVENTHANDLER + 1, like other consumers
M>     
M>     Otherwise it may try to initialize before eventhandler subsystem.

What was the motivation back then? Did you actually observe the problem?
If so, it is a bug inside SYSINIT(9) that needs to be fixed.

-- 
Gleb Smirnoff
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.