aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-08-07 08:30:33 +0200
committerChanwoo Choi <[email protected]>2017-08-07 15:34:20 +0900
commit1cf76c4eeb07ba31a03066c6540d96fd64d7a34f (patch)
tree4ac92b7a94731c59b9c4e664474d1d939b4fd1a6 /tools/perf/scripts/python
parent5c27036d2b05d6bc763809871b58a48e9fa554fa (diff)
extcon: cros-ec: Fix a potential NULL pointer dereference
Return -ENOMEM in case of memory allocation failure. This avoids a NULL pointer dereference. Fixes: c69831666109 ("extcon: cros-ec: Add extcon-cros-ec driver to support display out") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions