[Skiboot] [PATCH] nvram-format: Fix endian issues
    Stewart Smith 
    stewart at linux.vnet.ibm.com
       
    Thu Feb 23 13:18:08 AEDT 2017
    
    
  
Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> NVRAM formats are always BE, so let's use the sparse annotation to catch
> any issues (and correct said issues).
>
> On LE platforms, the test was erroneously passing as with building the
> nvram-format code on LE we were produces an incorrect NVRAM image.
>
> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
> ---
>  core/nvram-format.c          | 35 ++++++++++++++++++++---------------
>  core/test/run-nvram-format.c |  6 +++---
>  2 files changed, 23 insertions(+), 18 deletions(-)
Merged to master as of 5bcb6c4ac405ab7dd5227069b5c2e686d5d087eb
-- 
Stewart Smith
OPAL Architect, IBM.
    
    
More information about the Skiboot
mailing list