lkml.org 
[lkml]   [2020]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] cxgb4: Use kfree() instead kvfree() where appropriate
From
From: Denis Efremov <efremov@linux.com>
Date: Fri, 5 Jun 2020 22:11:44 +0300

> 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>

Applied.

\
 
 \ /
  Last update: 2020-06-05 22:23    [W:0.066 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site