Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-26 Thread Matthew Garrett
On Thu, Jul 26, 2012 at 11:28:32AM -0600, Khalid Aziz wrote: > I also do not believe that kernel must use the constant names > mentioned in the specification especially when the name reaches 50 > characters. We can not get away from having to create aliases. Do > you think having aliases in efi.h

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-26 Thread Khalid Aziz
On 07/23/2012 07:26 AM, Matthew Garrett wrote: On Fri, Jul 20, 2012 at 03:10:56PM -0700, H. Peter Anvin wrote: On 07/20/2012 03:08 PM, Khalid Aziz wrote: Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer n

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-23 Thread Matthew Garrett
On Fri, Jul 20, 2012 at 03:10:56PM -0700, H. Peter Anvin wrote: > On 07/20/2012 03:08 PM, Khalid Aziz wrote: > >Replace very long constants for EFI variable attributes > >with shorter and more convenient names. Also create an > >alias for the current longer names so as to not break > >compatibility

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread Khalid Aziz
On 07/20/2012 04:34 PM, H. Peter Anvin wrote: On 07/20/2012 03:30 PM, Khalid Aziz wrote: This patch is based upon earlier discussion at . You are right that EFI specification uses exactly these long names for the constants, but does that mean kernel must al

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread H. Peter Anvin
On 07/20/2012 03:30 PM, Khalid Aziz wrote: On 07/20/2012 04:10 PM, H. Peter Anvin wrote: On 07/20/2012 03:08 PM, Khalid Aziz wrote: Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer names so as to not brea

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread Khalid Aziz
On 07/20/2012 04:10 PM, H. Peter Anvin wrote: On 07/20/2012 03:08 PM, Khalid Aziz wrote: Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer names so as to not break compatibility with current API since these

Re: [PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread H. Peter Anvin
On 07/20/2012 03:08 PM, Khalid Aziz wrote: Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer names so as to not break compatibility with current API since these constants are used by userspace programs. This

[PATCH] Shorten constant names for EFI variable attributes

2012-07-20 Thread Khalid Aziz
Replace very long constants for EFI variable attributes with shorter and more convenient names. Also create an alias for the current longer names so as to not break compatibility with current API since these constants are used by userspace programs. This patch depends on patch