diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-01-06 11:22:34 -0200 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2018-01-22 16:59:48 -0600 |
commit | 14b055f43915a81be46d7e98f6f237bee62c6b0c (patch) | |
tree | f388e92cf85e23a59ae65086d62f65c814e961db /drivers/soc/imx | |
parent | 6ea0acfd0724007be4e368aca9dc29e384bf2330 (diff) | |
download | linux-14b055f43915a81be46d7e98f6f237bee62c6b0c.tar.bz2 |
soc: fsl: guts: Add a NULL check for devm_kasprintf()
devm_kasprintf() may fail, so we should better add a NULL check
and propagate an error on failure.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc/imx')
0 files changed, 0 insertions, 0 deletions