cxgb4: Use kfree() instead kvfree() where appropriate
authorDenis Efremov <efremov@linux.com>
Fri, 5 Jun 2020 19:11:44 +0000 (22:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jun 2020 20:22:49 +0000 (13:22 -0700)
commit7f89cc07d22a4152f3c649a89aa8fe240effd24a
tree3ece95775e4247f99c775754a07d51209e7cab6f
parent6da95b52b8ea4944ed1e596ee6db176ee83ddbeb
cxgb4: Use kfree() instead kvfree() where appropriate

Use kfree(buf) in blocked_fl_read() because the memory is allocated with
kzalloc(). Use kfree(t) in blocked_fl_write() because the memory is
allocated with kcalloc().

Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c