mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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 <[email protected]> Cc: Masatake YAMATO <[email protected]> Cc: Gustavo Padovan <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]>