Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14bd342e authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Herbert Xu
Browse files

crypto: n2 - dubious error check



Looks like a copy-and-paste problem to me.

Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 72e58063
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1832,7 +1832,7 @@ static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,
		return -ENODEV;

	ino = mdesc_get_property(mdesc, node, "ino", &ino_len);
	if (!intr)
	if (!ino)
		return -ENODEV;

	if (intr_len != ino_len)