]> git.baikalelectronics.ru Git - uboot.git/commit
log: use BIT() instead of 1 <<
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 17 Jun 2020 19:52:45 +0000 (21:52 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:57:22 +0000 (18:57 -0600)
commit8db50f51623e8f8462437235d0b7ae0be86b78e7
tree77d64e4efc9db065d96d0a66746aaab441870c9f
parentcbf087b25557ea31a5f6f3b4328acd9ac0a6ca3c
log: use BIT() instead of 1 <<

Use the BIT() macro when creating a bitmask for the logging fields.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/log_console.c
common/log_syslog.c