diff options
author | James Smart <jsmart2021@gmail.com> | 2017-04-13 01:15:18 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-04-21 17:41:54 +0300 |
commit | 4363135761e085fbb5ddb16dfbd4322a4d2e5037 (patch) | |
tree | ef7153014b9214a1a0f3ba8a486783db16d63cd9 /drivers | |
parent | 8d64daf7dcd851b249717ac88e2d4989f9ad2467 (diff) | |
download | linux-4363135761e085fbb5ddb16dfbd4322a4d2e5037.tar.xz |
nvmet_fc: Change traddr field separator to a colon
The FC-NVME spec revised syntax to avoid comma separators.
Sync with the change in the parser for traddr on port attachments.
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/target/fc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/fc.c b/drivers/nvme/target/fc.c index 4a44fd348567..074bd3743b5f 100644 --- a/drivers/nvme/target/fc.c +++ b/drivers/nvme/target/fc.c @@ -2316,7 +2316,7 @@ nvmet_fc_parse_traddr(struct nvmet_fc_traddr *traddr, char *buf) if (!options) return -ENOMEM; - while ((p = strsep(&o, ",\n")) != NULL) { + while ((p = strsep(&o, ":\n")) != NULL) { if (!*p) continue; |