[PATCH 1/7] mtd: replace name of 'rfree' field with 'free' in struct mtd_ooblayout_ops to better match it's description

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Fri Oct 7 13:59:28 CEST 2022


Hi

On Fri, Oct 7, 2022 at 1:58 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> On Fri, Oct 7, 2022 at 8:34 AM Michael Nazzareno Trimarchi
> <michael at amarulasolutions.com> wrote:
>
> > About this change, there was a commit from Simon 8d38a8459b0
> > that was renamed. You ask basically to revert it
>
> Correct, what about fixing it like this?
>
> diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
> index ff635bd716..09f5269887 100644
> --- a/include/linux/mtd/mtd.h
> +++ b/include/linux/mtd/mtd.h
> @@ -122,7 +122,7 @@ struct mtd_oob_region {
>   * @ecc: function returning an ECC region in the OOB area.
>   *      Should return -ERANGE if %section exceeds the total number of
>   *      ECC sections.
> - * @free: function returning a free region in the OOB area.
> + * @rfree: function returning a free region in the OOB area.
>   *       Should return -ERANGE if %section exceeds the total number of
>   *       free sections.
>   */

That's is anyway a fix

Michael


-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com


More information about the U-Boot mailing list