Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Avoid bool in structures

Sven Eckelmann
2018-04-25T17:23:21Z

[-- Attachment #1: Type: text/plain, Size: 707 bytes --]

On Donnerstag, 19. April 2018 21:01:07 CEST Sven Eckelmann wrote:
> Using the bool type for structure member is considered inappropriate [1]
> for the kernel. Its size is not well defined (but usually 1 byte but maybe
> also 4 byte).
>
> [1] https://lkml.org/lkml/2017/11/21/384
>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> net/batman-adv/types.h | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

Both patches added as b8f25ee5d426 [1] and 566b52be5f23 [2]

Kind regards,
Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/b8f25ee5d4263d4eab3a66cae338037f1645c427
[2] https://git.open-mesh.org/batman-adv.git/commit/566b52be5f23eb5ffe94dd40f956c9a473129251

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]