Re: [PATCH net] RDS: IB: Limit the scope of has_fr/has_fmr variables

From: David Miller
Date: Wed Oct 04 2017 - 00:06:10 EST


From: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>
Date: Tue, 3 Oct 2017 17:42:39 -0700

> Hi Dave,
>
> On 10/2/2017 1:30 PM, Santosh Shilimkar wrote:
>> On 10/1/2017 10:56 PM, David Miller wrote:
>>> From: David Miller <davem@xxxxxxxxxxxxx>
> [...]
>
>>>
>>> Actually, reverted, this breaks the build.
>>>
>>> net/rds/rdma_transport.c:38:10: fatal error: ib.h: No such file or
>>> directory
>>>   #include "ib.h"
>>>
>>> Although I can't see how in the world this patch is causing such
>>> an error.
>>>
>> Weird indeed. Will sort this out with Avinash. Thanks Dave.
>>
> I tried few build combinations on net-next but couldn't
> reproduce the build failure. AFAIU, the build error can only
> happen if for some reason the ib.h file got deleted
> accidentally. I did delete ib.h file and saw below error
>
> CC [M] net/rds/rdma_transport.o
> net/rds/rdma_transport.c:38:16: error: ib.h: No such file or directory
>
> Could it be the case for some reason the ib.h file got
> deleted or mangled while applying the $subject patch ?

Please post the patch again, I will try to sort it out.