提交 1ebed71a 编写于 作者: D David S. Miller

macvtap: Use dev_t for macvtap_major.

Reported-by: N"Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 132ff00a
......@@ -58,7 +58,7 @@ static struct proto macvtap_proto = {
* only has one tap, the interface numbers assure that the
* device nodes are unique.
*/
static unsigned int macvtap_major;
static dev_t macvtap_major;
#define MACVTAP_NUM_DEVS 65536
static struct class *macvtap_class;
static struct cdev macvtap_cdev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册