summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2022-04-03 01:27:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-21 18:15:33 +0200
commitaef11279888c00e1841a3533a35d279285af3a51 (patch)
tree3d81dfaf993b1fc77633ca83588cb0f77bc9cc3d /net/lapb/lapb_subr.c
parent9b969f93bcef9b3d9e92f1810e22bbd6c344a0e5 (diff)
usb: gadget: uvc: improve sg exit condition
The exit condition to quit iterating over the sg_list, while encoding the sg entries, has to consider the case that the dma_len of the entry could be zero. This patch takes this condition to account. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.kernel.org/r/20220402232744.3622565-4-m.grzeschik@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions