[PATCH 2/6] dtoc: Fix up a code comment that confuses pylint

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Nov 22 07:45:32 CET 2021


On 11/22/21 04:48, Simon Glass wrote:
> This produces a pylint error at present. Fix it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

> ---
>
>   tools/dtoc/dtb_platdata.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py
> index 3bb5c680f2e..a69a7889ce1 100644
> --- a/tools/dtoc/dtb_platdata.py
> +++ b/tools/dtoc/dtb_platdata.py
> @@ -72,7 +72,7 @@ class Ftype(IntEnum):
>
>
>   # This holds information about each type of output file dtoc can create
> -# type: Type of file (Ftype)
> +# ftype: Type of file (Ftype)

Please, remove now superfluous ' (Ftype)'.

Best regards

Heinrich

>   # fname: Filename excluding directory, e.g. 'dt-plat.c'
>   # hdr_comment: Comment explaining the purpose of the file
>   OutputFile = collections.namedtuple('OutputFile',
>



More information about the U-Boot mailing list