aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-23 12:29:03 +0100
committerMauro Carvalho Chehab <[email protected]>2021-04-06 10:32:18 +0200
commitd75b32853d4a89a8901991f294ff24b2f8fe1da5 (patch)
treeeac51d4e9cd750aa5afed500bf83459620ecb671 /tools/perf/scripts/python/bin/stackcollapse-report
parentfb3b597abdcec889876669e5dea2a80ea0ddbdd0 (diff)
media: imx-jpeg: Fix return value check in mxc_jpeg_attach_pm_domains()
In case of error, the function device_link_add() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 2db16c6ed72c ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions