[Stgt-devel] Fix build problem for IBMVIO
Robert Jennings
rcj
Wed Mar 7 18:45:15 CET 2007
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(...)
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;
More information about the stgt
mailing list