aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2018-10-15 15:43:06 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2018-10-15 15:43:06 +0200
commit18127429a854e7607b859484880b8e26cee9ddab (patch)
tree3d54b865f04f8a707cbca858c75c80065ac4a6ec /lib/mpi/mpi-cmp.c
parente52a8250480acd3b26534793c61816e30d85fbb6 (diff)
bitops: protect variables in set_mask_bits() macro
Unprotected naming of local variables within the set_mask_bits() can easily lead to using the wrong scope. Noticed this when "set_mask_bits(&foo->bar, 0, mask)" behaved as no-op. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Fixes: 00a1a053ebe5 ("ext4: atomically set inode->i_flags in ext4_set_inode_flags()") Cc: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions