Thomas Monjalon 3344fb8fa4 net/failsafe: fix FreeBSD build
The type pthread_t is not portable because it is freely defined.
On Linux, it is an unsigned long int which can be printed with %l.
On FreeBSD, it is a pointer which can be printed with %p.

That's why there was this error:
drivers/net/failsafe/failsafe_private.h:377:53: error:
	format specifies type 'unsigned long' but the argument has
	type 'pthread_t' (aka 'struct pthread *')

Fixes: 655fcd68c7d2 ("net/failsafe: fix hotplug races")

Reported-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2018-02-13 23:21:33 +01:00
..
2018-01-22 01:26:49 +01:00
2018-01-31 20:57:29 +01:00
2018-01-22 01:26:49 +01:00
2018-02-08 18:42:14 +01:00
2018-01-22 01:26:49 +01:00
2018-02-13 23:21:33 +01:00
2018-01-22 01:26:49 +01:00
2018-01-29 10:04:28 +01:00
2018-02-08 18:42:14 +01:00
2018-02-05 14:51:38 +01:00
2018-01-22 01:26:49 +01:00
2018-01-22 01:26:49 +01:00
2018-02-13 18:17:30 +01:00
2018-02-05 14:51:38 +01:00