[PATCH 1/2] x86/io: add interface to reserve io memtype for a resource range. (v1.1)

Thomas Gleixner tglx at linutronix.de
Tue Oct 25 11:10:18 UTC 2016


On Mon, 24 Oct 2016, Dave Airlie wrote:
> A recent change to the mm code in:
> 87744ab3832b83ba71b931f86f9cfdb000d07da5

nit: 12 digits of the SHA1 are sufficient :)

> +int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size)
> +{
> +	enum page_cache_mode type = _PAGE_CACHE_MODE_WC;

Empty line between variable declaration and code please

> +	return io_reserve_memtype(start, start + size, &type);

Other than that:

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>


More information about the dri-devel mailing list