linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Smart <James.Smart@Emulex.Com>
To: Boaz Harrosh <bharrosh@panasas.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 4/8] lpfc 8.2.2 : Rework the lpfc_printf_log() macro
Date: Fri, 03 Aug 2007 11:36:31 -0400	[thread overview]
Message-ID: <46B34B7F.4020208@emulex.com> (raw)
In-Reply-To: <46B1852B.8090106@panasas.com>

Sorry, Attempting to sync our pools with the variance of upstream is difficult.

Leave this patch 4 in place. I'll submit a patch shortly to address you concern
and get the 8.2.2 sources in line.

-- james s

Boaz Harrosh wrote:
> Big NACK
> 
> The code was converted to Accessors. look Here:
> 
>> -			lpfc_printf_log(phba, KERN_INFO, LOG_FCP,
>> -					"%d (%d):0717 FCP command x%x residual "
>> -					"underrun converted to error "
>> -					"Data: x%x x%x x%x\n",
>> -					phba->brd_no, vpi, cmnd->cmnd[0],
>> -					scsi_bufflen(cmnd),
>> -					scsi_get_resid(cmnd), cmnd->underflow);
>> +			lpfc_printf_vlog(vport, KERN_INFO, LOG_FCP,
>> +					 "0717 FCP command x%x residual "
>> +					 "underrun converted to error "
>> +					 "Data: x%x x%x x%x\n",
>> +					 cmnd->cmnd[0], cmnd->request_bufflen,
>> +					 scsi_get_resid(cmnd), cmnd->underflow);
> 
> you removed an scsi_bufflen(cmnd) and put cmnd->request_bufflen in its place.
> the scsi_get_resid(cmnd) you left as is.
> 
> Boaz Harrosh
> 

      reply	other threads:[~2007-08-03 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 21:28 [PATCH 4/8] lpfc 8.2.2 : Rework the lpfc_printf_log() macro James Smart
2007-08-02  7:18 ` Boaz Harrosh
2007-08-03 15:36   ` James Smart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46B34B7F.4020208@emulex.com \
    --to=james.smart@emulex.com \
    --cc=bharrosh@panasas.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).