lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181018.154127.945780492391744369.davem@davemloft.net>
Date:   Thu, 18 Oct 2018 15:41:27 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     natechancellor@...il.com
Cc:     3chas3@...il.com, linux-atm-general@...ts.sourceforge.net,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] atm: eni: Move semicolon to a new line after empty for
 loop

From: Nathan Chancellor <natechancellor@...il.com>
Date: Wed, 17 Oct 2018 11:03:34 -0700

> Clang warns:
> 
> drivers/atm/eni.c:244:48: error: for loop has empty body
> [-Werror,-Wempty-body]
>         for (order = 0; (1 << order) < *size; order++);
>                                                       ^
> drivers/atm/eni.c:244:48: note: put the semicolon on a separate line to
> silence this warning
> 
> In this case, that loop is expected to be empty so silence the warning
> in the way that Clang suggests.
> 
> Link: https://github.com/ClangBuiltLinux/linux/issues/42
> Suggested-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> Signed-off-by: Nathan Chancellor <natechancellor@...il.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ