diff options
author | Markos Chandras <[email protected]> | 2013-06-17 13:00:36 +0000 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2013-06-21 18:07:02 +0200 |
commit | 39b6f3aa1979ad7df42474d3c63bbc7e25bd31e4 (patch) | |
tree | 62b58ff6f5a4c70def49904106a790bd2b3d8727 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0156915cc0202e87cac1c8507b2b71eb899a9652 (diff) |
MIPS: sibyte: Declare the cfe_write() buffer as constant
The write() prototype expects a const char * as argument so declare
it as such.
Fixes the following build problem:
arch/mips/sibyte/common/cfe_console.c:23:5: error: passing argument 2 of
'cfe_write' discards 'const' qualifier from pointer target type [-Werror]
arch/mips/sibyte/common/cfe_console.c:34:4: error: passing argument 2 of
'cfe_write' makes pointer from integer without a cast [-Werror]
Signed-off-by: Markos Chandras <[email protected]>
Acked-by: Steven J. Hill <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/5485/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions