On Thu, Feb 26, 2026 at 11:36 PM Evgenii Burenchev <[email protected]> wrote: > > dev_set_name() may fail and return an error, but its return value > is currently ignored and overwritten by _vdpa_register_device(). > > Abort device creation if dev_set_name() fails and release the > device reference to avoid continuing with an improperly initialized > struct device. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Evgenii Burenchev <[email protected]> > ---
Acked-by: Jason Wang <[email protected]> Thanks

