提交 5b243b6c 编写于 作者: R Rikard Falkeborn 提交者: Herbert Xu

crypto: hisilicon: Fix misuse of GENMASK macro

Arguments are supposed to be ordered high then low.

Fixes: c8b4b477 ("crypto: hisilicon - add HiSilicon HPRE accelerator")
Signed-off-by: NRikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 28443671
......@@ -116,8 +116,8 @@ static const struct hpre_hw_error hpre_hw_errors[] = {
{ .int_msk = BIT(7), .msg = "hpre_cltr2_htbt_tm_out_err" },
{ .int_msk = BIT(8), .msg = "hpre_cltr3_htbt_tm_out_err" },
{ .int_msk = BIT(9), .msg = "hpre_cltr4_htbt_tm_out_err" },
{ .int_msk = GENMASK(10, 15), .msg = "hpre_ooo_rdrsp_err" },
{ .int_msk = GENMASK(16, 21), .msg = "hpre_ooo_wrrsp_err" },
{ .int_msk = GENMASK(15, 10), .msg = "hpre_ooo_rdrsp_err" },
{ .int_msk = GENMASK(21, 16), .msg = "hpre_ooo_wrrsp_err" },
{ /* sentinel */ }
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册