Loading drivers/soc/qcom/spcom.c +1 −0 Original line number Diff line number Diff line Loading @@ -1706,6 +1706,7 @@ static int spcom_create_channel_chardev(const char *name) pr_err("can't unregister rpmsg drv\n", ret); exit_destroy_channel: // empty channel leaves free slot for next time mutex_lock(&ch->lock); memset(ch->name, 0, SPCOM_CHANNEL_NAME_SIZE); mutex_unlock(&ch->lock); return -EFAULT; Loading Loading
drivers/soc/qcom/spcom.c +1 −0 Original line number Diff line number Diff line Loading @@ -1706,6 +1706,7 @@ static int spcom_create_channel_chardev(const char *name) pr_err("can't unregister rpmsg drv\n", ret); exit_destroy_channel: // empty channel leaves free slot for next time mutex_lock(&ch->lock); memset(ch->name, 0, SPCOM_CHANNEL_NAME_SIZE); mutex_unlock(&ch->lock); return -EFAULT; Loading