Tag: e3380333b8fdaad07d53953c1831b90d9cc23821

mfd: Introduce missing kfree in 88pm860x probe routine

Author: Julia Lawall <julia@diku.dk> Error handling code following a kzalloc should free the allocated data. At this point, chip has been allocated and some fields have been initialized, but it has not been stored anywhere, so it should be freed before leaving the function. A simplified version of the semantic match that finds the problem …

Continue reading