On Sat, Oct 16, 2010 at 3:29 PM, Mike Frysinger <vapier@xxxxxxxxxx> wrote: > From: steven miao <realmz6@xxxxxxxxx> > > > Â Â Â Âcase 2: > - Â Â Â Â Â Â Â *((__le16 *) opt->val) = cpu_to_le16(val); > + Â Â Â Â Â Â Â put_unaligned_le16(cpu_to_le16(val), opt->val); > Â Â Â Â Â Â Â Âbreak; > I think you wanted: put_unaligned_le16(val, opt->val); Cheers, Harvey -- 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