diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-08-24 21:50:00 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 09:28:53 -0400 |
commit | d7c255b26d8e3f12164d82093de3bf22efad2b4a (patch) | |
tree | 0b3467eda322ec2d90e5a7369891ab4ba12ff0a1 /drivers/scsi/lpfc/lpfc_debugfs.c | |
parent | 34b02dcdcf1865405f4762b991965c0c3b8a3ae0 (diff) |
[SCSI] lpfc 8.2.8 : Miscellaneous Bug Fixes
Miscellaneous Fixes:
- Fix the wrong variable name used for checking node active usage status
- Fix numerous duplicate log message numbers
- Fix change KERN_WARNING messages to KERN_INFO.
- Stop sending erroneous LOGO to fabric after vport is already terminated
- Fix HBQ allocates that were kalloc'ing w/ GFP_KERNEL while holding a lock.
- Fix gcc 4.3.2 compiler warnings and a sparse warning
- Fix bugs in handling unsolicited ct event queue
- Reorder some of the initial link up checks, to remove odd VPI states.
- Correct poor VPI handling
- Add debug messages
- Expand Update_CFG mailbox definition
- Fix handling of VPD data offsets
- Reorder loopback flags
- convert to use offsetof()
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_debugfs.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 2f6d34924b7d..f85b99a7c43d 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c | |||
@@ -1119,7 +1119,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1119 | atomic_set(&lpfc_debugfs_hba_count, 0); | 1119 | atomic_set(&lpfc_debugfs_hba_count, 0); |
1120 | if (!lpfc_debugfs_root) { | 1120 | if (!lpfc_debugfs_root) { |
1121 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1121 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1122 | "0409 Cannot create debugfs root\n"); | 1122 | "0408 Cannot create debugfs root\n"); |
1123 | goto debug_failed; | 1123 | goto debug_failed; |
1124 | } | 1124 | } |
1125 | } | 1125 | } |
@@ -1133,7 +1133,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1133 | debugfs_create_dir(name, lpfc_debugfs_root); | 1133 | debugfs_create_dir(name, lpfc_debugfs_root); |
1134 | if (!phba->hba_debugfs_root) { | 1134 | if (!phba->hba_debugfs_root) { |
1135 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1135 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1136 | "0409 Cannot create debugfs hba\n"); | 1136 | "0412 Cannot create debugfs hba\n"); |
1137 | goto debug_failed; | 1137 | goto debug_failed; |
1138 | } | 1138 | } |
1139 | atomic_inc(&lpfc_debugfs_hba_count); | 1139 | atomic_inc(&lpfc_debugfs_hba_count); |
@@ -1147,7 +1147,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1147 | phba, &lpfc_debugfs_op_hbqinfo); | 1147 | phba, &lpfc_debugfs_op_hbqinfo); |
1148 | if (!phba->debug_hbqinfo) { | 1148 | if (!phba->debug_hbqinfo) { |
1149 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1149 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1150 | "0409 Cannot create debugfs hbqinfo\n"); | 1150 | "0411 Cannot create debugfs hbqinfo\n"); |
1151 | goto debug_failed; | 1151 | goto debug_failed; |
1152 | } | 1152 | } |
1153 | 1153 | ||
@@ -1159,7 +1159,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1159 | phba, &lpfc_debugfs_op_dumpHBASlim); | 1159 | phba, &lpfc_debugfs_op_dumpHBASlim); |
1160 | if (!phba->debug_dumpHBASlim) { | 1160 | if (!phba->debug_dumpHBASlim) { |
1161 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1161 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1162 | "0409 Cannot create debugfs dumpHBASlim\n"); | 1162 | "0413 Cannot create debugfs dumpHBASlim\n"); |
1163 | goto debug_failed; | 1163 | goto debug_failed; |
1164 | } | 1164 | } |
1165 | 1165 | ||
@@ -1171,7 +1171,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1171 | phba, &lpfc_debugfs_op_dumpHostSlim); | 1171 | phba, &lpfc_debugfs_op_dumpHostSlim); |
1172 | if (!phba->debug_dumpHostSlim) { | 1172 | if (!phba->debug_dumpHostSlim) { |
1173 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1173 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1174 | "0409 Cannot create debugfs dumpHostSlim\n"); | 1174 | "0414 Cannot create debugfs dumpHostSlim\n"); |
1175 | goto debug_failed; | 1175 | goto debug_failed; |
1176 | } | 1176 | } |
1177 | 1177 | ||
@@ -1201,7 +1201,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1201 | phba, &lpfc_debugfs_op_slow_ring_trc); | 1201 | phba, &lpfc_debugfs_op_slow_ring_trc); |
1202 | if (!phba->debug_slow_ring_trc) { | 1202 | if (!phba->debug_slow_ring_trc) { |
1203 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1203 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1204 | "0409 Cannot create debugfs " | 1204 | "0415 Cannot create debugfs " |
1205 | "slow_ring_trace\n"); | 1205 | "slow_ring_trace\n"); |
1206 | goto debug_failed; | 1206 | goto debug_failed; |
1207 | } | 1207 | } |
@@ -1212,7 +1212,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1212 | GFP_KERNEL); | 1212 | GFP_KERNEL); |
1213 | if (!phba->slow_ring_trc) { | 1213 | if (!phba->slow_ring_trc) { |
1214 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1214 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1215 | "0409 Cannot create debugfs " | 1215 | "0416 Cannot create debugfs " |
1216 | "slow_ring buffer\n"); | 1216 | "slow_ring buffer\n"); |
1217 | goto debug_failed; | 1217 | goto debug_failed; |
1218 | } | 1218 | } |
@@ -1229,7 +1229,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1229 | debugfs_create_dir(name, phba->hba_debugfs_root); | 1229 | debugfs_create_dir(name, phba->hba_debugfs_root); |
1230 | if (!vport->vport_debugfs_root) { | 1230 | if (!vport->vport_debugfs_root) { |
1231 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1231 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1232 | "0409 Cant create debugfs"); | 1232 | "0417 Cant create debugfs"); |
1233 | goto debug_failed; | 1233 | goto debug_failed; |
1234 | } | 1234 | } |
1235 | atomic_inc(&phba->debugfs_vport_count); | 1235 | atomic_inc(&phba->debugfs_vport_count); |
@@ -1258,7 +1258,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1258 | 1258 | ||
1259 | if (!vport->disc_trc) { | 1259 | if (!vport->disc_trc) { |
1260 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1260 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1261 | "0409 Cannot create debugfs disc trace " | 1261 | "0418 Cannot create debugfs disc trace " |
1262 | "buffer\n"); | 1262 | "buffer\n"); |
1263 | goto debug_failed; | 1263 | goto debug_failed; |
1264 | } | 1264 | } |
@@ -1271,7 +1271,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1271 | vport, &lpfc_debugfs_op_disc_trc); | 1271 | vport, &lpfc_debugfs_op_disc_trc); |
1272 | if (!vport->debug_disc_trc) { | 1272 | if (!vport->debug_disc_trc) { |
1273 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1273 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1274 | "0409 Cannot create debugfs " | 1274 | "0419 Cannot create debugfs " |
1275 | "discovery_trace\n"); | 1275 | "discovery_trace\n"); |
1276 | goto debug_failed; | 1276 | goto debug_failed; |
1277 | } | 1277 | } |