crypto: hisilicon/qm - remove incorrect type cast

The 'offset' type is unsigned long in 'struct debugfs_reg32',
so type of values casts to unsigned long long is incorrect, and the
values do not require type cast, remove them.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Weili Qian
2023-10-28 18:40:11 +08:00
committed by Herbert Xu
parent 66e6fb1eb9
commit a61fb70759
2 changed files with 52 additions and 52 deletions

View File

@@ -270,28 +270,28 @@ static const u64 core_offsets[] = {
};
static const struct debugfs_reg32 hzip_dfx_regs[] = {
{"HZIP_GET_BD_NUM ", 0x00ull},
{"HZIP_GET_RIGHT_BD ", 0x04ull},
{"HZIP_GET_ERROR_BD ", 0x08ull},
{"HZIP_DONE_BD_NUM ", 0x0cull},
{"HZIP_WORK_CYCLE ", 0x10ull},
{"HZIP_IDLE_CYCLE ", 0x18ull},
{"HZIP_MAX_DELAY ", 0x20ull},
{"HZIP_MIN_DELAY ", 0x24ull},
{"HZIP_AVG_DELAY ", 0x28ull},
{"HZIP_MEM_VISIBLE_DATA ", 0x30ull},
{"HZIP_MEM_VISIBLE_ADDR ", 0x34ull},
{"HZIP_CONSUMED_BYTE ", 0x38ull},
{"HZIP_PRODUCED_BYTE ", 0x40ull},
{"HZIP_COMP_INF ", 0x70ull},
{"HZIP_PRE_OUT ", 0x78ull},
{"HZIP_BD_RD ", 0x7cull},
{"HZIP_BD_WR ", 0x80ull},
{"HZIP_GET_BD_AXI_ERR_NUM ", 0x84ull},
{"HZIP_GET_BD_PARSE_ERR_NUM ", 0x88ull},
{"HZIP_ADD_BD_AXI_ERR_NUM ", 0x8cull},
{"HZIP_DECOMP_STF_RELOAD_CURR_ST ", 0x94ull},
{"HZIP_DECOMP_LZ77_CURR_ST ", 0x9cull},
{"HZIP_GET_BD_NUM ", 0x00},
{"HZIP_GET_RIGHT_BD ", 0x04},
{"HZIP_GET_ERROR_BD ", 0x08},
{"HZIP_DONE_BD_NUM ", 0x0c},
{"HZIP_WORK_CYCLE ", 0x10},
{"HZIP_IDLE_CYCLE ", 0x18},
{"HZIP_MAX_DELAY ", 0x20},
{"HZIP_MIN_DELAY ", 0x24},
{"HZIP_AVG_DELAY ", 0x28},
{"HZIP_MEM_VISIBLE_DATA ", 0x30},
{"HZIP_MEM_VISIBLE_ADDR ", 0x34},
{"HZIP_CONSUMED_BYTE ", 0x38},
{"HZIP_PRODUCED_BYTE ", 0x40},
{"HZIP_COMP_INF ", 0x70},
{"HZIP_PRE_OUT ", 0x78},
{"HZIP_BD_RD ", 0x7c},
{"HZIP_BD_WR ", 0x80},
{"HZIP_GET_BD_AXI_ERR_NUM ", 0x84},
{"HZIP_GET_BD_PARSE_ERR_NUM ", 0x88},
{"HZIP_ADD_BD_AXI_ERR_NUM ", 0x8c},
{"HZIP_DECOMP_STF_RELOAD_CURR_ST ", 0x94},
{"HZIP_DECOMP_LZ77_CURR_ST ", 0x9c},
};
static const struct debugfs_reg32 hzip_com_dfx_regs[] = {
@@ -303,11 +303,11 @@ static const struct debugfs_reg32 hzip_com_dfx_regs[] = {
};
static const struct debugfs_reg32 hzip_dump_dfx_regs[] = {
{"HZIP_GET_BD_NUM ", 0x00ull},
{"HZIP_GET_RIGHT_BD ", 0x04ull},
{"HZIP_GET_ERROR_BD ", 0x08ull},
{"HZIP_DONE_BD_NUM ", 0x0cull},
{"HZIP_MAX_DELAY ", 0x20ull},
{"HZIP_GET_BD_NUM ", 0x00},
{"HZIP_GET_RIGHT_BD ", 0x04},
{"HZIP_GET_ERROR_BD ", 0x08},
{"HZIP_DONE_BD_NUM ", 0x0c},
{"HZIP_MAX_DELAY ", 0x20},
};
/* define the ZIP's dfx regs region and region length */