On Tue, 17 Aug 2021 at 02:31, Wojciech Macek <w...@freebsd.org> wrote:
>
> The branch main has been updated by wma:
>
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=e8ad0a0059afe1cd0af39bab49018ae7bc9be937
>
> commit e8ad0a0059afe1cd0af39bab49018ae7bc9be937
> Author:     Wojciech Macek <w...@freebsd.org>
> AuthorDate: 2021-08-17 06:28:21 +0000
> Commit:     Wojciech Macek <w...@freebsd.org>
> CommitDate: 2021-08-17 06:31:00 +0000
>
>     ipmi: New tunable to deactivate IPMI watchdog

A bit of post-commit review:

>From sysctl.9: "For boolean sysctls, negative logic should be totally
avoided. That is, do not use names like no_foobar or foobar_disable.
They are confusing and lead to configuration errors. Use positive
logic instead: foobar, foobar_enable." So, preferable to have
wd_init_enable = 1 instead.

> +SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_init_disable, CTLFLAG_RWTUN,
> +       &wd_init_disable, 0, "");

and we should have a description here.
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to