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: <yw1xtwzbb4r1.fsf@unicorn.mansr.com>
Date:	Wed, 28 Jan 2015 10:04:34 +0000
From:	Måns Rullgård <mans@...sr.com>
To:	Behan Webster <behanw@...verseincode.com>
Cc:	torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
	Arnd Bergmann <arnd@...db.de>,
	"Christopher Li" <sparse@...isli.org>
Subject: Re: [PATCH] Mark inline functions as __maybe_unused

Behan Webster <behanw@...verseincode.com> writes:

> clang warns if inline functions aren't used. By making them __maybe_unused
> there is no warning for either gcc nor clang.

Are you sure about that?  I've never seen such behaviour from clang (or
any other compiler), and it would truly be idiotic.  If clang has taken
to warning about unused inline functions, that's a regression that needs
to be addressed in clang, not the kernel.

-- 
Måns Rullgård
mans@...sr.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ