diff options
author | Evan Green <evgreen@chromium.org> | 2019-10-01 13:47:07 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-05 00:47:57 +0000 |
commit | 1519095feaa933996ee413c87fd67de39d16213b (patch) | |
tree | 1908523f57a1f71e1847e6a5786fcede52c64321 /common/console_output.c | |
parent | 1d82a0592eedcfdaf666111a4ff8e6a9665fa014 (diff) | |
download | chrome-ec-1519095feaa933996ee413c87fd67de39d16213b.tar.gz |
include: De-longify CC_MASK() and CC_ALL
These are consistently stored into 32-bit values, so there's no
need for their macros to be suffixed with a long designator.
BUG=chromium:984041
TEST=make -j buildall
BRANCH=None
Signed-off-by: Evan Green <evgreen@chromium.org>
Change-Id: I0618cb30cf1afa5e0e015006e2eee9c9abfc5402
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1834602
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'common/console_output.c')
-rw-r--r-- | common/console_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console_output.c b/common/console_output.c index fb6e91a368..86072d9b62 100644 --- a/common/console_output.c +++ b/common/console_output.c @@ -147,7 +147,7 @@ static int command_ch(int argc, char **argv) /* Print the list of channels */ ccputs(" # Mask E Channel\n"); for (i = 0; i < CC_CHANNEL_COUNT; i++) { - ccprintf("%2d %08lx %c %s\n", + ccprintf("%2d %08x %c %s\n", i, CC_MASK(i), (channel_mask & CC_MASK(i)) ? '*' : ' ', channel_names[i]); |