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  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]
Date:	Wed, 18 Jul 2007 15:49:50 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	joe@...ches.com
Cc:	Robert.Olsson@...a.slu.se, netdev@...r.kernel.org
Subject: Re: [PATCH] pktgen - define and use pktgen_dbg,err,warn,info

From: Joe Perches <joe@...ches.com>
Date: Wed, 18 Jul 2007 15:14:13 -0700

> -#define VERSION  "pktgen v2.68: Packet Generator for packet performance testing.\n"
> +#define PKTGEN_NAME    "pktgen"
> +#define PKTGEN_VERSION "v2.68"
> +#define PKTGEN_DESC    "Packet Generator for packet performance testing"
> +#define PKTGEN_FULLINFO PKTGEN_NAME " " PKTGEN_VERSION ": " PKTGEN_DESC ".\n"
 ...

> -static char version[] __initdata = VERSION;
> -

Using PKTGEN_FULLINFO explicitly won't get that string into the
__initdata section as the version[] will, that's why people do it that
way with the explicit version[] array.

Please put it back, assign PKTGEN_FULLINFO to it, and use it.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists