mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ASoC: codecs: Modify the log print statement
Change hdrlen to hdr_len Signed-off-by: Ben Yi <yijiangtao@awinic.com> Signed-off-by: Weidong Wang <wangweidong.a@awinic.com> Link: https://lore.kernel.org/r/20230213093649.22928-3-wangweidong.a@awinic.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
27db41a1f7
commit
14d5d45454
@ -932,7 +932,7 @@ static int aw_dev_check_cfg_by_hdr(struct aw_device *aw_dev, struct aw_container
|
||||
|
||||
hdr_ddt_len = cfg_hdr->hdr_offset + cfg_hdr->ddt_size;
|
||||
if (hdr_ddt_len > aw_cfg->len) {
|
||||
dev_err(aw_dev->dev, "hdrlen with ddt_len [%d] overflow file size[%d]",
|
||||
dev_err(aw_dev->dev, "hdr_len with ddt_len [%d] overflow file size[%d]",
|
||||
cfg_hdr->hdr_offset, aw_cfg->len);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user