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: <7d85ae3a-28d3-4267-9182-6e799ba8ae0a@lunn.ch>
Date: Mon, 29 Jul 2024 15:00:41 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Markus Elfring <Markus.Elfring@....de>
Cc: Justin Lai <justinlai0215@...ltek.com>, netdev@...r.kernel.org,
	Jakub Kicinski <kuba@...nel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>, Jiri Pirko <jiri@...nulli.us>,
	Joe Damato <jdamato@...tly.com>,
	Larry Chiu <larry.chiu@...ltek.com>,
	Paolo Abeni <pabeni@...hat.com>, Ping-Ke Shih <pkshih@...ltek.com>,
	Ratheesh Kannoth <rkannoth@...vell.com>,
	Simon Horman <horms@...nel.org>
Subject: Re: [PATCH net-next v25 01/13] rtase: Add support for a pci table in
 this module

On Mon, Jul 29, 2024 at 11:33:22AM +0200, Markus Elfring wrote:
> …
> > +++ b/drivers/net/ethernet/realtek/rtase/rtase.h
> > @@ -0,0 +1,338 @@
> …
> > +#ifndef _RTASE_H_
> > +#define _RTASE_H_
> …
> 
> I suggest to omit leading underscores from such identifiers.
> https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

Do you have a reference to a Linux kernel document which suggests not
to do this?

My grep foo is not great, but there appears to be around 20,000
instances of #define _[A-Z] in the kernel. So i doubt adding a couple
more is going to be an issue.

	Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ