net: netmap: use error_setg() helpers in place of error_report()
commit39bec4f38b028a2cff8c38f3455aef44d7b3b6c4
authorVincenzo Maffione <v.maffione@gmail.com>
Tue, 10 Nov 2015 09:47:22 +0000 (10 10:47 +0100)
committerJason Wang <jasowang@redhat.com>
Thu, 12 Nov 2015 07:31:52 +0000 (12 15:31 +0800)
tree8ee53b2dad55cf0da1953e3305e72e8b74a34593
parent54c59b4de584b3467166febb4ff84627a2f29a0e
net: netmap: use error_setg() helpers in place of error_report()

This update was required to align error reporting of netmap backend
initialization to the modifications introduced by commit a30ecde.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/netmap.c