@@ -2582,8 +2582,7 @@ static int xfrm_send_state_notify(struct
case XFRM_MSG_FLUSHSA:
return xfrm_notify_sa_flush(c);
default:
- printk(KERN_NOTICE "xfrm_user: Unknown SA event %d\n",
- c->event);
+ pr_notice("xfrm_user: Unknown SA event %d\n", c->event);
break;
}
@@ -2875,8 +2874,7 @@ static int xfrm_send_policy_notify(struc
case XFRM_MSG_POLEXPIRE:
return xfrm_exp_policy_notify(xp, dir, c);
default:
- printk(KERN_NOTICE "xfrm_user: Unknown Policy event %d\n",
- c->event);
+ pr_notice("xfrm_user: Unknown Policy event %d\n", c->event);
}
return 0;
@@ -3031,7 +3029,7 @@ static int __init xfrm_user_init(void)
{
int rv;
- printk(KERN_INFO "Initializing XFRM netlink socket\n");
+ pr_debug("Initializing XFRM netlink socket\n");
rv = register_pernet_subsys(&xfrm_user_net_ops);
if (rv < 0)
Use standard macro's for notices. Silence useless debug message on module load. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html