Hi Marcel, On Thu, Apr 18, 2013, Marcel Holtmann wrote: > >>> + u8 mfg_enable[] = { 0x01, 0x00 }; > >>> + u8 mfg_disable[] = { 0x00, 0x00 }; > >>> + u8 mfg_reset_deactivate[] = { 0x00, 0x01 }; > >>> + u8 mfg_reset_activate[] = { 0x00, 0x02 }; > >> > >> Check if you can make these const. > > > > If these becomes const, the compiler throws a warning at __hci_cmd_sync() below. > > That is what I almost figured. > > Johan, can you check if we can fix __hci_cmd_sync to take a const array. Done. The patch for this is now on the list. Johan -- 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