[B.A.T.M.A.N.] [PATCH] batman-adv: Use kernel facilities for bit operations

Marek Lindner lindner_marek at yahoo.de
Sun Dec 12 20:29:46 CET 2010


On Wednesday 01 December 2010 20:59:07 Sven Eckelmann wrote:
> set_bit and test_bit provide an efficient way to set and test bits of an
> unsigned long.

Since test_bit() / set_bit() expect 32Bit values we should at least add a 
comment next to TYPE_OF_WORD, so that nobody changes this define ?!

Cheers,
Marek


More information about the B.A.T.M.A.N mailing list