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

From: David Miller
Date: Mon Oct 02 2017 - 01:57:01 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Sun, 01 Oct 2017 22:54:19 -0700 (PDT)

> From: Avinash Repaka <avinash.repaka@xxxxxxxxxx>
> Date: Fri, 29 Sep 2017 18:13:50 -0700
>
>> This patch fixes the scope of has_fr and has_fmr variables as they are
>> needed only in rds_ib_add_one().
>>
>> Signed-off-by: Avinash Repaka <avinash.repaka@xxxxxxxxxx>
>
> Applied.

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.