fsi: master-ast-cf: Rename dump_trace() to avoid name collision

s390 defines a global dump_trace() symbol. Rename ours to
dump_ucode_trace() to avoid a collision in build tests.
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 502defbb
...@@ -437,7 +437,7 @@ static int send_term(struct fsi_master_acf *master, uint8_t slave) ...@@ -437,7 +437,7 @@ static int send_term(struct fsi_master_acf *master, uint8_t slave)
return 0; return 0;
} }
static void dump_trace(struct fsi_master_acf *master) static void dump_ucode_trace(struct fsi_master_acf *master)
{ {
char trbuf[52]; char trbuf[52];
char *p; char *p;
...@@ -488,7 +488,7 @@ static int handle_response(struct fsi_master_acf *master, ...@@ -488,7 +488,7 @@ static int handle_response(struct fsi_master_acf *master,
} }
trace_fsi_master_acf_crc_rsp_error(master, crc_err_retries); trace_fsi_master_acf_crc_rsp_error(master, crc_err_retries);
if (master->trace_enabled) if (master->trace_enabled)
dump_trace(master); dump_ucode_trace(master);
rc = clock_zeros(master, FSI_MASTER_EPOLL_CLOCKS); rc = clock_zeros(master, FSI_MASTER_EPOLL_CLOCKS);
if (rc) { if (rc) {
dev_warn(master->dev, dev_warn(master->dev,
...@@ -525,7 +525,7 @@ static int handle_response(struct fsi_master_acf *master, ...@@ -525,7 +525,7 @@ static int handle_response(struct fsi_master_acf *master,
*/ */
dev_dbg(master->dev, "Busy, retrying...\n"); dev_dbg(master->dev, "Busy, retrying...\n");
if (master->trace_enabled) if (master->trace_enabled)
dump_trace(master); dump_ucode_trace(master);
rc = clock_zeros(master, FSI_MASTER_DPOLL_CLOCKS); rc = clock_zeros(master, FSI_MASTER_DPOLL_CLOCKS);
if (rc) { if (rc) {
dev_warn(master->dev, dev_warn(master->dev,
...@@ -550,13 +550,13 @@ static int handle_response(struct fsi_master_acf *master, ...@@ -550,13 +550,13 @@ static int handle_response(struct fsi_master_acf *master,
case FSI_RESP_ERRA: case FSI_RESP_ERRA:
dev_dbg(master->dev, "ERRA received\n"); dev_dbg(master->dev, "ERRA received\n");
if (master->trace_enabled) if (master->trace_enabled)
dump_trace(master); dump_ucode_trace(master);
rc = -EIO; rc = -EIO;
break; break;
case FSI_RESP_ERRC: case FSI_RESP_ERRC:
dev_dbg(master->dev, "ERRC received\n"); dev_dbg(master->dev, "ERRC received\n");
if (master->trace_enabled) if (master->trace_enabled)
dump_trace(master); dump_ucode_trace(master);
rc = -EAGAIN; rc = -EAGAIN;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment