> +     if (!subsys->serial)
> +             get_random_bytes(&subsys->serial, sizeof(subsys->serial));

This should move to nvmet_subsys_alloc instead.

Reply via email to