diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-10-04 05:32:17 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-10-12 22:16:47 +0200 |
commit | 1bbb3095a5912be4b9c90397ef2182a5a328865b (patch) | |
tree | 058cb0bdd84699fa98cd173f381e711400507fde /scripts/Makefile.modinst | |
parent | Merge tag 'stable/for-linus-3.7-rc0-tag' of git://git.kernel.org/pub/scm/linu... (diff) | |
download | linux-1bbb3095a5912be4b9c90397ef2182a5a328865b.tar.xz linux-1bbb3095a5912be4b9c90397ef2182a5a328865b.zip |
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>
Diffstat (limited to 'scripts/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions