aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index 89ad29dc88d4..a13dcdf90a4f 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -1448,6 +1448,7 @@ static int srp_parse_options(const char *buf, struct srp_target_port *target)
1448 strlcpy(dgid, p + i * 2, 3); 1448 strlcpy(dgid, p + i * 2, 3);
1449 target->path.dgid.raw[i] = simple_strtoul(dgid, NULL, 16); 1449 target->path.dgid.raw[i] = simple_strtoul(dgid, NULL, 16);
1450 } 1450 }
1451 kfree(p);
1451 break; 1452 break;
1452 1453
1453 case SRP_OPT_PKEY: 1454 case SRP_OPT_PKEY: