Re: [PATCH v7 03/33] net: set name_assign_type in alloc_netdev()

From: BjÃrn Mork
Date: Thu Jul 10 2014 - 09:27:33 EST


Tom Gundersen <teg@xxxxxxx> writes:

> What I suggest to do is:
>
> Leave NET_NAME_UNKNOWN in alloc_etherdev() (and any similar
> constructs), but in the cases where we know that the final name set
> before netdev_register() is some template, I'd still set this to
> NET_NAME_ENUM as we do now to make it clear which cases have been
> reviewed. So the patchset does not change much, but it would eliminate
> any risk of false positives.
>
> Does that sound reasonable to you?

Yes, sure. Although I'm not at all convinced about the value. But I
don't need to be, as that is not for me to decide :-)



BjÃrn
--
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/