Messages in this thread | | | Date | Wed, 3 Sep 2014 13:46:13 +0100 | From | Matt Fleming <> | Subject | Re: [PATCH 2/5] efi: introduce efi_md_typeattr_format() |
| |
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
| |