]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: microMIPS: Fix incorrect mask in insn_table_MM
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 31 Oct 2017 05:35:03 +0000 (00:35 -0500)
committerJames Hogan <jhogan@kernel.org>
Wed, 1 Nov 2017 00:09:16 +0000 (00:09 +0000)
commit1d2f5c033bbacaf5f589cf46f2d9eb7d0588b68f
tree0dbcfe4318234cc264b9a78cf300585fdeb79ef5
parentf2d5dcb6d0dad0b8ea4948c74f9ddb5ea6fc2db5
MIPS: microMIPS: Fix incorrect mask in insn_table_MM

It seems that this is a typo error and the proper bit masking is
"RT | RS" instead of "RS | RS".

This issue was detected with the help of Coccinelle.

Fixes: 53a71dba56f7 ("MIPS: uasm: Add lh uam instruction")
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: James Hogan <jhogan@kernel.org>
Cc: <stable@vger.kernel.org> # 3.16+
Patchwork: https://patchwork.linux-mips.org/patch/17551/
Signed-off-by: James Hogan <jhogan@kernel.org>
arch/mips/mm/uasm-micromips.c