[PATCH] asm/opal-api: Assign numbers to OPAL_MSG macros of enum opal_msg_type

Stewart Smith stewart at linux.vnet.ibm.com
Tue Sep 1 14:17:01 AEST 2015


Vipin K Parashar <vipin at linux.vnet.ibm.com> writes:
> This patch assigns numbers to OPAL_MSG macros of enum opal_msg_type
> to prevent accidental insertion of any new value in between and thus
> break OPAL API. This is also helpful while backporting mainline kernel
> changes to distros which run downlevel kernel and thus don't have all
> OPAL messages defined, avoiding unnecessary bugs due to enum values
> order mismatch.
>
> Signed-off-by: Vipin K Parashar <vipin at linux.vnet.ibm.com>

Merging corresponding firmware patch now.

Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list