Re: [PATCH] vlan:return error when real dev is enslaved

From: AmÃrico Wang
Date: Tue Nov 15 2011 - 03:46:51 EST


On Tue, Nov 15, 2011 at 4:36 PM, Weiping Pan <wpan@xxxxxxxxxx> wrote:
> + Â Â Â if (real_dev->flags & IFF_SLAVE) {
> + Â Â Â Â Â Â Â pr_info("Error, %s was already enslaved\n", name);
> + Â Â Â Â Â Â Â return -EOPNOTSUPP;
> + Â Â Â }

Use pr_err() then.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/