static inline struct canid_match *em_canid_priv(struct tcf_ematch *m)
{
- return (struct canid_match *) m->data;
+ return (struct canid_match *)m->data;
}
static int em_canid_match(struct sk_buff *skb, struct tcf_ematch *m,
* fixed size EM_CAN_RULES_SIZE
*/
struct canid_match *cm;
- struct canid_match *cm_old = (struct canid_match *) m->data;
+ struct canid_match *cm_old = (struct canid_match *)m->data;
int i;
int rulescnt;
}
m->datalen = sizeof(*cm);
- m->data = (unsigned long) cm;
+ m->data = (unsigned long)cm;
if (cm_old != NULL) {
- printk(KERN_ERR"canid: Configuring an existing ematch!\n");
+ pr_err("canid: Configuring an existing ematch!\n");
kfree(cm_old);
}