mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
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>
This commit is contained in:
parent
8d64daf7dc
commit
4363135761
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user