/* Initialize dump request data structure (including one buffer).  */
int line6_dumpreq_init(struct line6_dump_request *l6dr, const void *buf, size_t len)
/* Initialize dump request data structure (including one buffer).  */
int line6_dumpreq_init(struct line6_dump_request *l6dr, const void *buf, size_t len)
{
	int ret;
	ret = line6_dumpreq_initbuf(l6dr, buf, len, 0);
	if (ret < 0)
		return ret;
	init_waitqueue_head(&l6dr->wait);
	init_timer(&l6dr->timer);
	return 0;
}