]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/batman-adv/translation-table.c
Staging: batman-adv: Move printk to simplified macros
[net-next-2.6.git] / drivers / staging / batman-adv / translation-table.c
index 992fc7cf30bc2f9e1085f75ac07b4bc07d141438..b233377d756808bf15398ad13ff7560b2589d51d 100644 (file)
@@ -116,8 +116,7 @@ void hna_local_add(uint8_t *addr)
                                       hna_local_hash->size * 2);
 
                if (swaphash == NULL)
-                       printk(KERN_ERR "batman-adv:"
-                              "Couldn't resize local hna hash table\n");
+                       pr_err("Couldn't resize local hna hash table\n");
                else
                        hna_local_hash = swaphash;
        }
@@ -372,8 +371,7 @@ void hna_global_add_orig(struct orig_node *orig_node,
                                       hna_global_hash->size * 2);
 
                if (swaphash == NULL)
-                       printk(KERN_ERR "batman-adv:"
-                              "Couldn't resize global hna hash table\n");
+                       pr_err("Couldn't resize global hna hash table\n");
                else
                        hna_global_hash = swaphash;
        }