https://github.com/torvalds/linux
Revision a11761c2dda64737bfe47e7c15545d4648f8573c authored by Dafna Hirschfeld on 01 March 2018, 08:57:21 UTC, committed by Masahiro Yamada on 02 March 2018, 15:41:24 UTC
Replace 'kmemdep' with 'kmemdup' in warning messages.

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 1a90ce3
Raw File
Tip revision: a11761c2dda64737bfe47e7c15545d4648f8573c authored by Dafna Hirschfeld on 01 March 2018, 08:57:21 UTC
Coccinelle: memdup: Fix typo in warning messages
Tip revision: a11761c
gcc-goto.sh
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Test for gcc 'asm goto' support
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>

cat << "END" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
int main(void)
{
#if defined(__arm__) || defined(__aarch64__)
	/*
	 * Not related to asm goto, but used by jump label
	 * and broken on some ARM GCC versions (see GCC Bug 48637).
	 */
	static struct { int dummy; int state; } tp;
	asm (".long %c0" :: "i" (&tp.state));
#endif

entry:
	asm goto ("" :::: entry);
	return 0;
}
END
back to top