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] [thread-next>] [day] [month] [year] [list]
Message-ID: <531A719C.19855.32E9C505@pageexec.freemail.hu>
Date:	Sat, 08 Mar 2014 02:25:48 +0100
From:	"PaX Team" <pageexec@...email.hu>
To:	khali@...ux-fr.org, rostedt@...dmis.org,
	Behan Webster <behanw@...verseincode.com>
CC:	rusty@...tcorp.com.au, linux-kernel@...r.kernel.org,
	dwmw2@...radead.org, Mark Charlebois <charlebm@...il.com>
Subject: Re: [PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

On 7 Mar 2014 at 16:52, Behan Webster wrote:

> On 03/07/14 14:56, PaX Team wrote:
> > why can't you have the attr on the definition itself:
> >
> > static inline __unused type *__check_##name(void) { return(p); }
> >
> >
> >
> "__unused" isn't defined anywhere I can find, except in:
> 
> src/linux/drivers/net/ethernet/amd/declance.c:#define __unused 
> __attribute__ ((unused))

oh i forgot about that, you'd of course place this #define
into the appropriate compiler*.h files so that other code
can make use of it in the future as well ;).

--
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