On Fri, Feb 19, 2021 at 6:55 PM Anatoly Burakov
<[email protected]> wrote:
>
> When file truncation fails, the log message attempts to print a path of
> file we failed to truncate, but this path was never set to anything and,
> what's worse, was uninitialized. Fix it by passing path from the caller.
>
> Fixes: c44d09811b40 ("eal: add shared indexed file-backed array")
> Cc: [email protected]
> Coverity ID: 366122
>
> Signed-off-by: Anatoly Burakov <[email protected]>

Andrew had reported it too, and proposed something close:
http://patchwork.dpdk.org/project/dpdk/patch/[email protected]/

I prefer Anatoly's version.
If no one objects, I'll proceed with this one.


-- 
David Marchand

Reply via email to