IBM VSCSI Client: sending client info to server
Subsystems (3)
PATCH 1/1 IBM VSCSI Client: sending client info to server
Hi James,
The attached patch fixes the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server.
Comments are welcome.
If there are no objections, I would like to get this upstream.
Thanks,
Linda Xie
IBM Linux Technology Center
drivers/scsi/ibmvscsi/ibmvscsi.c +1 -3
@@ -87,7 +87,7 @@ static int max_channel = 3;static int init_timeout =5 ;static int max_requests =50 ; -#define IBMVSCSI_VERSION "1.5.5" +#define IBMVSCSI_VERSION "1.5.6"MODULE_DESCRIPTION ("IBM Virtual SCSI" );MODULE_AUTHOR ("Dave Boutcher" );
@@ -675,8 +675,6 @@ static void send_mad_adapter_info(structstruct viosrp_adapter_info *req;struct srp_event_struct *evt_struct; -memset (&hostdata->madapter_info,0x00 ,sizeof (hostdata->madapter_info)); - evt_struct =get_event_struct (&hostdata->pool);if (!evt_struct) { printk(KERN_ERR "ibmvscsi: couldn't allocate an event "
drivers/scsi/ibmvscsi/rpa_vscsi.c +51 -0
75 lines not on this page · raw message
drivers/scsi/ibmvscsi/srp.h +2 -0
@@ -28,6 +28,8 @@#ifndef SRP_H #define SRP_H +#define SRP_VERSION "16.a" +#define PACKED __attribute__((packed)) enum srp_types {
Quoted 8 lines · Linda Xie
Hi James,
The attached patch fixes the problem in IBM VSCSI Client where the client doesn't send
the information which is expected by the server.Comments are welcome.
Quoted 8 lines
If there are no objections, I would like to get this upstream.
Thanks,
Linda Xie
IBM Linux Technology CenterSigned-off-by Linda Xie <[email protected]>
Ack
Dave Boutcher
Hi,
Quoted 2 lines
The attached patch fixes the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server.
...
drivers/scsi/ibmvscsi/rpa_vscsi.c static void ibmvscsi_task(void *data) · line 185
Quoted 1 line
drivers/scsi/ibmvscsi/rpa_vscsi.c +1
-0+printk (KERN_INFO "rpa_vscsi: SPR_VERSION: %s\n" ,SRP_VERSION );
Just a small thing, should the printk say SRP_VERSION?
Anton
Quoted 12 lines · Anton Blanchard
Hi,
Quoted 3 lines
The attached patch fixes the problem in IBM VSCSI Client where the client doesn't send the information which is expected by the server.
...
Quoted 10 lines
Review
Quoted 3 lines
(quoted diff) +1
-0+ printk(KERN_INFO "rpa_vscsi: SPR_VERSION: %s\n", SRP_VERSION);Just a small thing, should the printk say
SRP_VERSION?Anton
Anton, thank you for catching my typo. Attached is an updated version.
Linda
drivers/scsi/ibmvscsi/ibmvscsi.c +1 -3
@@ -87,7 +87,7 @@ static int max_channel = 3;static int init_timeout =5 ;static int max_requests =50 ; -#define IBMVSCSI_VERSION "1.5.5" +#define IBMVSCSI_VERSION "1.5.6"MODULE_DESCRIPTION ("IBM Virtual SCSI" );MODULE_AUTHOR ("Dave Boutcher" );
@@ -675,8 +675,6 @@ static void send_mad_adapter_info(structstruct viosrp_adapter_info *req;struct srp_event_struct *evt_struct; -memset (&hostdata->madapter_info,0x00 ,sizeof (hostdata->madapter_info)); - evt_struct =get_event_struct (&hostdata->pool);if (!evt_struct) { printk(KERN_ERR "ibmvscsi: couldn't allocate an event "
drivers/scsi/ibmvscsi/rpa_vscsi.c +51 -0
75 lines not on this page · raw message
drivers/scsi/ibmvscsi/srp.h +2 -0
@@ -28,6 +28,8 @@#ifndef SRP_H #define SRP_H +#define SRP_VERSION "16.a" +#define PACKED __attribute__((packed)) enum srp_types {