From: Eric W. Biederman Date: Thu, 4 Oct 2012 03:32:17 +0000 (-0700) Subject: userns: Properly print bluetooth socket uids X-Git-Tag: v3.7-rc1~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbb3095a5912be4b9c90397ef2182a5a328865b;p=pandora-kernel.git 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 Cc: Masatake YAMATO Cc: Gustavo Padovan Signed-off-by: "Eric W. Biederman" --- Reading git-diff-tree failed