[PATCH] CIFS: SMBD: fix configurations with INFINIBAND=m

Arnd Bergmann arnd at arndb.de
Wed Dec 20 08:17:43 UTC 2017


On Tue, Dec 19, 2017 at 10:21 PM, Long Li <longli at microsoft.com> 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



More information about the samba-technical mailing list