Searched refs:str_with_newline (Results 1 – 1 of 1) sorted by relevance
639 char *str, *str_with_newline; in fops_str_read() local653 str_with_newline = kmalloc(str_with_newline_len, GFP_KERNEL); in fops_str_read()654 if (str_with_newline == NULL) in fops_str_read()657 strncpy(str_with_newline, str, str_len); in fops_str_read()658 str_with_newline[str_len] = '\n'; in fops_str_read()661 str_with_newline, str_with_newline_len); in fops_str_read()663 kfree(str_with_newline); in fops_str_read()