mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 19:05:39 +00:00
macvtap: Use dev_t for macvtap_major.
Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
132ff00a0f
commit
1ebed71ae2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user