[PATCH v2 1/2] bootstd: Fix a handful of doc typos in bootmeth

Guillaume LA ROQUE glaroque at baylibre.com
Wed Jun 5 13:17:34 CEST 2024


Hi,


Le 04/06/2024 à 17:15, Mattijs Korpershoek a écrit :
> Fix some trivial typos found by browsing the code.
> Done with flyspell.
>
> Reviewed-by: Quentin Schulz <quentin.schulz at cherry.de>
> Signed-off-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
> ---
>   include/bootmeth.h | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/include/bootmeth.h b/include/bootmeth.h
> index 0fc36104ece0..529c4d813d82 100644
> --- a/include/bootmeth.h
> +++ b/include/bootmeth.h
> @@ -40,7 +40,7 @@ struct bootmeth_ops {
>   	/**
>   	 * get_state_desc() - get detailed state information
>   	 *
> -	 * Prodecues a textual description of the state of the bootmeth. This
> +	 * Produces a textual description of the state of the bootmeth. This
>   	 * can include newline characters if it extends to multiple lines. It
>   	 * must be a nul-terminated string.
>   	 *
> @@ -138,7 +138,7 @@ struct bootmeth_ops {
>   	 * @dev:	Bootmethod device to boot
>   	 * @bflow:	Bootflow to boot
>   	 * Return: does not return on success, since it should boot the
> -	 *	Operating Systemn. Returns -EFAULT if that fails, -ENOTSUPP if
> +	 *	Operating System. Returns -EFAULT if that fails, -ENOTSUPP if
>   	 *	trying method resulted in finding out that is not actually
>   	 *	supported for this boot and should not be tried again unless
>   	 *	something changes, other -ve on other error
> @@ -151,7 +151,7 @@ struct bootmeth_ops {
>   /**
>    * bootmeth_get_state_desc() - get detailed state information
>    *
> - * Prodecues a textual description of the state of the bootmeth. This
> + * Produces a textual description of the state of the bootmeth. This
>    * can include newline characters if it extends to multiple lines. It
>    * must be a nul-terminated string.
>    *
> @@ -244,7 +244,7 @@ int bootmeth_read_file(struct udevice *dev, struct bootflow *bflow,
>    * @dev:	Bootmethod device to use
>    * @bflow:	Bootflow to read
>    * Return: does not return on success, since it should boot the
> - *	Operating Systemn. Returns -EFAULT if that fails, other -ve on
> + *	Operating System. Returns -EFAULT if that fails, other -ve on
>    *	other error
>    */
>   int bootmeth_read_all(struct udevice *dev, struct bootflow *bflow);
> @@ -255,7 +255,7 @@ int bootmeth_read_all(struct udevice *dev, struct bootflow *bflow);
>    * @dev:	Bootmethod device to boot
>    * @bflow:	Bootflow to boot
>    * Return: does not return on success, since it should boot the
> - *	Operating Systemn. Returns -EFAULT if that fails, other -ve on
> + *	Operating System. Returns -EFAULT if that fails, other -ve on
>    *	other error
>    */
>   int bootmeth_boot(struct udevice *dev, struct bootflow *bflow);
> @@ -264,7 +264,7 @@ int bootmeth_boot(struct udevice *dev, struct bootflow *bflow);
>    * bootmeth_setup_iter_order() - Set up the ordering of bootmeths to scan
>    *
>    * This sets up the ordering information in @iter, based on the selected
> - * ordering of the bootmethds in bootstd_priv->bootmeth_order. If there is no
> + * ordering of the bootmeths in bootstd_priv->bootmeth_order. If there is no
>    * ordering there, then all bootmethods are added
>    *
>    * @iter: Iterator to update with the order
>
Reviewed-by: Guillaume La Roque<glaroque at baylibre.com>

Guillaume



More information about the U-Boot mailing list