Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes build warnings when running with higher optimization than -O0
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Back in 9f64cb2028f8612daa8556cc4831b9b7ce91b171 the ccan/endian module
was updated. Unknown at the time, there were changes made to both the
endian and short_types modules that depnded on each other, or certain
types would be redefined.
skiboot/ccan/endian/endian.h:336:19: error: redefinition of typedef 'be32' is a
C11 feature [-Werror,-Wtypedef-redefinition]
typedef beint32_t be32;
^
skiboot/ccan/short_types/short_types.h:22:18: note: previous definition is here
typedef uint32_t be32;
^
By updating the short_types to the latest, we no longer redefine these
types when a module uses both short_types and endian.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
With some fun Makefile rules, we can pick up all CCAN unit tests.
We exclude the unit test source files from the lcov report itself.
Add skeleton ccan config.h and tap.h that are enough for us to build
and run the test suite. Currently, the minimalist versions should
be fine (and we don't need CCAN configurator).
Also includes -Werror fixes for ccan tests.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|