archive mirror
 help / color / mirror / Atom feed
From: Takashi Iwai <>
To: Dan Carpenter <>
Cc: Jaroslav Kysela <>, Takashi Iwai <>,
	Jasmin Fazlic <>,
	Romain Perier <>,
	Leon Romanovsky <>,
	Huilong Deng <>,
	Tong Zhang <>,
	Allen Pais <>,,
Subject: Re: [PATCH] ALSA: hdsp: fix a test for copy_to_user() failure
Date: Tue, 22 Jun 2021 21:33:46 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <YNIzqpVR6L2t/RwJ@mwanda>

On Tue, 22 Jun 2021 21:02:02 +0200,
Dan Carpenter wrote:
> The copy_to_user() function returns the number of bytes remaining to be
> copied.  It doesn't return negatives.
> Fixes: 66c8f75919dd ("ALSA: hdsp: Fix assignment in if condition")
> Signed-off-by: Dan Carpenter <>

Thanks, applied.


      reply	other threads:[~2021-06-22 19:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 19:02 [PATCH] ALSA: hdsp: fix a test for copy_to_user() failure Dan Carpenter
2021-06-22 19:33 ` Takashi Iwai [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).