[PATCH 0/2] usb: gadget: Fixes for pxa27x_udc

Petr Cvek petr.cvek at tul.cz
Wed Feb 22 17:35:02 PST 2017


Two simple fixes for pxa27x gadget UDC. First one remove function declaration
duplication, second one add test for a valid pointer before function call as
it can be called with an error value in the pointer.

Petr Cvek (2):
  [TRIVIAL] usb: gadget: Remove duplicated function declaration in
    pxa27x_udc
  usb: gadget: Add test if argument pointer has a valid value in
    pxa27x_udc

 drivers/usb/gadget/udc/pxa27x_udc.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
2.11.0




More information about the linux-arm-kernel mailing list