Currently this driver is missing a check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.
This patch adds the aformentioned missing check.
Signed-off-by: Peter Griffin peter.grif...@linaro.org
---
drivers/phy/phy-mvebu-sata.c | 2 ++
1 file
On Fri, Aug 15, 2014 at 01:40:09PM +0100, Peter Griffin wrote:
Currently this driver is missing a check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.
This patch adds the aformentioned missing check.
Signed-off-by: Peter Griffin