diff options
| author | Al Viro <[email protected]> | 2015-12-12 22:32:01 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-01-25 15:15:26 -0200 |
| commit | c1ae8f3ad8758b588b4ba02edcb8d413185a10d7 (patch) | |
| tree | e8d5c9ac7fd7026fb045b73c79a532987dbb0229 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 47de9bf8931e6bf9c92fdba9867925d1ce482ab1 (diff) | |
[media] davinci: ccdc_update_raw_params() frees the wrong thing
Passing a physical address to free_pages() is a bad idea.
config_params->fault_pxl.fpc_table_addr is set to virt_to_phys()
of __get_free_pages() return value; what we should pass to free_pages()
is its phys_to_virt(). ccdc_close() does that properly, but
ccdc_update_raw_params() doesn't.
Signed-off-by: Al Viro <[email protected]>
Acked-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions