diff options
author | Greentime Hu <greentime@andestech.com> | 2018-07-18 03:54:55 +0200 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-09-04 08:45:15 +0200 |
commit | 1dfdf99106668679b0de5a62fd4f42c1a11c9445 (patch) | |
tree | 213aaf362dec982cbcf3d397ff71f1d82d2eb22b /arch/nds32/kernel/atl2c.c | |
parent | Linux 4.19-rc2 (diff) | |
download | linux-1dfdf99106668679b0de5a62fd4f42c1a11c9445.tar.xz linux-1dfdf99106668679b0de5a62fd4f42c1a11c9445.zip |
nds32: fix logic for module
This bug is report by Dan Carpenter. We shall use ~loc_mask instead of
!loc_mask because we need to and(&) the bits of ~loc_mask.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: c9a4a8da6baa ("nds32: Loadable modules")
Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/kernel/atl2c.c')
0 files changed, 0 insertions, 0 deletions