> + if (!subsys->serial) > + get_random_bytes(&subsys->serial, sizeof(subsys->serial));
This should move to nvmet_subsys_alloc instead.
> + if (!subsys->serial) > + get_random_bytes(&subsys->serial, sizeof(subsys->serial));
This should move to nvmet_subsys_alloc instead.