Re: [PATCH v3 iwl-next] i40e: Use correct buffer size in i40e_dbg_command_read

From: Kunwu Chan
Date: Mon Dec 04 2023 - 22:05:58 EST


Hi Alexander,
Thanks for your reply.

It's my bad, I'll follow your suggestion in v4 patch:
1. keep 'buf' as it defined before.
2. resolve memory leak as your suggestion.
3. make 'bytes_not_copied' as a return value for error path.

Thanks again,
Kunwu
On 2023/12/4 20:51, Alexander Lobakin wrote:
This is unneeded.