net: netcp: fix spelling mistake: "memomry" -> "memory"
authorColin Ian King <colin.king@canonical.com>
Sat, 22 Apr 2017 12:22:01 +0000 (13:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 17:59:32 +0000 (13:59 -0400)
Trivial fix to spelling mistake in dev_err message and rejoin
line.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c

index eece3e2eec14199809b1b55219835662bad1d012..897176fc5043bf0da12fe5dcb7a659c269fdf615 100644 (file)
@@ -3048,8 +3048,7 @@ static void init_secondary_ports(struct gbe_priv *gbe_dev,
        for_each_child_of_node(node, port) {
                slave = devm_kzalloc(dev, sizeof(*slave), GFP_KERNEL);
                if (!slave) {
-                       dev_err(dev,
-                               "memomry alloc failed for secondary port(%s), skipping...\n",
+                       dev_err(dev, "memory alloc failed for secondary port(%s), skipping...\n",
                                port->name);
                        continue;
                }