From: "Sinyuk, Konstantin" <konstantin.sinyuk@intel.com>
To: Thorsten Blum <thorsten.blum@linux.dev>,
Koby Elbaz <koby.elbaz@intel.com>,
Oded Gabbay <ogabbay@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Easwar Hariharan <easwar.hariharan@linux.microsoft.com>
Cc: Karol Wachowski <karol.wachowski@linux.intel.com>,
<dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH RESEND] accel/habanalabs: Replace kmalloc_array + copy_from_user with memdup_array_user
Date: Sat, 29 Nov 2025 21:10:22 +0200 [thread overview]
Message-ID: <4a9f0ccf-5852-43fc-8e19-45d74824253a@intel.com> (raw)
In-Reply-To: <20251103091526.2393-2-thorsten.blum@linux.dev>
On 11/3/2025 11:15 AM, Thorsten Blum wrote:
> Replace kmalloc_array() followed by copy_from_user() with
> memdup_array_user() to improve and simplify cs_ioctl_engine_cores(),
> cs_ioctl_engines(), and hl_multi_cs_wait_ioctl().
>
> Remove the unused variable 'size_to_copy' from hl_multi_cs_wait_ioctl().
>
> No functional changes intended.
>
> Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
> Reviewed-by: Konstantin Sinyuk <konstantin.sinyuk@intel.com>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Applied to accel/habanalabs-next, thanks.
next prev parent reply other threads:[~2025-11-29 19:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 9:15 Thorsten Blum
2025-11-29 19:10 ` Sinyuk, Konstantin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-27 16:56 Thorsten Blum
2025-09-27 22:20 ` Sinyuk, Konstantin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a9f0ccf-5852-43fc-8e19-45d74824253a@intel.com \
--to=konstantin.sinyuk@intel.com \
--cc=akpm@linux-foundation.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=easwar.hariharan@linux.microsoft.com \
--cc=karol.wachowski@linux.intel.com \
--cc=koby.elbaz@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ogabbay@kernel.org \
--cc=thorsten.blum@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®