summaryrefslogtreecommitdiff
path: root/crypto/algif_rng.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-06-30 12:07:51 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-06-30 12:07:51 +0200
commit775a75f3d61c6fc82bedc5b727784d3cb7089d81 (patch)
treeb2869d8a2378b79448add1f41f01982b7fae82fb /crypto/algif_rng.c
parent3278a1722acf54316ac94db3f3a83aed32857edc (diff)
parentd2868ae33ab257f2273d436b38cc390414a9384f (diff)
downloadlinux-crypto-775a75f3d61c6fc82bedc5b727784d3cb7089d81.tar.gz
linux-crypto-775a75f3d61c6fc82bedc5b727784d3cb7089d81.zip
Merge tag 'irqchip-fixes-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent
Pull irqchip fixes from Marc Zyngier: - Fix atomicity of affinity update in the GIC driver - Don't sleep in atomic when waiting for a GICv4.1 RD to respond - Fix a couple of typos in user-visible messages
Diffstat (limited to 'crypto/algif_rng.c')
-rw-r--r--crypto/algif_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algif_rng.c b/crypto/algif_rng.c
index 22df3799..087c0ad0 100644
--- a/crypto/algif_rng.c
+++ b/crypto/algif_rng.c
@@ -61,7 +61,7 @@ static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
struct sock *sk = sock->sk;
struct alg_sock *ask = alg_sk(sk);
struct rng_ctx *ctx = ask->private;
- int err = -EFAULT;
+ int err;
int genlen = 0;
u8 result[MAXSIZE];