diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 2ed3c7b48882..264f5f1bdde6 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -284,37 +284,6 @@ zfcp_fsf_protstatus_eval(struct zfcp_fsf_req *fsf_req) | |||
284 | goto skip_protstatus; | 284 | goto skip_protstatus; |
285 | } | 285 | } |
286 | 286 | ||
287 | /* log additional information provided by FSF (if any) */ | ||
288 | if (likely(qtcb->header.log_length)) { | ||
289 | /* do not trust them ;-) */ | ||
290 | if (unlikely(qtcb->header.log_start > | ||
291 | sizeof(struct fsf_qtcb))) { | ||
292 | ZFCP_LOG_NORMAL | ||
293 | ("bug: ULP (FSF logging) log data starts " | ||
294 | "beyond end of packet header. Ignored. " | ||
295 | "(start=%i, size=%li)\n", | ||
296 | qtcb->header.log_start, | ||
297 | sizeof(struct fsf_qtcb)); | ||
298 | goto forget_log; | ||
299 | } | ||
300 | if (unlikely((size_t) (qtcb->header.log_start + | ||
301 | qtcb->header.log_length) > | ||
302 | sizeof(struct fsf_qtcb))) { | ||
303 | ZFCP_LOG_NORMAL("bug: ULP (FSF logging) log data ends " | ||
304 | "beyond end of packet header. Ignored. " | ||
305 | "(start=%i, length=%i, size=%li)\n", | ||
306 | qtcb->header.log_start, | ||
307 | qtcb->header.log_length, | ||
308 | sizeof(struct fsf_qtcb)); | ||
309 | goto forget_log; | ||
310 | } | ||
311 | ZFCP_LOG_TRACE("ULP log data: \n"); | ||
312 | ZFCP_HEX_DUMP(ZFCP_LOG_LEVEL_TRACE, | ||
313 | (char *) qtcb + qtcb->header.log_start, | ||
314 | qtcb->header.log_length); | ||
315 | } | ||
316 | forget_log: | ||
317 | |||
318 | /* evaluate FSF Protocol Status */ | 287 | /* evaluate FSF Protocol Status */ |
319 | switch (qtcb->prefix.prot_status) { | 288 | switch (qtcb->prefix.prot_status) { |
320 | 289 | ||