[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181005235131.GA27193@kroah.com>
Date: Fri, 5 Oct 2018 16:51:31 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Kees Cook <keescook@...omium.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4.19-rc7] treewide: Replace more open-coded allocation
size multiplications
On Fri, Oct 05, 2018 at 04:35:59PM -0700, Kees Cook wrote:
> As done treewide earlier, this catches several more open-coded
> allocation size calculations that were added to the kernel during the
> merge window. This performs the following mechanical transformations
> using Coccinelle:
>
> kvmalloc(a * b, ...) -> kvmalloc_array(a, b, ...)
> kvzalloc(a * b, ...) -> kvcalloc(a, b, ...)
> devm_kzalloc(..., a * b, ...) -> devm_kcalloc(..., a, b, ...)
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
Has this had any testing in linux-next?
And when was "earlier"?
thanks,
greg k-h
Powered by blists - more mailing lists