Re: [PATCH] char: xillybus: fix spelling mistake: "upgarde" -> "upgrade"

From: Joe Perches
Date: Thu Jun 23 2016 - 15:06:01 EST


On Thu, 2016-06-23 at 18:48 +0100, Colin King wrote:
> trivial fix to spelling mistake in dev_err message
[]
> diff --git a/drivers/char/xillybus/xillybus_core.c b/drivers/char/xillybus/xillybus_core.c
[]
> @@ -658,7 +658,7 @@ static int xilly_obtain_idt(struct xilly_endpoint *endpoint)
>   /* Check version number. Accept anything below 0x82 for now. */
>   if (*version > 0x82) {

trivia:  code doesn't match comment above it.

>   dev_err(endpoint->dev,
> - "No support for IDT version 0x%02x. Maybe the xillybus driver needs an upgarde. Aborting.\n",
> + "No support for IDT version 0x%02x. Maybe the xillybus driver needs an upgrade. Aborting.\n",
>   *version);
>   return -ENODEV;
>   }