diff options
author | Vipin K Parashar <vipin@linux.vnet.ibm.com> | 2015-09-01 04:30:49 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-01 14:17:21 +1000 |
commit | bc5240a659caa1dea0055393fe8bf77807308b5d (patch) | |
tree | c607be4580aaed0e290632b91c4319e5e160eadc /hw/chiptod.c | |
parent | d8b0ddeda00c023083b06058806c3306e1d124dc (diff) | |
download | skiboot-bc5240a659caa1dea0055393fe8bf77807308b5d.zip skiboot-bc5240a659caa1dea0055393fe8bf77807308b5d.tar.gz skiboot-bc5240a659caa1dea0055393fe8bf77807308b5d.tar.bz2 |
opal-api: Assign numbers to OPAL_MSG macros of enum opal_msg_type
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@linux.vnet.ibm.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/chiptod.c')
0 files changed, 0 insertions, 0 deletions