]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: i2c: Add a missing memory allocaton check
authorSimon Glass <sjg@chromium.org>
Wed, 18 Feb 2015 21:10:28 +0000 (14:10 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:24:12 +0000 (14:24 +0200)
commit00d3cd0fc295475a2fab5d98f1a7045eb797fee0
tree5f722da1aaddba78e1e6db4199cd8c2cbee51249
parentca43d6e08bc12954e6d02340ea682646b76f317c
dm: i2c: Add a missing memory allocaton check

This strdup() is missing a check. Add it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass.c