Re: [PATCH 1/2] nvmet: Move serial number from controller to subsystem

From: Christoph Hellwig
Date: Fri Jul 14 2017 - 07:03:08 EST


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

This should move to nvmet_subsys_alloc instead.