aboutsummaryrefslogtreecommitdiff
path: root/hw/chiptod.c
diff options
context:
space:
mode:
authorVipin K Parashar <vipin@linux.vnet.ibm.com>2015-09-01 04:30:49 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-09-01 14:17:21 +1000
commitbc5240a659caa1dea0055393fe8bf77807308b5d (patch)
treec607be4580aaed0e290632b91c4319e5e160eadc /hw/chiptod.c
parentd8b0ddeda00c023083b06058806c3306e1d124dc (diff)
downloadskiboot-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