Re: [PATCH 05/23] usb: gadget: configfs: fix error path

From: Sergei Shtylyov
Date: Tue Nov 03 2015 - 08:45:53 EST


Hello.

On 11/3/2015 3:53 PM, Robert Baldyga wrote:

As usb_gstrings_attach() fail can happen when some USB functions are

Failure?

are already added to some configurations (in prevoius loop iterations),

Previous?

we should always call purge_configs_funcs() to be sure that failure is
be handled properly.

Signed-off-by: Robert Baldyga <r.baldyga@xxxxxxxxxxx>
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/