The key functions of the ipr driver call two macros defined in 'ipr.h', 'ENTER' and 'LEAVE', upon entering and leaving the functions, in order to print debug messages when the driver is loaded with the option 'debug=1'. Before returning, ipr_reset_restore_cfg_space() calls 'ENTER' where it should call 'LEAVE'. This patch calls the right macro before returning from the function. Signed-off-by: Kleber S. Souza <klebers@xxxxxxxxxxxxxxxxxx> --- drivers/scsi/ipr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index c09d775..23f4af2 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -6522,7 +6522,7 @@ static int ipr_reset_restore_cfg_space(struct ipr_cmnd *ipr_cmd) } } - ENTER; + LEAVE; return IPR_RC_JOB_CONTINUE; } -- -- Kleber S. Souza IBM Linux Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html