projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d64daf
)
nvmet_fc: Change traddr field separator to a colon
author
James Smart
<jsmart2021@gmail.com>
Wed, 12 Apr 2017 22:15:18 +0000
(15:15 -0700)
committer
Christoph Hellwig
<hch@lst.de>
Fri, 21 Apr 2017 14:41:54 +0000
(16:41 +0200)
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>
drivers/nvme/target/fc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/target/fc.c
b/drivers/nvme/target/fc.c
index 4a44fd3485672814b3766218933638f8fd7e172b..074bd3743b5fcb6ccdd0bca8d67063611047c701 100644
(file)
--- 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;