On Thu, Jul 20, 2017 at 06:34:02PM +0200, Martin Wilck wrote:
> Some broken targets (such as the current Linux target) pad
> model or serial fields with 0-bytes rather than spaces. The
> NVME spec disallows 0 bytes in "ASCII" fields.
> Thus strip trailing 0-bytes, too. Also make sure that we get no
> underflow for pathological input.
> 
> Signed-off-by: Martin Wilck <mwi...@suse.com>
> Reviewed-by: Hannes Reinecke <h...@suse.de>
> Acked-by: Christoph Hellwig <h...@lst.de>

Looks good.

Reviewed-by: Keith Busch <keith.bu...@intel.com>

Reply via email to