diff options
| author | Thomas Zimmermann <[email protected]> | 2021-12-01 12:46:42 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2022-01-14 15:15:45 +0100 |
| commit | ba7e3fd19a6731747da4d213566e4239b28d3a7d (patch) | |
| tree | b98df600162e7372618adfcff367181279e94c57 /tools/perf/scripts/python/flamegraph.py | |
| parent | ffe9d02e4152ab653652717a1907d0058b764d58 (diff) | |
agp/ati: Return error from ati_create_page_map()
Fix the compiler warning
drivers/char/agp/ati-agp.c: In function 'ati_create_page_map':
drivers/char/agp/ati-agp.c:58:16: warning: variable 'err' set but not used [-Wunused-but-set-variable]
58 | int i, err = 0;
by returing the error to the caller.
v2:
* free page in error branch (Helge)
Signed-off-by: Thomas Zimmermann <[email protected]>
Acked-by: Helge Deller <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions