diff options
author | George Guo <[email protected]> | 2024-02-04 10:35:31 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-07 12:38:30 +0000 |
commit | 23c5ae6d467520987dbc8682c3ae6ea0e80a5f27 (patch) | |
tree | 1672c973aeebf45ef214a7e9c34c099ca7ba33a8 /net/tipc/core.c | |
parent | 9bc791341bc9a5c22b94889aa37993bb69faa317 (diff) |
netlabel: cleanup struct netlbl_lsm_catmap
Simplify the code from macro NETLBL_CATMAP_MAPTYPE to u64, and fix
warning "Macros with complex values should be enclosed in parentheses"
on "#define NETLBL_CATMAP_BIT (NETLBL_CATMAP_MAPTYPE)0x01", which is
modified to "#define NETLBL_CATMAP_BIT ((u64)0x01)".
Signed-off-by: George Guo <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/core.c')
0 files changed, 0 insertions, 0 deletions