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

Commit e1c87d2a authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Add an unreachable return statement to satisfy buggy GCCs.



It was reported that GCC-4.3.3 (with CodeSourcery extensions) fails
without this.

Reported-by: default avatarJonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2010/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b9f07eb2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -109,6 +109,8 @@ static bool scratchpad_available(void)
static int scratchpad_offset(int i)
{
	BUG();
	/* Really unreachable, but evidently some GCC want this. */
	return 0;
}
#endif
/*