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

From: Santosh Shilimkar
Date: Tue Oct 03 2017 - 20:42:17 EST


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 ?

Regards,
Santosh