vdpa_sim: store parsed MAC address in a buffer
authorStefano Garzarella <sgarzare@redhat.com>
Tue, 15 Dec 2020 14:42:48 +0000 (15:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Feb 2021 14:53:22 +0000 (15:53 +0100)
commit0fb67eda6a9c67e206d87d5a68f424d4316fa74d
tree14128def70163b6315d0951069ebcc4bd81f3e12
parent0ed8181561be3c335778e14cf46ed2d7a4f7d742
vdpa_sim: store parsed MAC address in a buffer

commit cf1a3b35382c10ce315c32bd2b3d7789897fbe13 upstream.

As preparation for the next patches, we store the MAC address,
parsed during the vdpasim_create(), in a buffer that will be used
to fill 'config' together with other configurations.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-11-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vdpa/vdpa_sim/vdpa_sim.c