2024-02-29 21:53:23

by Kees Cook

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] lib/string_helpers: Add flags param to string_get_size()

On Thu, 29 Feb 2024 22:52:30 +0200, Andy Shevchenko wrote:
> The new flags parameter allows controlling
> - Whether or not the units suffix is separated by a space, for
> compatibility with sort -h
> - Whether or not to append a B suffix - we're not always printing
> bytes.

I cleaned up the Co-developed-by/S-o-b and applied to for-next/hardening, thanks!

[1/1] lib/string_helpers: Add flags param to string_get_size()
https://git.kernel.org/kees/c/ec8815c56558

Take care,

--
Kees Cook



2024-02-29 21:54:49

by Kent Overstreet

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] lib/string_helpers: Add flags param to string_get_size()

On Thu, Feb 29, 2024 at 01:52:34PM -0800, Kees Cook wrote:
> On Thu, 29 Feb 2024 22:52:30 +0200, Andy Shevchenko wrote:
> > The new flags parameter allows controlling
> > - Whether or not the units suffix is separated by a space, for
> > compatibility with sort -h
> > - Whether or not to append a B suffix - we're not always printing
> > bytes.
>
> I cleaned up the Co-developed-by/S-o-b and applied to for-next/hardening, thanks!

thanks Kees!

2024-03-01 17:14:15

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] lib/string_helpers: Add flags param to string_get_size()

On Thu, Feb 29, 2024 at 04:54:30PM -0500, Kent Overstreet wrote:
> On Thu, Feb 29, 2024 at 01:52:34PM -0800, Kees Cook wrote:
> > On Thu, 29 Feb 2024 22:52:30 +0200, Andy Shevchenko wrote:
> > > The new flags parameter allows controlling
> > > - Whether or not the units suffix is separated by a space, for
> > > compatibility with sort -h
> > > - Whether or not to append a B suffix - we're not always printing
> > > bytes.
> >
> > I cleaned up the Co-developed-by/S-o-b and applied to for-next/hardening, thanks!
>
> thanks Kees!

Thank you, folks, glad we close this.

--
With Best Regards,
Andy Shevchenko