diff options
author | Andy Gross <andy.gross@linaro.org> | 2018-09-30 12:44:33 -0500 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-09-30 12:44:33 -0500 |
commit | 579fde69dc1467a033ff44ced75ff368b9d3d072 (patch) | |
tree | 590e07ada6c72f4d8e1acbd6ddb8ca4a1c9f50fe /drivers/soc/qcom/wcnss_ctrl.c | |
parent | bbd4b28bb8f65fc7347202f32ac82901201ac02f (diff) | |
parent | bb85ce5122487b2b1de1b48b557c5fdf9828dc6e (diff) |
Merge branch 'drivers-for-4.20' into drivers-for-4.20-final
Diffstat (limited to 'drivers/soc/qcom/wcnss_ctrl.c')
-rw-r--r-- | drivers/soc/qcom/wcnss_ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/wcnss_ctrl.c b/drivers/soc/qcom/wcnss_ctrl.c index df3ccb30bc2d..373400dd816d 100644 --- a/drivers/soc/qcom/wcnss_ctrl.c +++ b/drivers/soc/qcom/wcnss_ctrl.c @@ -281,7 +281,7 @@ struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name, rp struct rpmsg_channel_info chinfo; struct wcnss_ctrl *_wcnss = wcnss; - strncpy(chinfo.name, name, sizeof(chinfo.name)); + strscpy(chinfo.name, name, sizeof(chinfo.name)); chinfo.src = RPMSG_ADDR_ANY; chinfo.dst = RPMSG_ADDR_ANY; |