Hi David, > When loading the usb-configuration we do not signal the end of configuration on > memory allocation error. This patch moves the memory allocation to the top so > every error path uses "goto error" now to correctly send the usb-ctrl message > when detecting some error. > > This also replaces GFP_ATOMIC with GFP_KERNEL as we are allowed to sleep here. > > Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxxxxxxx> > --- > drivers/bluetooth/bfusb.c | 13 +++++++------ > 1 files changed, 7 insertions(+), 6 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> 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