Lines Matching refs:err_msg
502 char *ptr = req->request.data, *err_msg = ""; in mconsole_remove() local
519 err_msg = "Couldn't parse device number"; in mconsole_remove()
525 err_msg = error; in mconsole_remove()
529 err_msg = NULL; in mconsole_remove()
530 err = (*dev->remove)(n, &err_msg); in mconsole_remove()
533 err_msg = ""; in mconsole_remove()
536 if (err_msg == NULL) in mconsole_remove()
537 err_msg = "Device doesn't exist"; in mconsole_remove()
540 if (err_msg == NULL) in mconsole_remove()
541 err_msg = "Device is currently open"; in mconsole_remove()
547 mconsole_reply(req, err_msg, err, 0); in mconsole_remove()