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

Matt Fleming
2014-09-03T12:54:47Z

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