tipc: use standard printk shortcut macros (pr_err etc.)
[deliverable/linux.git] / net / tipc / config.c
index c5712a34381058593e7c5207c48a545f73ad6717..7978fdd992999c2b41865b3086b276e697201045 100644 (file)
@@ -432,7 +432,7 @@ static void cfg_named_msg_event(void *userdata,
        if ((size < sizeof(*req_hdr)) ||
            (size != TCM_ALIGN(ntohl(req_hdr->tcm_len))) ||
            (ntohs(req_hdr->tcm_flags) != TCM_F_REQUEST)) {
-               warn("Invalid configuration message discarded\n");
+               pr_warn("Invalid configuration message discarded\n");
                return;
        }
 
@@ -478,7 +478,7 @@ int tipc_cfg_init(void)
        return 0;
 
 failed:
-       err("Unable to create configuration service\n");
+       pr_err("Unable to create configuration service\n");
        return res;
 }
 
@@ -494,7 +494,7 @@ void tipc_cfg_reinit(void)
        seq.lower = seq.upper = tipc_own_addr;
        res = tipc_publish(config_port_ref, TIPC_ZONE_SCOPE, &seq);
        if (res)
-               err("Unable to reinitialize configuration service\n");
+               pr_err("Unable to reinitialize configuration service\n");
 }
 
 void tipc_cfg_stop(void)
This page took 0.02528 seconds and 5 git commands to generate.