staging: gdm72xx: Fix typos in printk
authorMasanari Iida <standby24x7@gmail.com>
Wed, 27 May 2015 14:51:51 +0000 (23:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 02:47:56 +0000 (11:47 +0900)
This patch fix 2 spelling typos in printk within gdm72xx.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_wimax.c
drivers/staging/gdm72xx/netlink_k.c

index 61d168e820110d6ddacdad0481a7672f3a831d65..08290d901b0c88c04eae7702020eea5e8727a947 100644 (file)
@@ -584,7 +584,7 @@ static int gdm_wimax_get_prepared_info(struct net_device *dev, char *buf,
                if (T == TLV_T(T_MAC_ADDRESS)) {
                        if (L != dev->addr_len) {
                                netdev_err(dev,
-                                          "%s Invalid inofrmation result T/L [%x/%d]\n",
+                                          "%s Invalid information result T/L [%x/%d]\n",
                                           __func__, T, L);
                                return -1;
                        }
index 9d78bfcdb2c36364916913b9fc2136e1cf601c14..f3cdaa6c468cfde23797911ee611fa14fe795bb9 100644 (file)
@@ -121,7 +121,7 @@ int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len)
        int ret = 0;
 
        if (group > ND_MAX_GROUP) {
-               pr_err("Group %d is invalied.\n", group);
+               pr_err("Group %d is invalid.\n", group);
                pr_err("Valid group is 0 ~ %d.\n", ND_MAX_GROUP);
                return -EINVAL;
        }