Age | Commit message (Collapse) | Author | Files | Lines |
|
Adds HDIF_get_iarray() which retrieves and validates an internal array
header and HDIF_iarray_for_each() for walking the individual array
entries. This reduces the amount of get-then-check boilerplate that
we have with the existing HDIF_get_iarray_item() method for iterating
internal data arrays.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
(cherry picked from commit 0abc3af7e8f607aa2fe6bffda9bc072e86126bc9)
[stewart: include fix for backtrace()]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
No code change for skiboot as skiboot is BE
hdata/spira.c:43:21: warning: incorrect type in initializer (different base types)
hdata/spira.c:43:21: expected restricted beint32_t [usertype] size
hdata/spira.c:43:21: got int
hdata/spira.c:57:20: warning: incorrect type in initializer (different base types)
hdata/spira.c:57:20: expected restricted beint32_t [usertype] size
hdata/spira.c:57:20: got unsigned long
hdata/spira.c:108:24: warning: incorrect type in initializer (different base types)
hdata/spira.c:108:24: expected restricted beint32_t [usertype] size
hdata/spira.c:108:24: got unsigned long
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|