Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89707
b: refs/heads/master
c: 07c70d2
h: refs/heads/master
i:
  89705: 87ea06d
  89703: 9222f96
v: v3
  • Loading branch information
Martin Peschke authored and James Bottomley committed Apr 7, 2008
1 parent 2bbc3dd commit c001e6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f65e951ee0c4a7506c6c0489b59a6fb1d2f0e75
refs/heads/master: 07c70d26b556b342e7ad285963974808efba3104
31 changes: 0 additions & 31 deletions trunk/drivers/s390/scsi/zfcp_fsf.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,37 +284,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req)
goto skip_protstatus;
}

/* log additional information provided by FSF (if any) */
if (likely(qtcb->header.log_length)) {
/* do not trust them ;-) */
if (unlikely(qtcb->header.log_start >
sizeof(struct fsf_qtcb))) {
ZFCP_LOG_NORMAL
("bug: ULP (FSF logging) log data starts "
"beyond end of packet header. Ignored. "
"(start=%i, size=%li)\n",
qtcb->header.log_start,
sizeof(struct fsf_qtcb));
goto forget_log;
}
if (unlikely((size_t) (qtcb->header.log_start +
qtcb->header.log_length) >
sizeof(struct fsf_qtcb))) {
ZFCP_LOG_NORMAL("bug: ULP (FSF logging) log data ends "
"beyond end of packet header. Ignored. "
"(start=%i, length=%i, size=%li)\n",
qtcb->header.log_start,
qtcb->header.log_length,
sizeof(struct fsf_qtcb));
goto forget_log;
}
ZFCP_LOG_TRACE("ULP log data: \n");
ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_TRACE,
(char *) qtcb + qtcb->header.log_start,
qtcb->header.log_length);
}
forget_log:

/* evaluate FSF Protocol Status */
switch (qtcb->prefix.prot_status) {

Expand Down

0 comments on commit c001e6d

Please sign in to comment.