summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-08-27 12:06:50 +0200
committerPawel Moll <pawel.moll@arm.com>2017-12-04 17:48:53 +0100
commit24771179c5c138f0ea3ef88b7972979f62f2d5db (patch)
tree9d39d3784b6324b6694f9c44ac1e37d71fae2707 /drivers/phy
parentbus: arm-ccn: constify attribute_group structures. (diff)
downloadlinux-24771179c5c138f0ea3ef88b7972979f62f2d5db.tar.xz
linux-24771179c5c138f0ea3ef88b7972979f62f2d5db.zip
bus: arm-ccn: Check memory allocation failure
Check memory allocation failures and return -ENOMEM in such cases This avoids a potential NULL pointer dereference. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Scott Branden <scott.branden@broadcom.com> Cc: stable@vger.kernel.org # 3.17+ Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions