code translation error on big-endian systems
- fix resource releasing bug when scsi_host_alloc() fail in hptiop_probe()
- update scsi_cmnd.resid when finishing a request
- correct some coding style issues
Signed-off-by: HighPoint Linux Team <[EMAIL PROTECTED]>
---
Documentation/scsi/hpti
on adds to the driver about 300 lines of
code (some lines in the original driver was changed slightly to accommodate
the difference). It is only different from the original models on the
messaging interface, and still shares same firmware command block
structures and work flow.
HighPoint
()
- update scsi_cmnd.resid when finishing a request
- correct some coding style issues
Signed-off-by: HighPoint Linux Team <[EMAIL PROTECTED]>
---
Documentation/scsi/hptiop.txt | 30 ++-
drivers/scsi/Kconfig |4 +-
drivers/scsi/hptiop.c
s fix should be backported to
> 2.6.23.x and even to 2.6.22.x?
Sorry for ambiguity. With current adapter firmware the driver is working but
future
firmware updates may return sense data larger than 96 bytes, causing overflow
on scp->sense_buffer and a kernel crash.
This fix shou
avoid buffer overflow when returning sense data.
Signed-off-by: HighPoint Linux Team <[EMAIL PROTECTED]>
---
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index 8b384fa..d32a4a9 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -375,8 +375,9 @@ stati
Point Linux Team <[EMAIL PROTECTED]>
---
drivers/scsi/hptiop.c | 63 +
drivers/scsi/hptiop.h | 229
++-
2 files changed, 58 insertions(+), 234 deletions(-)
diff -urpN a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
--
- check adapter firmware version and using appropriate interface accordingly
- add new PCI device IDs
- update driver version string
Signed-off-by: HighPoint Linux Team <[EMAIL PROTECTED]>
---
hptiop.c | 57 +++--
hptiop.h
7 matches
Mail list logo