Re: [PATCH 2/5] nvme: register ns_id attributes as default sysfs groups
From: Bart Van Assche
Date: Tue Aug 14 2018 - 11:45:03 EST
On Tue, 2018-08-14 at 17:39 +-0200, Hannes Reinecke wrote:
+AD4- While I have considered having nvme+AF8-nvm+AF8-register+AF8-sysfs() returning a
+AD4- pointer I would then have to remove the 'static' declaration from the
+AD4- nvm+AF8-dev+AF8-attr+AF8-group+AF8-12/20.
+AD4- Which I didn't really like, either.
Hmm ... I don't see why the static declaration would have to be removed from
nvm+AF8-dev+AF8-attr+AF8-group+AF8-12/20 if nvme+AF8-nvm+AF8-register+AF8-sysfs() would return a pointer?
Am I perhaps missing something?
Thanks,
Bart.