diff options
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/hisilicon/kunpeng_hccs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/hisilicon/kunpeng_hccs.c b/drivers/soc/hisilicon/kunpeng_hccs.c index 6864d203c678..0d6f6bacd3f6 100644 --- a/drivers/soc/hisilicon/kunpeng_hccs.c +++ b/drivers/soc/hisilicon/kunpeng_hccs.c @@ -438,7 +438,7 @@ static int hccs_get_bd_info(struct hccs_dev *hdev, u8 opcode, head = &rsp->rsp_head; if (head->data_len > buf_len) { dev_err(hdev->dev, - "buffer overflow (buf_len = %lu, data_len = %u)!\n", + "buffer overflow (buf_len = %zu, data_len = %u)!\n", buf_len, head->data_len); return -ENOMEM; } |