random: update comment from copy_to_user() -> copy_to_iter()
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 20 Jun 2022 09:03:48 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 07:03:31 +0000 (09:03 +0200)
commit46a78d1413350571eeffc5a8b2ff1eceeb9e305b
treed3469f374625186773efa56bdeddc12ae16063c5
parent7a3a4683562ee54be46697bc9bbc55e1f14c051e
random: update comment from copy_to_user() -> copy_to_iter()

commit 63b8ea5e4f1a87dea4d3114293fc8e96a8f193d7 upstream.

This comment wasn't updated when we moved from read() to read_iter(), so
this patch makes the trivial fix.

Fixes: 1b388e7765f2 ("random: convert to using fops->read_iter()")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/random.c