[PATCH RFT/RFC 01/49] staging: media: Revert "media: zoran: remove deprecated driver"

Christoph Hellwig hch at infradead.org
Tue Sep 22 05:16:01 UTC 2020


> +		fh->buffers.buffer[i].v4l.fbuffer = mem;
> +		fh->buffers.buffer[i].v4l.fbuffer_phys = virt_to_phys(mem);
> +		fh->buffers.buffer[i].v4l.fbuffer_bus = virt_to_bus(mem);
> +		for (off = 0; off < fh->buffers.buffer_size;
> +		     off += PAGE_SIZE)
> +			SetPageReserved(virt_to_page(mem + off));

This messing with SetPageReserved needs to go away before we bring
back the driver, even for staging.


More information about the devel mailing list