summaryrefslogtreecommitdiff
path: root/drivers/hwmon/mc13783-adc.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-03-20 10:18:14 +0400
committerMarcel Holtmann <marcel@holtmann.org>2014-03-20 10:22:07 +0400
commit39adbffe4b16285c54016d3e64471396354ae49f (patch)
tree81196bfad50006fea2eec9c9175705fdd267f6d3 /drivers/hwmon/mc13783-adc.c
parent40b552aa5a0bfa785bc7ddb5c2d7965b1e0bb08d (diff)
downloadlinux-39adbffe4b16285c54016d3e64471396354ae49f.tar.xz
Bluetooth: Fix passkey endianess in user_confirm and notify_passkey
The passkey_notify and user_confirm functions in mgmt.c were expecting different endianess for the passkey, leading to a big endian bug and sparse warning in recently added SMP code. This patch converts both functions to expect host endianess and do the conversion to little endian only when assigning to the mgmt event struct. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/hwmon/mc13783-adc.c')
0 files changed, 0 insertions, 0 deletions