Hi Dan, > We should be passing the pointer itself instead of the address of the > pointer. > > This was a copy and paste bug when we replaced the calls to > hci_send_cmd(). Originally, the arguments were "len, cp" but we > overwrote them with "sizeof(cp), &cp" by mistake. > > Fixes: b3d3914006a0 ('Bluetooth: Move amp assoc read/write completed callback to amp.c') > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > I'm pretty sure this is correct, but it's a static checker fix and I > haven't tested it. it is correct and patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html