From: Andrei Emeltchenko Date: Mon, 12 Mar 2012 13:59:32 +0000 (+0200) Subject: Bluetooth: Fix type in cpu_to_le conversion X-Git-Tag: v3.5-rc1~101^2~6^2^2^2~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035100c8a808e5484ca0848cebed91783e1868cf;p=pandora-kernel.git Bluetooth: Fix type in cpu_to_le conversion Use struct hci_cp_write_def_link_policy to overcome sparse warnigs below: ... net/bluetooth/hci_event.c:633:21: warning: incorrect type in assignment (different base types) net/bluetooth/hci_event.c:633:21: expected unsigned short [unsigned] [assigned] [usertype] link_policy net/bluetooth/hci_event.c:633:21: got restricted __le16 [usertype] ... Signed-off-by: Andrei Emeltchenko Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed