diff options
author | Parav Pandit <[email protected]> | 2021-01-05 12:31:58 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-02-23 07:52:56 -0500 |
commit | 437944126004d531ccac113db57985a713fc366d (patch) | |
tree | a4b84276153f32ac0cbb8e1d0bb5388a40e84402 | |
parent | 02cc6b495dd694484167a841d7ede4b6209c658f (diff) |
vdpa_sim_net: Make mac address array static
MAC address array is used only in vdpa_sim_net.c.
Hence, keep it static.
Signed-off-by: Parav Pandit <[email protected]>
Acked-by: Jason Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
-rw-r--r-- | drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c index c10b6981fdab..f0482427186b 100644 --- a/drivers/vdpa/vdpa_sim/vdpa_sim_net.c +++ b/drivers/vdpa/vdpa_sim/vdpa_sim_net.c @@ -33,7 +33,7 @@ static char *macaddr; module_param(macaddr, charp, 0); MODULE_PARM_DESC(macaddr, "Ethernet MAC address"); -u8 macaddr_buf[ETH_ALEN]; +static u8 macaddr_buf[ETH_ALEN]; static struct vdpasim *vdpasim_net_dev; |