pvSCSI : Cleanup code
PATCH 4/4 pvSCSI : Cleanup code
Cleanup the driver's code.
Please refer following mails.
Message-ID: <[email protected]>
Message-ID: <[email protected]>
Signed-off-by Tomonari Horikoshi <[email protected]>
Signed-off-by Jun Kamada <[email protected]>
-----
Jun Kamada
# HG changeset patch
# User [email protected]
# Date 1215067850 -32400
# Node ID fe9751f76b901f977efbe8e34908cc48e5201974 # Parent e235e0bc18ab3773c3556703c5f37457c58016af
pvscsi: code cleanup
Signed-off-by Tomonari Horikoshi <[email protected]>
Signed-off-by Jun Kamada <[email protected]>
drivers/xen/scsiback/common.h +1 -3
@@ -112,8 +112,6 @@ typedef struct {uint16_t rqid; -vscsiif_request_t *ring_req; -uint8_t nr_segments;uint8_t cmnd[VSCSIIF_MAX_COMMAND_SIZE ];uint8_t cmd_len;
@@ -123,7 +121,7 @@ typedef struct {uint32_t request_bufflen;struct scatterlist *sgl; -grant_ref_t gref[VSCSIIF_SENSE_BUFFERSIZE ]; +grant_ref_t gref[VSCSIIF_SG_TABLESIZE ];int32_t rslt;uint8_t sense_buffer[VSCSIIF_SENSE_BUFFERSIZE ];
drivers/xen/scsiback/interface.c +1 -1
@@ -80,7 +80,7 @@ static int map_frontend_page( struct vsc info->shmem_ref = ring_ref; info->shmem_handle = op.handle; -return 0 ; +return (GNTST_okay); }static void unmap_frontend_page (struct vscsibk_info *info)
drivers/xen/scsiback/scsiback.c +18 -48
149 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel