Skip to contentSkip to conversation

char: xillybus: Fix spelling mistake and comment

PATCH New Eli Billauer 1 participant 1 message Jun 24, 2016

Subsystems (2)
lore
Share & tools
lore

Eli Billauer

author maintainer
#0 lore raw

PATCH 1/1 char: xillybus: Fix spelling mistake and comment

This patch fixes two minor issues:

(1) An inaccurate comment
(2) A spelling mistake in dev_err message ("upgarde" -> "upgrade")

---
 drivers/char/xillybus/xillybus_core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/char/xillybus/xillybus_core.c +2 -2
index dcd19f3..b6c9cde 100644
@@ -655,10 +655,10 @@ static int xilly_obtain_idt(struct xilly_endpoint *endpoint)
 
 	version = channel->wr_buffers[0]->addr;
 
-	/* Check version number. Accept anything below 0x82 for now. */
+	/* Check version number. Reject anything above 0x82. */
 	if (*version > 0x82) {
 		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;
 	}
Signature · 1 line
1.7.2.3