lkml.org 
[lkml]   [2017]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] nvmet: Move serial number from controller to subsystem
> +	if (!subsys->serial)
> + get_random_bytes(&subsys->serial, sizeof(subsys->serial));

This should move to nvmet_subsys_alloc instead.

\
 
 \ /
  Last update: 2017-07-14 13:04    [W:1.266 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site