android_kernel_motorola_sm6375/net/9p
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Harshvardhan Jha 8a964aa6ed 9p/xen: Fix end of loop tests for list_for_each_entry
commit 732b33d0dbf17e9483f0b50385bf606f724f50a2 upstream.

This patch addresses the following problems:
 - priv can never be NULL, so this part of the check is useless
 - if the loop ran through the whole list, priv->client is invalid and
it is more appropriate and sufficient to check for the end of
list_for_each_entry loop condition.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Harshvardhan Jha <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Tested-by: Stefano Stabellini <[email protected]>
Cc: <[email protected]>
Signed-off-by: Dominique Martinet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-09-22 12:26:20 +02:00
..
client.c 9p: Transport error uninitialized 2019-09-03 11:05:34 +00:00
error.c
Kconfig
Makefile
mod.c
protocol.c
protocol.h
trans_common.c
trans_common.h
trans_fd.c net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid 2020-11-05 11:43:20 +01:00
trans_rdma.c
trans_virtio.c
trans_xen.c 9p/xen: Fix end of loop tests for list_for_each_entry 2021-09-22 12:26:20 +02:00