Re: [PATCH] CIFS: SMBD: fix configurations with INFINIBAND=m
From: Arnd Bergmann
Date: Wed Dec 20 2017 - 03:17:51 EST
On Tue, Dec 19, 2017 at 10:21 PM, Long Li <longli@xxxxxxxxxxxxx> wrote:
>> depends on CIFS && INFINIBAND
>> + depends on CIFS=m || INFINIBAND=y
>
> How about we change them to
>
> depends on CIFS=m && INFINIBAND || CIFS=y && INFINIBAND=y
>
> This makes it easy to read.
Yes, that seems fine. I would normally group them using () to avoid
any confusion with operator precedence, but your version is
also correct, so just pick the one you like best.
Arnd