Tag: 49b707b90c7f7260beb8691fc5d99d71a5549ec0

drivers/usb/class/usblp.c: adjust error handling code

Author: Julia Lawall <julia@diku.dk> In this code, it is possible to tell statically whether usblp will be NULL in the error handling code. Oliver Neukum suggested to make a goto to the final return rather than return directly. The semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @@ identifier f,err,l,l1; type T; …

Continue reading