Re: [PATCH] of/address: fix typo in comment block of of_translate_one()

From: Rob Herring
Date: Sun Dec 06 2015 - 15:44:00 EST


On Mon, Nov 30, 2015 at 12:22 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> Remove the "not" before "cannot".
>
> I am fixing the comment block style while I am here.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Applied for 4.4. Thanks.

Rob

> ---
>
> drivers/of/address.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/of/address.c b/drivers/of/address.c
> index 5289c80..91a469d 100644
> --- a/drivers/of/address.c
> +++ b/drivers/of/address.c
> @@ -485,9 +485,10 @@ static int of_translate_one(struct device_node *parent, struct of_bus *bus,
> int rone;
> u64 offset = OF_BAD_ADDR;
>
> - /* Normally, an absence of a "ranges" property means we are
> + /*
> + * Normally, an absence of a "ranges" property means we are
> * crossing a non-translatable boundary, and thus the addresses
> - * below the current not cannot be converted to CPU physical ones.
> + * below the current cannot be converted to CPU physical ones.
> * Unfortunately, while this is very clear in the spec, it's not
> * what Apple understood, and they do have things like /uni-n or
> * /ht nodes with no "ranges" property and a lot of perfectly
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/