]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/nvme/target/fc.c
nvmet_fc: Change traddr field separator to a colon
[mirror_ubuntu-artful-kernel.git] / drivers / nvme / target / fc.c
index 4a44fd3485672814b3766218933638f8fd7e172b..074bd3743b5fcb6ccdd0bca8d67063611047c701 100644 (file)
@@ -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;