vdpa: octeon_ep: Check dev_set_name() in dev add

Handle dev_set_name() failures before registering the vDPA device so
allocation is unwound through the existing put_device() path.

Signed-off-by: Xiong Weimin <xiongweimin@kylinos.cn>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260804092636.1344431-1-xiongweimin@kylinos.cn>
This commit is contained in:
Xiong Weimin 2026-08-04 17:26:36 +08:00 • committed by Michael S. Tsirkin
commit 6519ca2351