Commit 952a3cc9 authored by Shaobo He's avatar Shaobo He Committed by Jason Gunthorpe
Browse files

cxgb4: kfree mhp after the debug print



In function `c4iw_dealloc_mw`, variable mhp's value is printed after
freed, it is clearer to have the print before the kfree.

Otherwise racing threads could allocate another mhp with the same pointer
value and create confusing tracing.

Signed-off-by: default avatarShaobo He <shaobo@cs.utah.edu>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent d757c60e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment