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]
Date:	Thu, 19 Aug 2010 18:21:15 +0200
From:	Johannes Berg <johannes@...solutions.net>
To:	Randy Dunlap <rdunlap@...otime.net>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kernel-doc: be case insensitive when removing
 attributes

On Thu, 2010-08-19 at 08:57 -0700, Randy Dunlap wrote:
> On Thu, 19 Aug 2010 16:13:42 +0200 Johannes Berg wrote:
> 
> > From: Johannes Berg <johannes.berg@...el.com>
> > 
> > There are valid attributes that could have upper
> > case letters, but we still want to remove, like
> > for example
> > 	__attribute__((aligned(NETDEV_ALIGN)))
> > as encountered in the wireless code.
> > 
> > Signed-off-by: Johannes Berg <johannes.berg@...el.com>
> > ---
> > I thought we did this before? Bit confused now :)
> 
> I have a similar patch, without patch description & signoff,
> so maybe it was from irc.  Oh, and it's in a different script location.

Oh, ok.

> @@ -1426,6 +1426,7 @@ sub dump_struct($$) {
>  	$members =~ s/kmemcheck_bitfield_.*?;//gos;
>  	# strip attributes
>  	$members =~ s/__aligned\s*\(\d+\)//gos;
> +	$members =~ s/__attribute__\s*\(\([a-zA-Z,_()\s\*]*\)\)//gos;
> 
> 
> If yours (below) does what is needed, that's fine with me.

Yes, it removes the warning for me.

johannes


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