]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipvtap: fix template string argument of device_create() call
authorJean Sacren <sakiwit@gmail.com>
Sat, 16 Oct 2021 05:41:35 +0000 (23:41 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2021 07:51:22 +0000 (08:51 +0100)
commitea2bf7fc4cd5c9f1ba7b7bdebccc577f38495e39
tree9af3a54de468ef892cf3bd837b2dfac738609fd6
parent32b161d23df730c0e447831414e303e87122dc36
net: ipvtap: fix template string argument of device_create() call

The last argument of device_create() call should be a template string.
The tap_name variable should be the argument to the string, but not the
argument of the call itself.  We should add the template string and turn
tap_name into its argument.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvtap.c