Eric W. Biederman 1bbb3095a5 userns: Properly print bluetooth socket uids
With user namespace support enabled building bluetooth generated the warning.
net/bluetooth/af_bluetooth.c: In function ‘bt_seq_show’:
net/bluetooth/af_bluetooth.c:598:7: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘kuid_t’ [-Wformat]

Convert sock_i_uid from a kuid_t to a uid_t before printing, to avoid
this problem.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Masatake YAMATO <yamato@redhat.com>
Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2012-10-12 13:16:47 -07:00
..
2012-08-31 16:14:33 -04:00
2012-10-09 16:22:32 +09:00
2012-07-19 10:48:00 -07:00
2012-10-08 17:42:36 -04:00
2012-10-04 15:53:48 -04:00
2012-06-15 15:30:15 -07:00
2012-10-09 13:57:23 -04:00
2012-10-10 23:52:35 +09:00
2012-09-17 13:00:13 -04:00
2012-09-26 21:10:25 -04:00