···543543544544 retval = -EINVAL;545545546546- /* This function maintains backwards compatibility with V4L1 and will547547- * map more than one buffer if the vma length is equal to the combined548548- * size of multiple buffers than it will map them together. See549549- * VIDIOCGMBUF in the v4l spec550550- *551551- * TODO: Allow drivers to specify if they support this mode552552- */553553-554546 BUG_ON(!mem);555547 MAGIC_CHECK(mem->magic, MAGIC_SG_MEM);556548