diff options
author | Alexander Duyck <alexanderduyck@fb.com> | 2021-03-17 03:31:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-17 21:42:31 +0300 |
commit | d7a9a01b4e21b9c49559c7e66e6c0dbc7417b7fe (patch) | |
tree | e72429bc678297110165d0d46b958145a7b87c54 /drivers/net/vmxnet3 | |
parent | 3ae0ed376d1c2981715c540ba7ad3bf43fec244c (diff) | |
download | linux-d7a9a01b4e21b9c49559c7e66e6c0dbc7417b7fe.tar.xz |
virtio_net: Update driver to use ethtool_sprintf
Update the code to replace instances of snprintf and a pointer update with
just calling ethtool_sprintf.
Also replace the char pointer with a u8 pointer to avoid having to recast
the pointer type.
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3')
0 files changed, 0 insertions, 0 deletions