Hi Felipe,
Below patches are fixes for warning which are found during
coverity code scan.
Changes for v2:
- Drop the patch 3/3 in v1 which will break ncm function due to
its socket buffer may be NULL.
- Add patch 3/4 and patch 4/4 for individual function drivers which
do not check null pointer for socket buffer before using it.
Peter Chen (4):
usb: gadget: composite: fix dereference after null check coverify
warning
usb: gadget: u_ether: fix dereference after null check coverify
warning
usb: gadget: function: f_eem: socket buffer may be NULL
usb: gadget: function: f_rndis: socket buffer may be NULL
drivers/usb/gadget/composite.c | 2 ++
drivers/usb/gadget/function/f_eem.c | 10 +++++++---
drivers/usb/gadget/function/f_rndis.c | 3 +++
drivers/usb/gadget/function/u_ether.c | 3 ++-
4 files changed, 14 insertions(+), 4 deletions(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html