]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix compile warnings in mgmt
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 18 Jun 2012 10:03:46 +0000 (13:03 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 19 Jun 2012 02:55:59 +0000 (23:55 -0300)
commit42c76889e0ae6aa3f712bff1c289fb18d53f5d67
tree0a758582574f6e9cd6f421c3cb951a833ab84af7
parent47f34bf8be0c8cb6ab76b64f26791f876ed06106
Bluetooth: Fix compile warnings in mgmt

Commit 3cc8143dad685b78368a2b6981d7ba6ea53d53f8 introduced regression
resulting in complie warnings:

...
net/bluetooth/mgmt.c:3568:27: warning: invalid assignment: |=
net/bluetooth/mgmt.c:3568:27:    left side has type restricted __le32
net/bluetooth/mgmt.c:3568:27:    right side has type int
net/bluetooth/mgmt.c:3570:27: warning: invalid assignment: |=
net/bluetooth/mgmt.c:3570:27:    left side has type restricted __le32
net/bluetooth/mgmt.c:3570:27:    right side has type int
net/bluetooth/mgmt.c:3580:21: warning: cast from restricted __le32
...

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c