Home
last modified time | relevance | path

Searched refs:newstr (Results 1 – 1 of 1) sorted by relevance

/drivers/accessibility/speakup/
Di18n.c545 char *newstr = NULL; in spk_msg_set() local
551 newstr = kmalloc(length + 1, GFP_KERNEL); in spk_msg_set()
552 if (!newstr) in spk_msg_set()
555 memcpy(newstr, text, length); in spk_msg_set()
556 newstr[length] = '\0'; in spk_msg_set()
559 !fmt_validate(speakup_default_msgs[index], newstr)) { in spk_msg_set()
560 kfree(newstr); in spk_msg_set()
566 speakup_msgs[index] = newstr; in spk_msg_set()