[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180108145157.GA32570@kroah.com>
Date: Mon, 8 Jan 2018 15:51:57 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: NeilBrown <neilb@...e.com>
Cc: Oleg Drokin <oleg.drokin@...el.com>,
Andreas Dilger <andreas.dilger@...el.com>,
James Simmons <jsimmons@...radead.org>,
lkml <linux-kernel@...r.kernel.org>,
lustre <lustre-devel@...ts.lustre.org>
Subject: Re: [PATCH 03/15] staging: lustre: replace simple cases of
LIBCFS_ALLOC with kzalloc.
On Mon, Dec 18, 2017 at 11:46:30AM +1100, NeilBrown wrote:
> All usages of the form
> LIBCFS_ALLOC(variable, sizeof(variable))
> or
> LIBCFS_ALLOC(variable, sizeof(variable's-type))
>
> are changed to
> variable = kzalloc(sizeof(...), GFP_NOFS);
>
> Similarly, all
> LIBCFS_FREE(variable, sizeof(variable))
> become
> kfree(variable);
>
> None of these need the vmalloc option, or any of the other minor
> benefits of LIBCFS_ALLOC().
>
> Signed-off-by: NeilBrown <neilb@...e.com>
As this broke the kbuild system, I'll stop here in this patch series.
Can you please fix it up, rebase and resend the remaining ones in this
series?
thanks,
greg k-h
Powered by blists - more mailing lists