/* ubi_dump_mkvol_req - dump a &struct ubi_mkvol_req object. @req: the object to dump  */
void ubi_dump_mkvol_req(const struct ubi_mkvol_req *req)
/* ubi_dump_mkvol_req - dump a &struct ubi_mkvol_req object. @req: the object to dump  */
void ubi_dump_mkvol_req(const struct ubi_mkvol_req *req)
{
	char nm[17];
	pr_err("Volume creation request dump:\n");
	pr_err("\tvol_id    %d\n",   req->vol_id);
	pr_err("\talignment %d\n",   req->alignment);
	pr_err("\tbytes     %lld\n", (long long)req->bytes);
	pr_err("\tvol_type  %d\n",   req->vol_type);
	pr_err("\tname_len  %d\n",   req->name_len);
	memcpy(nm, req->name, 16);
	nm[16] = 0;
	pr_err("\t1st 16 characters of name: %s\n", nm);
}