summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/tests/ABCDBDDA.c
blob: 680c6cf3e919c9eb059bdab8c49e540fdfc862c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <liblockdep/mutex.h>
#include "common.h"

void main(void)
{
	pthread_mutex_t a, b, c, d;

	pthread_mutex_init(&a, NULL);
	pthread_mutex_init(&b, NULL);
	pthread_mutex_init(&c, NULL);
	pthread_mutex_init(&d, NULL);

	LOCK_UNLOCK_2(a, b);
	LOCK_UNLOCK_2(c, d);
	LOCK_UNLOCK_2(b, d);
	LOCK_UNLOCK_2(d, a);
}
d1d2321bb0c9c'>263c06d2db6dfe91759c0ae7f5288acc12ae08eb /drivers parent1c10feee3e033b898a293d813ef4a4ebfb88dba2 (diff)
can: flexcan: make declaration of devtype_data const
This patch changes the declaration of the devtype data to const. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/can/flexcan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c