Hi Johan, > 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@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 2 +- > net/bluetooth/hci_event.c | 4 ++-- > net/bluetooth/mgmt.c | 4 ++-- > net/bluetooth/smp.c | 2 +- > 4 files changed, 6 insertions(+), 6 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html