summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/event_analyzing_sample-report
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-10-13 14:15:04 +0000
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-10-17 11:31:16 +0200
commit610a0fcd80036fa27c7a198d4b0374417d392cc0 (patch)
treef79f0db6d6ec89cf177cad8e908496f91be9c25c /tools/perf/scripts/python/bin/event_analyzing_sample-report
parentee738d5c91eb74c25b74ade10e089e842b7f1498 (diff)
downloadlinux-610a0fcd80036fa27c7a198d4b0374417d392cc0.tar.gz
linux-610a0fcd80036fa27c7a198d4b0374417d392cc0.zip
media: mediatek: vcodec: Use %pe format specifier
The %pe format specifier is designed to print error pointers. It prints a symbolic error name (eg. -EINVAL) and it makes the code simpler by omitting PTR_ERR(). This patch fixes this cocci report: ./platform/mediatek/vcodec/common/mtk_vcodec_dbgfs.c:187:3-10: WARNING: Consider using %pe to print PTR_ERR() Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/event_analyzing_sample-report')
0 files changed, 0 insertions, 0 deletions