2016-03-16 01:15:43

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the rdma tree

Hi Doug,

After merging the rdma tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from drivers/infiniband/hw/i40iw/i40iw.h:57:0,
from drivers/infiniband/hw/i40iw/i40iw_cm.c:63:
drivers/infiniband/hw/i40iw/i40iw_osdep.h:175:12: warning: 'struct hash_desc' declared inside parameter list
u32 length, u32 value);
^

And it went downhill badly after that.

Caused by commit

896545098777 ("crypto: hash - Remove crypto_hash interface")

from the crypto tree interacting with commits

786c6adb3a94 ("i40iw: add puda code")
4e9042e647ff ("i40iw: add hw and utils files")

(at least) from the rdma tree.

Its a bit of a pain finding these conflicts now - it would have been
better a few weeks ago.

For now, all I can do is to use the rdma tree from next-20160315 for
today.

Herbert, any hints for Doug, Faisal?

--
Cheers,
Stephen Rothwell


2016-03-16 06:50:32

by Herbert Xu

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the rdma tree

On Wed, Mar 16, 2016 at 12:15:38PM +1100, Stephen Rothwell wrote:
> Hi Doug,
>
> After merging the rdma tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from drivers/infiniband/hw/i40iw/i40iw.h:57:0,
> from drivers/infiniband/hw/i40iw/i40iw_cm.c:63:
> drivers/infiniband/hw/i40iw/i40iw_osdep.h:175:12: warning: 'struct hash_desc' declared inside parameter list
> u32 length, u32 value);
> ^
>
> And it went downhill badly after that.
>
> Caused by commit
>
> 896545098777 ("crypto: hash - Remove crypto_hash interface")
>
> from the crypto tree interacting with commits
>
> 786c6adb3a94 ("i40iw: add puda code")
> 4e9042e647ff ("i40iw: add hw and utils files")
>
> (at least) from the rdma tree.
>
> Its a bit of a pain finding these conflicts now - it would have been
> better a few weeks ago.
>
> For now, all I can do is to use the rdma tree from next-20160315 for
> today.
>
> Herbert, any hints for Doug, Faisal?

crypto_hash is obsolete. You should be using shash if your input
is completely linear or ahash if you need SG lists. For an example
of how you can do the conversion, have a look at

commit 69110e3cedbb8aad1c70d91ed58a9f4f0ed9eec6
Author: Herbert Xu <[email protected]>
Date: Sun Jan 24 21:19:52 2016 +0800

iscsi-target: Use shash and ahash

Cheers,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

2016-03-16 19:03:00

by Doug Ledford

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the rdma tree

On 3/16/2016 2:49 AM, Herbert Xu wrote:
> On Wed, Mar 16, 2016 at 12:15:38PM +1100, Stephen Rothwell wrote:
>> Hi Doug,
>>
>> After merging the rdma tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> In file included from drivers/infiniband/hw/i40iw/i40iw.h:57:0,
>> from drivers/infiniband/hw/i40iw/i40iw_cm.c:63:
>> drivers/infiniband/hw/i40iw/i40iw_osdep.h:175:12: warning: 'struct hash_desc' declared inside parameter list
>> u32 length, u32 value);
>> ^
>>
>> And it went downhill badly after that.
>>
>> Caused by commit
>>
>> 896545098777 ("crypto: hash - Remove crypto_hash interface")
>>
>> from the crypto tree interacting with commits
>>
>> 786c6adb3a94 ("i40iw: add puda code")
>> 4e9042e647ff ("i40iw: add hw and utils files")
>>
>> (at least) from the rdma tree.
>>
>> Its a bit of a pain finding these conflicts now - it would have been
>> better a few weeks ago.
>>
>> For now, all I can do is to use the rdma tree from next-20160315 for
>> today.
>>
>> Herbert, any hints for Doug, Faisal?
>
> crypto_hash is obsolete. You should be using shash if your input
> is completely linear or ahash if you need SG lists. For an example
> of how you can do the conversion, have a look at
>
> commit 69110e3cedbb8aad1c70d91ed58a9f4f0ed9eec6
> Author: Herbert Xu <[email protected]>
> Date: Sun Jan 24 21:19:52 2016 +0800
>
> iscsi-target: Use shash and ahash
>
> Cheers,
>

Pending an update from Intel on the i40iw driver, I have pulled it from
my for-next area. This should not be a problem with tonight's merge.



Attachments:
signature.asc (884.00 B)
OpenPGP digital signature

2016-03-16 20:41:49

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the rdma tree

Hi Doug,

On Wed, 16 Mar 2016 15:02:42 -0400 Doug Ledford <[email protected]> wrote:
>
> Pending an update from Intel on the i40iw driver, I have pulled it from
> my for-next area. This should not be a problem with tonight's merge.

Thanks.
--
Cheers,
Stephen Rothwell

2016-03-16 22:14:42

by Ismail, Mustafa

[permalink] [raw]
Subject: RE: linux-next: build failure after merge of the rdma tree

Faisal is out until 3/18. We will make the changes and send a patch shortly.
Thanks Herbert for the pointers. Regards.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Doug Ledford
Sent: Wednesday, March 16, 2016 2:03 PM
To: Herbert Xu <[email protected]>; Stephen Rothwell <[email protected]>
Cc: [email protected]; [email protected]; Latif, Faisal <[email protected]>
Subject: Re: linux-next: build failure after merge of the rdma tree

On 3/16/2016 2:49 AM, Herbert Xu wrote:
> On Wed, Mar 16, 2016 at 12:15:38PM +1100, Stephen Rothwell wrote:
>> Hi Doug,
>>
>> After merging the rdma tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> In file included from drivers/infiniband/hw/i40iw/i40iw.h:57:0,
>> from drivers/infiniband/hw/i40iw/i40iw_cm.c:63:
>> drivers/infiniband/hw/i40iw/i40iw_osdep.h:175:12: warning: 'struct hash_desc' declared inside parameter list
>> u32 length, u32 value);
>> ^
>>
>> And it went downhill badly after that.
>>
>> Caused by commit
>>
>> 896545098777 ("crypto: hash - Remove crypto_hash interface")
>>
>> from the crypto tree interacting with commits
>>
>> 786c6adb3a94 ("i40iw: add puda code")
>> 4e9042e647ff ("i40iw: add hw and utils files")
>>
>> (at least) from the rdma tree.
>>
>> Its a bit of a pain finding these conflicts now - it would have been
>> better a few weeks ago.
>>
>> For now, all I can do is to use the rdma tree from next-20160315 for
>> today.
>>
>> Herbert, any hints for Doug, Faisal?
>
> crypto_hash is obsolete. You should be using shash if your input is
> completely linear or ahash if you need SG lists. For an example of
> how you can do the conversion, have a look at
>
> commit 69110e3cedbb8aad1c70d91ed58a9f4f0ed9eec6
> Author: Herbert Xu <[email protected]>
> Date: Sun Jan 24 21:19:52 2016 +0800
>
> iscsi-target: Use shash and ahash
>
> Cheers,
>

Pending an update from Intel on the i40iw driver, I have pulled it from my for-next area. This should not be a problem with tonight's merge.