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 /include/console.h | |
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 'include/console.h')
-rw-r--r-- | include/console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/console.h b/include/console.h index 555bd1588f..2c5e9f98fa 100644 --- a/include/console.h +++ b/include/console.h @@ -92,10 +92,10 @@ enum console_channel { }; /* Mask in channel_mask for a particular channel */ -#define CC_MASK(channel) (1UL << (channel)) +#define CC_MASK(channel) (1U << (channel)) /* Mask to use to enable all channels */ -#define CC_ALL 0xffffffffUL +#define CC_ALL 0xffffffffU /** * Put a string to the console channel. |