Skip to content

Commit

Permalink
fsi: master-ast-cf: Rename dump_trace() to avoid name collision
Browse files Browse the repository at this point in the history
s390 defines a global dump_trace() symbol. Rename ours to
dump_ucode_trace() to avoid a collision in build tests.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Benjamin Herrenschmidt committed Jul 26, 2018
1 parent 502defb commit 537052d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/fsi/fsi-master-ast-cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ static int send_term(struct fsi_master_acf *master, uint8_t slave)
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 *p;
Expand Down Expand Up @@ -488,7 +488,7 @@ static int handle_response(struct fsi_master_acf *master,
}
trace_fsi_master_acf_crc_rsp_error(master, crc_err_retries);
if (master->trace_enabled)
dump_trace(master);
dump_ucode_trace(master);
rc = clock_zeros(master, FSI_MASTER_EPOLL_CLOCKS);
if (rc) {
dev_warn(master->dev,
Expand Down Expand Up @@ -525,7 +525,7 @@ static int handle_response(struct fsi_master_acf *master,
*/
dev_dbg(master->dev, "Busy, retrying...\n");
if (master->trace_enabled)
dump_trace(master);
dump_ucode_trace(master);
rc = clock_zeros(master, FSI_MASTER_DPOLL_CLOCKS);
if (rc) {
dev_warn(master->dev,
Expand All @@ -550,13 +550,13 @@ static int handle_response(struct fsi_master_acf *master,
case FSI_RESP_ERRA:
dev_dbg(master->dev, "ERRA received\n");
if (master->trace_enabled)
dump_trace(master);
dump_ucode_trace(master);
rc = -EIO;
break;
case FSI_RESP_ERRC:
dev_dbg(master->dev, "ERRC received\n");
if (master->trace_enabled)
dump_trace(master);
dump_ucode_trace(master);
rc = -EAGAIN;
break;
}
Expand Down

0 comments on commit 537052d

Please sign in to comment.