Skip to content

Commit 1ebed71

Browse files
committed
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>
1 parent 132ff00 commit 1ebed71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/macvtap.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static struct proto macvtap_proto = {
5858
* only has one tap, the interface numbers assure that the
5959
* device nodes are unique.
6060
*/
61-
static unsigned int macvtap_major;
61+
static dev_t macvtap_major;
6262
#define MACVTAP_NUM_DEVS 65536
6363
static struct class *macvtap_class;
6464
static struct cdev macvtap_cdev;

0 commit comments

Comments
 (0)