[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <171680491830.2175.13318371328377311135.b4-ty@linux.intel.com>
Date: Mon, 27 May 2024 13:15:18 +0300
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: markus.elfring@....de, Thorsten Blum <thorsten.blum@...lux.com>
Cc: Shyam-sundar.S-k@....com, hdegoede@...hat.com,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
platform-driver-x86@...r.kernel.org
Subject: Re: [PATCH v2] platform/x86/amd/pmf: Use memdup_user()
On Mon, 27 May 2024 10:36:29 +0200, Thorsten Blum wrote:
> Switch to memdup_user() to overwrite the allocated memory only once
> instead of initializing the allocated memory to zero with kzalloc() and
> then immediately overwriting it with copy_from_user().
>
> Fix the following Coccinelle/coccicheck warning reported by
> memdup_user.cocci:
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo branch. Note it will show up in the public
platform-drivers-x86/review-ilpo branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86/amd/pmf: Use memdup_user()
commit: 46de513068f956b76d68d241a7ad6bc5576d2948
--
i.
Powered by blists - more mailing lists