diff options
author | James Smart <James.Smart@Emulex.Com> | 2009-10-02 15:16:51 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:41 -0500 |
commit | 6a9c52cf22e4ca13816bb2bd9899129cd4445de7 (patch) | |
tree | 02c44960d58fbaada692062ed96287425d0cd853 /drivers/scsi/lpfc/lpfc_debugfs.c | |
parent | 6669f9bb902b8c3f5e33cb8c32c8c0eec6ed68ed (diff) |
[SCSI] lpfc 8.3.5: fix sysfs parameters, vport creation and other bugs and update logging
This patch include the following fixes and changes:
- Fix crash when "error" is echoed to board_mode sysfs parameter
- Fix FCoE Parameter parsing in regions 23
- Fix driver crash when creating vport with large number of targets on SLI4
- Fix bug with npiv message being logged when it is not supported by the adapter
- Fix a potential dereferencing mailbox structure after free bug
- Fix firmware crash after vport create with high target count
- Error out requests to set board_mode to warm restart via sysfs on SLI4 HBAs
- Fix Block guard logging
- Fix a memory corruption issue during GID_FT IO prep
- Fix crash while processing unsolicited FC frames
- Fix failed to allocate XRI message is not a critical failure
- Update and fix formatting in some log messages
- Fix missing new line characters in log messages
- Removed the use of the locally defined FC transport layer related macros
- Check the rsplen in lpfc_handle_fcp_err function before using rsplen
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_debugfs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 8d0f0de76b63..391584183d81 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c | |||
@@ -926,7 +926,7 @@ lpfc_debugfs_dumpData_open(struct inode *inode, struct file *file) | |||
926 | goto out; | 926 | goto out; |
927 | 927 | ||
928 | /* Round to page boundry */ | 928 | /* Round to page boundry */ |
929 | printk(KERN_ERR "BLKGRD %s: _dump_buf_data=0x%p\n", | 929 | printk(KERN_ERR "9059 BLKGRD: %s: _dump_buf_data=0x%p\n", |
930 | __func__, _dump_buf_data); | 930 | __func__, _dump_buf_data); |
931 | debug->buffer = _dump_buf_data; | 931 | debug->buffer = _dump_buf_data; |
932 | if (!debug->buffer) { | 932 | if (!debug->buffer) { |
@@ -956,8 +956,8 @@ lpfc_debugfs_dumpDif_open(struct inode *inode, struct file *file) | |||
956 | goto out; | 956 | goto out; |
957 | 957 | ||
958 | /* Round to page boundry */ | 958 | /* Round to page boundry */ |
959 | printk(KERN_ERR "BLKGRD %s: _dump_buf_dif=0x%p file=%s\n", __func__, | 959 | printk(KERN_ERR "9060 BLKGRD: %s: _dump_buf_dif=0x%p file=%s\n", |
960 | _dump_buf_dif, file->f_dentry->d_name.name); | 960 | __func__, _dump_buf_dif, file->f_dentry->d_name.name); |
961 | debug->buffer = _dump_buf_dif; | 961 | debug->buffer = _dump_buf_dif; |
962 | if (!debug->buffer) { | 962 | if (!debug->buffer) { |
963 | kfree(debug); | 963 | kfree(debug); |
@@ -1377,7 +1377,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1377 | debugfs_create_dir(name, phba->hba_debugfs_root); | 1377 | debugfs_create_dir(name, phba->hba_debugfs_root); |
1378 | if (!vport->vport_debugfs_root) { | 1378 | if (!vport->vport_debugfs_root) { |
1379 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1379 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1380 | "0417 Cant create debugfs"); | 1380 | "0417 Cant create debugfs\n"); |
1381 | goto debug_failed; | 1381 | goto debug_failed; |
1382 | } | 1382 | } |
1383 | atomic_inc(&phba->debugfs_vport_count); | 1383 | atomic_inc(&phba->debugfs_vport_count); |
@@ -1430,7 +1430,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport) | |||
1430 | vport, &lpfc_debugfs_op_nodelist); | 1430 | vport, &lpfc_debugfs_op_nodelist); |
1431 | if (!vport->debug_nodelist) { | 1431 | if (!vport->debug_nodelist) { |
1432 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, | 1432 | lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, |
1433 | "0409 Cant create debugfs nodelist"); | 1433 | "0409 Cant create debugfs nodelist\n"); |
1434 | goto debug_failed; | 1434 | goto debug_failed; |
1435 | } | 1435 | } |
1436 | debug_failed: | 1436 | debug_failed: |