git: e8ad0a0059af - main - ipmi: New tunable to deactivate IPMI watchdog

Ed Maste emaste at freebsd.org
Tue Aug 17 15:51:35 UTC 2021


On Tue, 17 Aug 2021 at 02:31, Wojciech Macek <wma at 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 <wma at FreeBSD.org>
> AuthorDate: 2021-08-17 06:28:21 +0000
> Commit:     Wojciech Macek <wma at 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.


More information about the dev-commits-src-all mailing list