Messages in this thread | | | Date | Tue, 15 Nov 2011 16:46:48 +0800 | Subject | Re: [PATCH] vlan:return error when real dev is enslaved | From | Américo Wang <> |
| |
On Tue, Nov 15, 2011 at 4:36 PM, Weiping Pan <wpan@redhat.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |