summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/tests/unlock_balance.c
blob: 0bc62de686f7b4a51615f538d88f79447cce1310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <liblockdep/mutex.h>

void main(void)
{
	pthread_mutex_t a;

	pthread_mutex_init(&a, NULL);

	pthread_mutex_lock(&a);
	pthread_mutex_unlock(&a);
	pthread_mutex_unlock(&a);
}
Sainath Grandhi <sainath.grandhi@intel.com>2017-02-10 16:03:51 -0800 committerDavid S. Miller <davem@davemloft.net>2017-02-11 20:59:41 -0500 commit9a393b5d5988ea4eaa3e0da138321abe0dc03a68 (patch) tree5a006ee32965ff9c76984aa7ce7c870d966be7ac /drivers/usb/host/ehci.h parentd9f1f61c0801a73ff36d416a7ede54229b231e1d (diff)
tap: tap as an independent module
This patch makes tap a separate module for other types of virtual interfaces, for example, ipvlan to use. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/host/ehci.h')