[Stgt-devel] Fix build problem for IBMVIO

FUJITA Tomonori fujita.tomonori
Thu Mar 8 01:40:50 CET 2007


From: Robert Jennings <rcj at linux.vnet.ibm.com>
Subject: [Stgt-devel] Fix build problem for IBMVIO
Date: Wed, 7 Mar 2007 11:45:15 -0600

> Just a small patch to correct member names.  The problem is only
> seen when compiling with 'IBMVIO=1' and causes the build to fail.
> Changes 'sense_len' to 'len' and 'sense_uaddr' to 'uaddr' in
> kspace_send_cmd_res(...)

Thanks.

This is for the following patchset:

http://marc.theaimsgroup.com/?l=linux-scsi&m=117288338126613&w=2

The current user-space code should be cleanly compiled with my target
git tree:

http://git.kernel.org/?p=linux/kernel/git/tomo/linux-2.6-target.git;a=summary


> Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
> 
> ---
>  tgtif.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: usr/tgtif.c
> ===================================================================
> --- usr.orig/tgtif.c	2007-03-07 11:30:00.000000000 -0600
> +++ usr/tgtif.c	2007-03-07 11:30:51.000000000 -0600
> @@ -113,8 +113,8 @@
>  	ev.p.cmd_rsp.host_no = it_nexus_to_host_no(nid);
>  	ev.p.cmd_rsp.len = cmd->len;
>  	ev.p.cmd_rsp.uaddr = cmd->uaddr;
> -	ev.p.cmd_rsp.sense_len = cmd->sense_len;
> -	ev.p.cmd_rsp.sense_uaddr = (unsigned long) cmd->sense_buffer;
> +	ev.p.cmd_rsp.len = cmd->sense_len;
> +	ev.p.cmd_rsp.uaddr = (unsigned long) cmd->sense_buffer;
>  	ev.p.cmd_rsp.result = result;
>  	ev.p.cmd_rsp.rw = cmd->rw;
>  	ev.p.cmd_rsp.tag = cmd->tag;
> 
> _______________________________________________
> Stgt-devel mailing list
> Stgt-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/stgt-devel
> 



More information about the stgt mailing list