[B.A.T.M.A.N.] [PATCH 03/10] batman-adv: Make DAT capability changes atomic
antonio at meshcoding.com
Fri Aug 14 22:49:03 CEST 2015
On 11/08/15 21:36, Sergei Shtylyov wrote:
>> /* check if orig node candidate is running DAT */
>> - if (!(candidate->capabilities & BATADV_ORIG_CAPA_HAS_DAT))
>> + if (!(test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)))
> () around the tst_bit() call not needed.
Thanks for the hint Sergei. Even if I don't remember having seen any
complaint from checkpatch.pl about this.
I'll resend the pull request with this fixed patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the B.A.T.M.A.N