Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1687254
| From | Christoph Hellwig <hch@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] nvmet: Move serial number from controller to subsystem |
| Date | 2017-07-14 13:10 +0200 |
| Message-ID | <u36DU-2z6-23@gated-at.bofh.it> (permalink) |
| References | <u36DT-2z6-13@gated-at.bofh.it> <u36DU-2z6-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> + if (!subsys->serial) > + get_random_bytes(&subsys->serial, sizeof(subsys->serial)); This should move to nvmet_subsys_alloc instead.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Provide a stable serial number Johannes Thumshirn <jthumshirn@suse.de> - 2017-07-14 13:10 +0200 [PATCH 2/2] nvmet: preserve controller serial number between reboots Johannes Thumshirn <jthumshirn@suse.de> - 2017-07-14 13:10 +0200 Re: [PATCH 1/2] nvmet: Move serial number from controller to subsystem Christoph Hellwig <hch@lst.de> - 2017-07-14 13:10 +0200 [PATCH 1/2] nvmet: Move serial number from controller to subsystem Johannes Thumshirn <jthumshirn@suse.de> - 2017-07-14 13:10 +0200
csiph-web