]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: heed napi_complete() return value
authorAlex Elder <elder@linaro.org>
Thu, 21 Jan 2021 11:48:18 +0000 (05:48 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 21:16:00 +0000 (13:16 -0800)
commit8bd5191d77412e8af6f30afd039fc714a21642ac
tree5ba2f4f88fe2e3826705e37292090d278276bd85
parentae8cc3d83aff17b1381628b619c86b5390b87236
net: ipa: heed napi_complete() return value

Pay attention to the return value of napi_complete(), completing
polling only if it returns true.

Just use napi rather than &channel->napi as the argument passed to
napi_complete().

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c