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

Commit c896a2e0 authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds
Browse files

frv: fix check on unsigned in do_signal()



syscallno is unsigned

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c36987e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -527,7 +527,7 @@ static void do_signal(void)

no_signal:
	/* Did we come from a system call? */
	if (__frame->syscallno >= 0) {
	if (__frame->syscallno != -1) {
		/* Restart the system call - no handlers present */
		switch (__frame->gr8) {
		case -ERESTARTNOHAND: