diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-01-05 18:02:56 -0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2018-01-06 10:35:22 +0100 |
commit | 039b4377e5621a2cc197a7aff1e06db432e4dcc2 (patch) | |
tree | 05b79d5c6ac3f1dca81a30d0e1d63d95b326051a /tools/perf/scripts/python/syscall-counts.py | |
parent | d787b8b3509a78b1bf922cc3a1061711074847a8 (diff) |
mtd: nand: brcmnand: 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>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions