Re: git: f2233ac33ab6 - main - ena: Remove \n from sysctl description
- In reply to: Zhenlei Huang : "git: f2233ac33ab6 - main - ena: Remove \n from sysctl description"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Nov 2024 16:02:40 UTC
Enlightened by Ed Maste's work 6b62e00da4ad ("mac_bsdextended: Remove \n from sysctl descriptions") .
> On Nov 26, 2024, at 11:58 PM, Zhenlei Huang <zlei@FreeBSD.org> wrote:
>
> The branch main has been updated by zlei:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=f2233ac33ab64f9bb03370c097af97f26dd0fca1
>
> commit f2233ac33ab64f9bb03370c097af97f26dd0fca1
> Author: Zhenlei Huang <zlei@FreeBSD.org>
> AuthorDate: 2024-11-26 15:52:54 +0000
> Commit: Zhenlei Huang <zlei@FreeBSD.org>
> CommitDate: 2024-11-26 15:52:54 +0000
>
> ena: Remove \n from sysctl description
>
> sysctl(8) prints a newline after the description, no need for this extra
> newline.
>
> MFC after: 1 week
> ---
> sys/dev/ena/ena_sysctl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sys/dev/ena/ena_sysctl.c b/sys/dev/ena/ena_sysctl.c
> index c1520a963853..38e52f9066cc 100644
> --- a/sys/dev/ena/ena_sysctl.c
> +++ b/sys/dev/ena/ena_sysctl.c
> @@ -158,7 +158,7 @@ SYSCTL_INT(_hw_ena, OID_AUTO, enable_9k_mbufs, CTLFLAG_RDTUN,
> int ena_force_large_llq_header = ENA_LLQ_HEADER_SIZE_POLICY_DEFAULT;
> SYSCTL_INT(_hw_ena, OID_AUTO, force_large_llq_header, CTLFLAG_RDTUN,
> &ena_force_large_llq_header, 0,
> - "Change default LLQ entry size received from the device\n");
> + "Change default LLQ entry size received from the device");
>
> int ena_rss_table_size = ENA_RX_RSS_TABLE_SIZE;
>