[PATCH] ipr: fix debug macro call in ipr_reset_restore_cfg_space()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux