Tegra186: mce: Avoid implementation-defined bitfield types
authorStephen Warren <swarren@nvidia.com>
Wed, 1 Mar 2017 00:12:35 +0000 (17:12 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 13 Apr 2017 19:35:21 +0000 (12:35 -0700)
commit7b3052710b39829ff7e2cc73e65fc94e3fe7d0d6
tree81dd36d904a7407dcaa345976aa3795d2b57a97b
parentc459206d21ac71baca6f742565b6248298872622
Tegra186: mce: Avoid implementation-defined bitfield types

GCC version 4.8 (and presumably earlier) warn when non-standard types are
used for bitfield definitions when -pedantic is enabled. This prevents TF
from being built with such toolchains, since -Werror -pedantic options are
used.

gcc-4.9 removed this warning; -pedantic is intended to cause gcc to emit a
warning in all cases required by the standard, but the standard does not
require a warning in this case.

See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57773

Signed-off-by: Stephen Warren <swarren@nvidia.com>
plat/nvidia/tegra/soc/t186/drivers/include/mce_private.h