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

Michael Ellerman mpe at ellerman.id.au
Mon Apr 11 22:35:11 AEST 2016


On Mon, 2015-31-08 at 23:22:43 UTC, Vipin K Parashar wrote:
> 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>
> Acked-by: Stewart Smith <stewart at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/b3d79eaa6c97b04965fa479652

cheers


More information about the Linuxppc-dev mailing list