Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb...
[linux-2.6-block.git] / drivers / infiniband / ulp / srp / ib_srp.c
index a1640364144b81ee88b2f65d949ab8bfd13b9ead..0747c0595a9d42b2ff8c9cb231b38be939821ddb 100644 (file)
@@ -2928,7 +2928,7 @@ static int srp_parse_options(const char *buf, struct srp_target_port *target)
                return -ENOMEM;
 
        sep_opt = options;
-       while ((p = strsep(&sep_opt, ",")) != NULL) {
+       while ((p = strsep(&sep_opt, ",\n")) != NULL) {
                if (!*p)
                        continue;