Greentime Hu 1dfdf99106 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>
2018-09-04 14:45:15 +08:00
..
2018-02-22 10:44:34 +08:00
2018-02-22 10:44:32 +08:00
2018-02-22 10:44:34 +08:00
2018-05-29 16:10:32 +02:00
2018-02-22 10:44:31 +08:00
2018-02-22 10:44:33 +08:00
2018-02-22 10:44:32 +08:00
2018-02-22 10:44:35 +08:00
2018-09-04 14:45:15 +08:00
2018-02-22 10:44:33 +08:00
2018-02-22 10:44:32 +08:00
2018-02-22 10:44:34 +08:00
2018-02-22 10:44:33 +08:00
2018-02-22 10:44:33 +08:00
2018-02-22 10:44:33 +08:00
2018-02-22 10:44:34 +08:00
2018-02-22 10:44:35 +08:00