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)
commita07a296bba9ded457b853a3f11f3a23b1e5978d1
tree9af3a54de468ef892cf3bd837b2dfac738609fd6
parent1c5b5b3f0eab5eb8d954816dbb3124d2411fd800
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