Tag: 1c17a353c5a8346b1ce128c60ffb862d156f7e7e

usb: gadget: rndis: fix itnull.cocci warnings

Author: Julia Lawall <julia.lawall@lip6.fr> The index variable of list_for_each_entry_safe is an offset from a list pointer, and thus should not be NULL. Generated by: scripts/coccinelle/iterators/itnull.cocci CC: Geliang Tang Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/usb/gadget/function/rndis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/usb/gadget/function/rndis.c b/drivers/usb/gadget/function/rndis.c index …

Continue reading