Linux-NVME Archive on
 help / color / Atom feed
From: Chaitanya Kulkarni <>
To: Mark Ruijter <>,
	"" <>
Subject: Re: [PATCH] nvmet: make ctrl model configurable
Date: Wed, 30 Oct 2019 20:09:58 +0000
Message-ID: <> (raw)
In-Reply-To: <>

Didn't see your patch, until now. Since you have posted, lets go with 
yours. Meanwhile posted tests for blktests have a look.

On 10/30/2019 01:08 PM, Mark Ruijter wrote:
> Hi Chaitanya,
> I assume that this change is based on the patch that I send earlier today.
> You seem to have changed the code that accepts the attr_model input and replaced the input validation with sscanf.
> What happens when you write a string containing a TAB into the model attribute?
> The NVM-Express 1.4 document states this on page 13:
> "Some parameters are defined as an ASCII string. ASCII strings shall contain only code values 20h through 7Eh."
> As far as I know a TAB is 9h and sscanf(page, "%s\n", subsys->model) allows the TAB.
> This seems wrong to me?
> Thanks,
> Mark Ruijter

Linux-nvme mailing list

  reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-30 19:48 Chaitanya Kulkarni
2019-10-30 20:08 ` Mark Ruijter
2019-10-30 20:09   ` Chaitanya Kulkarni [this message]
2019-10-30 21:43   ` Chaitanya Kulkarni
2019-11-01  8:08 Chaitanya Kulkarni
2019-11-11 10:34 ` Christoph Hellwig
2019-11-11 13:31   ` Mark Ruijter
2019-11-12  7:07     ` Chaitanya Kulkarni
2019-11-12  7:06   ` Chaitanya Kulkarni
2019-11-11 11:09 ` Mark Ruijter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-NVME Archive on

Archives are clonable:
	git clone --mirror linux-nvme/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nvme linux-nvme/ \
	public-inbox-index linux-nvme

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone