On 20/10/22 11:16, Laurent Vivier wrote:
Embed the setting of info_str in a function.

Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
---
  hw/net/xen_nic.c  |  5 ++---
  include/net/net.h |  1 +
  net/l2tpv3.c      |  3 +--
  net/net.c         | 17 ++++++++++++-----
  net/slirp.c       |  5 ++---
  net/socket.c      | 33 ++++++++++++++-------------------
  net/tap-win32.c   |  3 +--
  net/tap.c         | 13 +++++--------
  net/vde.c         |  3 +--
  net/vhost-user.c  |  3 +--
  net/vhost-vdpa.c  |  2 +-
  11 files changed, 41 insertions(+), 47 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to