Tag: eabd0eaf4f390df102cd24a87300b0e5150cf189

[media] drivers/staging/media/as102/as102_usb_drv.c: shift position of allocation code

Author: Julia Lawall <julia@diku.dk> The conditional after the kzalloc says that the tested expression should never be true, but if it were, the allocated data would have to be freed. This change just moves the allocation below the test, to avoid any possibility of the problem. A simplified version of the semantic match that finds …

Continue reading