[PATCH 2/5] efi: introduce efi_md_typeattr_format()

Matt Fleming matt at console-pimps.org
Wed Sep 3 05:46:13 PDT 2014


On Mon, 01 Sep, at 02:53:37AM, Laszlo Ersek wrote:
> +char * __init efi_md_typeattr_format(char *buf, size_t size,
> +				     const efi_memory_desc_t *md)
> +{
> +	char *pos;
> +	int type_len;
> +	register u64 attr;

You can delete the 'register' keyword, since the compiler is free to
ignore it (and will do so).

Rest of the patch looks good.

-- 
Matt Fleming, Intel Open Source Technology Center



More information about the linux-arm-kernel mailing list