From 86121f3ee4121bafdb1884547f7592d4709416db Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 4 Feb 2018 23:57:14 +0000 Subject: [PATCH] scst: Reduce the object size slightly git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7360 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- scst/src/scst_targ.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index dedc389cc..b7b8b4b17 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -6846,7 +6846,7 @@ static void blockio_exec_rw(struct vdisk_cmd_params *p, bool write, bool fua) static int err_inj_cntr; if (++err_inj_cntr % 256 == 0) { - PRINT_INFO("blockio_exec_rw() error injection"); + PRINT_INFO("%s() error injection", __func__); scst_set_busy(cmd); goto free_bio; } diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 2090ba64a..34d8b0828 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -2027,7 +2027,7 @@ void scst_rx_data(struct scst_cmd *cmd, int status, break; default: - PRINT_ERROR("scst_rx_data() received unknown status %x", + PRINT_ERROR("%s() received unknown status %x", __func__, status); if (!cmd->write_not_received_set) scst_cmd_set_write_no_data_received(cmd);