On 8/11/23 11:36, Daniel Wagner wrote:
Addressed the comments from v2. I also added cleanup code to _nvmet_cleanup() to make sure we do not leak resources when something goes wrong. I run into this while testing and all tests after the first failure failed then. changes: v3: - added new patch: "nvme/043: Use hostnqn to generate DHCAP key" - removed unused variable in "nvme/rc: Add helper for adding/removing to allow list" - added cleanup code to _nvmet_cleanup(). v2: - updated commit messages - moved the removal of subsys_name to the right patch - added _nvmet_target_{setup|cleanup} helpers this addresses also the 'appears unused' warning by ShellCheck - https://lore.kernel.org/linux-nvme/20230810111317.25273-1-dwagner@xxxxxxx/ v1: - initial version https://lore.kernel.org/linux-nvme/20230726124644.12619-1-dwagner@xxxxxxx/ Looks good.
You can add: Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions Germany GmbH, Frankenstr. 146, 90461 Nürnberg Managing Directors: I. Totev, A. Myers, A. McDonald, M. B. Moerman (HRB 36809, AG Nürnberg)