public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: linux-next: Tree for May 6 (lpfc)
       [not found] <20130506144207.c812a0227d7763d26e5fec80@canb.auug.org.au>
@ 2013-05-06 16:14 ` Randy Dunlap
  2013-05-06 16:49   ` James Bottomley
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2013-05-06 16:14 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel, James Smart, linux-scsi

On 05/05/13 21:42, Stephen Rothwell wrote:
> Hi all,
> 
> Please do not add any v3.11 destined work to your linux-next included
> branches until after v3.10-rc1 is released.
> 
> I am receiving a (un)reasonable number of conflicts from there being
> multiple copies of some commits in various trees.   Please clean this up
> and resist the temptataion to rebase your trees on the way to your
> upstream ...
> 
> Changes since 20130506:
> 

on i386:
# CONFIG_CRC_T10DIF is not set


drivers/built-in.o: In function `lpfc_bg_crc':
(.text+0x3cb3c9): undefined reference to `crc_t10dif'




-- 
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: Tree for May 6 (lpfc)
  2013-05-06 16:14 ` linux-next: Tree for May 6 (lpfc) Randy Dunlap
@ 2013-05-06 16:49   ` James Bottomley
  2013-05-06 17:36     ` Martin K. Petersen
  2013-05-06 17:48     ` Randy Dunlap
  0 siblings, 2 replies; 4+ messages in thread
From: James Bottomley @ 2013-05-06 16:49 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, linux-next, linux-kernel, James Smart,
	linux-scsi

On Mon, 2013-05-06 at 09:14 -0700, Randy Dunlap wrote:
> On 05/05/13 21:42, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Please do not add any v3.11 destined work to your linux-next included
> > branches until after v3.10-rc1 is released.
> > 
> > I am receiving a (un)reasonable number of conflicts from there being
> > multiple copies of some commits in various trees.   Please clean this up
> > and resist the temptataion to rebase your trees on the way to your
> > upstream ...
> > 
> > Changes since 20130506:
> > 
> 
> on i386:
> # CONFIG_CRC_T10DIF is not set
> 
> 
> drivers/built-in.o: In function `lpfc_bg_crc':
> (.text+0x3cb3c9): undefined reference to `crc_t10dif'

That's the usual minor config cockup, isn't it?  lpfc apparently also
needs the generic checksum, so the fix would seem to be this.

James

---
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index db95c54..86af29f 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1353,6 +1353,8 @@ config SCSI_LPFC
 	tristate "Emulex LightPulse Fibre Channel Support"
 	depends on PCI && SCSI
 	select SCSI_FC_ATTRS
+	select GENERIC_CSUM
+	select CRC_T10DIF
 	help
           This lpfc driver supports the Emulex LightPulse
           Family of Fibre Channel PCI host adapters.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: linux-next: Tree for May 6 (lpfc)
  2013-05-06 16:49   ` James Bottomley
@ 2013-05-06 17:36     ` Martin K. Petersen
  2013-05-06 17:48     ` Randy Dunlap
  1 sibling, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2013-05-06 17:36 UTC (permalink / raw)
  To: James Bottomley
  Cc: Randy Dunlap, Stephen Rothwell, linux-next, linux-kernel,
	James Smart, linux-scsi

>>>>> "James" == James Bottomley <James.Bottomley@HansenPartnership.com> writes:

>> drivers/built-in.o: In function `lpfc_bg_crc': (.text+0x3cb3c9):
>> undefined reference to `crc_t10dif'

James> That's the usual minor config cockup, isn't it?  lpfc apparently
James> also needs the generic checksum, so the fix would seem to be
James> this.

Patch ok as a short term fix.

Longer term I'd like to provide a helper function that HBAs can call to
validate the data and PI scatterlists.

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: Tree for May 6 (lpfc)
  2013-05-06 16:49   ` James Bottomley
  2013-05-06 17:36     ` Martin K. Petersen
@ 2013-05-06 17:48     ` Randy Dunlap
  1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2013-05-06 17:48 UTC (permalink / raw)
  To: James Bottomley
  Cc: Stephen Rothwell, linux-next, linux-kernel, James Smart,
	linux-scsi

On 05/06/13 09:49, James Bottomley wrote:
> On Mon, 2013-05-06 at 09:14 -0700, Randy Dunlap wrote:
>> On 05/05/13 21:42, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Please do not add any v3.11 destined work to your linux-next included
>>> branches until after v3.10-rc1 is released.
>>>
>>> I am receiving a (un)reasonable number of conflicts from there being
>>> multiple copies of some commits in various trees.   Please clean this up
>>> and resist the temptataion to rebase your trees on the way to your
>>> upstream ...
>>>
>>> Changes since 20130506:
>>>
>>
>> on i386:
>> # CONFIG_CRC_T10DIF is not set
>>
>>
>> drivers/built-in.o: In function `lpfc_bg_crc':
>> (.text+0x3cb3c9): undefined reference to `crc_t10dif'
> 
> That's the usual minor config cockup, isn't it?  lpfc apparently also
> needs the generic checksum, so the fix would seem to be this.
> 
> James
> 

Thanks, that works.

for your S-O-B patch:
Acked-by: Randy Dunlap <rdunlap@infradead.org>


> ---
> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
> index db95c54..86af29f 100644
> --- a/drivers/scsi/Kconfig
> +++ b/drivers/scsi/Kconfig
> @@ -1353,6 +1353,8 @@ config SCSI_LPFC
>  	tristate "Emulex LightPulse Fibre Channel Support"
>  	depends on PCI && SCSI
>  	select SCSI_FC_ATTRS
> +	select GENERIC_CSUM
> +	select CRC_T10DIF
>  	help
>            This lpfc driver supports the Emulex LightPulse
>            Family of Fibre Channel PCI host adapters.
> 
> 
> --


-- 
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-06 17:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130506144207.c812a0227d7763d26e5fec80@canb.auug.org.au>
2013-05-06 16:14 ` linux-next: Tree for May 6 (lpfc) Randy Dunlap
2013-05-06 16:49   ` James Bottomley
2013-05-06 17:36     ` Martin K. Petersen
2013-05-06 17:48     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox