* [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
@ 2011-05-24 5:40 Justin P. Mattock
2011-05-24 5:45 ` Eric Dumazet
2011-05-24 6:21 ` David Miller
0 siblings, 2 replies; 5+ messages in thread
From: Justin P. Mattock @ 2011-05-24 5:40 UTC (permalink / raw)
To: netdev
Cc: linux-kernel, Justin P. Mattock, Joe Perches, David S. Miller,
Ben Greear
The below patch removes vlan_buggyright and vlan_copyright from vlan_proto_init,
so that it prints out just the fullname of vlan and the version number.
before:
[ 30.438203] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 30.441542] All bugs added by David S. Miller <davem@redhat.com>
after:
[ 31.513910] 802.1Q VLAN Support v1.8
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
CC: Joe Perches <joe@perches.com>
CC: David S. Miller <davem@davemloft.net>
CC: Ben Greear <greearb@candelatech.com>
---
net/8021q/vlan.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index b2274d1..9df3fcb 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -673,8 +673,7 @@ static int __init vlan_proto_init(void)
{
int err;
- pr_info("%s v%s %s\n", vlan_fullname, vlan_version, vlan_copyright);
- pr_info("All bugs added by %s\n", vlan_buggyright);
+ pr_info("%s v%s\n", vlan_fullname, vlan_version);
err = register_pernet_subsys(&vlan_net_ops);
if (err < 0)
--
1.7.5.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
2011-05-24 5:40 [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version Justin P. Mattock
@ 2011-05-24 5:45 ` Eric Dumazet
2011-05-24 5:54 ` Joe Perches
2011-05-24 6:21 ` David Miller
1 sibling, 1 reply; 5+ messages in thread
From: Eric Dumazet @ 2011-05-24 5:45 UTC (permalink / raw)
To: Justin P. Mattock
Cc: netdev, linux-kernel, Joe Perches, David S. Miller, Ben Greear
Le lundi 23 mai 2011 à 22:40 -0700, Justin P. Mattock a écrit :
> The below patch removes vlan_buggyright and vlan_copyright from vlan_proto_init,
> so that it prints out just the fullname of vlan and the version number.
>
> before:
>
> [ 30.438203] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
> [ 30.441542] All bugs added by David S. Miller <davem@redhat.com>
>
> after:
>
> [ 31.513910] 802.1Q VLAN Support v1.8
>
> Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
> CC: Joe Perches <joe@perches.com>
> CC: David S. Miller <davem@davemloft.net>
> CC: Ben Greear <greearb@candelatech.com>
> ---
> net/8021q/vlan.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
> index b2274d1..9df3fcb 100644
> --- a/net/8021q/vlan.c
> +++ b/net/8021q/vlan.c
> @@ -673,8 +673,7 @@ static int __init vlan_proto_init(void)
> {
> int err;
>
> - pr_info("%s v%s %s\n", vlan_fullname, vlan_version, vlan_copyright);
> - pr_info("All bugs added by %s\n", vlan_buggyright);
> + pr_info("%s v%s\n", vlan_fullname, vlan_version);
>
> err = register_pernet_subsys(&vlan_net_ops);
> if (err < 0)
This reminds me a discussion with Harald Welte in netfilter workshop
2010.
Sometime these strings help lot guys working to fight GPL violations.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
2011-05-24 5:45 ` Eric Dumazet
@ 2011-05-24 5:54 ` Joe Perches
0 siblings, 0 replies; 5+ messages in thread
From: Joe Perches @ 2011-05-24 5:54 UTC (permalink / raw)
To: Eric Dumazet
Cc: Justin P. Mattock, netdev, linux-kernel, David S. Miller,
Ben Greear
On Tue, 2011-05-24 at 07:45 +0200, Eric Dumazet wrote:
> Le lundi 23 mai 2011 à 22:40 -0700, Justin P. Mattock a écrit :
> > The below patch removes vlan_buggyright and vlan_copyright from vlan_proto_init,
> > so that it prints out just the fullname of vlan and the version number.
[]
> > diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
> > - pr_info("%s v%s %s\n", vlan_fullname, vlan_version, vlan_copyright);
> > - pr_info("All bugs added by %s\n", vlan_buggyright);
> > + pr_info("%s v%s\n", vlan_fullname, vlan_version);
> >
> > err = register_pernet_subsys(&vlan_net_ops);
> > if (err < 0)
> This reminds me a discussion with Harald Welte in netfilter workshop
> 2010.
> Sometime these strings help lot guys working to fight GPL violations.
How so?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
2011-05-24 5:40 [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version Justin P. Mattock
2011-05-24 5:45 ` Eric Dumazet
@ 2011-05-24 6:21 ` David Miller
2011-05-24 6:45 ` Justin P. Mattock
1 sibling, 1 reply; 5+ messages in thread
From: David Miller @ 2011-05-24 6:21 UTC (permalink / raw)
To: justinmattock; +Cc: netdev, linux-kernel, joe, greearb
From: "Justin P. Mattock" <justinmattock@gmail.com>
Date: Mon, 23 May 2011 22:40:47 -0700
> The below patch removes vlan_buggyright and vlan_copyright from vlan_proto_init,
> so that it prints out just the fullname of vlan and the version number.
Come on Justin, you're making various strings now completely
unreferenced. Don't just leave them there, remove them.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
2011-05-24 6:21 ` David Miller
@ 2011-05-24 6:45 ` Justin P. Mattock
0 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2011-05-24 6:45 UTC (permalink / raw)
To: David Miller; +Cc: netdev, linux-kernel, joe, greearb
On 05/23/2011 11:21 PM, David Miller wrote:
> From: "Justin P. Mattock"<justinmattock@gmail.com>
> Date: Mon, 23 May 2011 22:40:47 -0700
>
>> The below patch removes vlan_buggyright and vlan_copyright from vlan_proto_init,
>> so that it prints out just the fullname of vlan and the version number.
>
> Come on Justin, you're making various strings now completely
> unreferenced. Don't just leave them there, remove them.
>
ah.. I did think, but was warry about removing them. resent with the
references removed(hopefully).
Justin P. Mattock
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-05-24 6:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-24 5:40 [PATCH v2]net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version Justin P. Mattock
2011-05-24 5:45 ` Eric Dumazet
2011-05-24 5:54 ` Joe Perches
2011-05-24 6:21 ` David Miller
2011-05-24 6:45 ` Justin P. Mattock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).