Skip to content

Commit 4e443da

Browse files
albertofloydcarlescufi
authored andcommitted
soc: arm: microchip: mec172x: Enclose macro in brackets
Macro should be in brackets. Signed-off-by: Jose Alberto Meza <[email protected]>
1 parent d2361e8 commit 4e443da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

soc/arm/microchip_mec/mec172x/reg/mec172x_espi_iom.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@
385385
#define MCHP_ESPI_FC_CTRL_ERS0 0x02u
386386
#define MCHP_ESPI_FC_CTRL_ERL0 0x03u
387387
#define MCHP_ESPI_FC_CTRL_FUNC(f) \
388-
SHLU32((uint32_t)(f), MCHP_ESPI_FC_CTRL_FUNC_POS) & \
389-
MCHP_ESPI_FC_CTRL_FUNC_MASK
388+
(SHLU32((uint32_t)(f), MCHP_ESPI_FC_CTRL_FUNC_POS) & \
389+
MCHP_ESPI_FC_CTRL_FUNC_MASK)
390390

391391
#define MCHP_ESPI_FC_CTRL_TAG_POS 4u
392392
#define MCHP_ESPI_FC_CTRL_TAG_MASK0 0x0fu

0 commit comments

Comments
 (0)