usb: gadget: Fix second argument of percpu_ida_alloc()
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 18 Nov 2016 23:42:41 +0000 (15:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:19 +0000 (11:39 +0100)
commitb429e37b80fd6738ce3d1d6450cc5b4f40ac12a4
tree130774803df57f1d0188777b79984a423aac24be
parent8da83724d4918b35700fcbce4bfeac39fa2138f5
usb: gadget: Fix second argument of percpu_ida_alloc()

commit 03274445c01562d5352ea522431ab8c6175e2bbf upstream.

Pass a task state as second argument to percpu_ida_alloc().

Fixes: commit 71e7ae8e1fb2 ("usb-gadget/tcm: Conversion to percpu_ida tag pre-allocation")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Cc: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_tcm.c