Skip to content
Commit bfa5d021 authored by Marc Herbert's avatar Marc Herbert Committed by Anas Nashif
Browse files

device.h: fix unbalanced initializer: ({ .pm_base = (pm_),)}



Close parentheses and braces in the reverse order they are opened.

Fixes commit f91d4731 ("pm: use braces for .pm_base inside anonymous
union initializer")

I have no idea how no compiler caught this!?

I tested very carefully with two different gcc versions and one clang
version and generated binaries are strictly identical before and after
this commit. Fix the code anyway because C macros are painful enough to
debug already, so no need to add more confusion.

Signed-off-by: default avatarMarc Herbert <marc.herbert@intel.com>
parent 003f1453
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment