Help!

-git: Why is drivers/net/wan/hdlc_generic.c:hdlc_setup() e..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Kernel (archive) RSS
Next:  [PATCH] Fix NFS compilation in -git9  
Author Message
Adrian Bunk
External


Since: Nov 08, 2004
Posts: 2170



PostPosted: Sun Jun 25, 2006 11:00 pm    Post subject: -git: Why is drivers/net/wan/hdlc_generic.c:hdlc_setup() exported?
Archived from groups: linux>kernel (more info?)

Commit 4a31e348e3ecaf54c50240109ac4574b180f8840 added an
EXPORT_SYMBOL(hdlc_setup) with the justification
hdlc_setup() is now EXPORTed as per David's request.

Is a usage of this export pending for the near future or could this
export be reverted until a user is submitted for inclusion?

TIA
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Krzysztof Halasa
External


Since: Jun 06, 2006
Posts: 221



PostPosted: Mon Jun 26, 2006 9:30 pm    Post subject: Re: -git: Why is drivers/net/wan/hdlc_generic.c:hdlc_setup() exported? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Adrian Bunk <bunk.TakeThisOut@stusta.de> writes:

> hdlc_setup() is now EXPORTed as per David's request.
>
> Is a usage of this export pending for the near future

I'm told it is.
--
Krzysztof Halasa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Adrian Bunk
External


Since: Nov 08, 2004
Posts: 2170



PostPosted: Sat Nov 25, 2006 8:20 pm    Post subject: [2.6 patch] make hdlc_setup() static again [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Jun 26, 2006 at 09:28:14PM +0200, Krzysztof Halasa wrote:
> Adrian Bunk <bunk DeleteThis @stusta.de> writes:
>
> > hdlc_setup() is now EXPORTed as per David's request.
> >
> > Is a usage of this export pending for the near future
>
> I'm told it is.

It's still not used...

So let's unexport it again until some driver that actually uses it shows up.

> Krzysztof Halasa

cu
Adrian


<-- snip -->


hdlc_setup was exported, but this export was never used.

If adriver using it actually shows up it can still be exported again.

Signed-off-by: Adrian Bunk <bunk DeleteThis @stusta.de>

--- linux-2.6.19-rc6-mm1/drivers/net/wan/hdlc.c.old 2006-11-25 00:16:13.000000000 +0100
+++ linux-2.6.19-rc6-mm1/drivers/net/wan/hdlc.c 2006-11-25 00:16:26.000000000 +0100
@@ -222,7 +222,7 @@
return -EINVAL;
}

-void hdlc_setup(struct net_device *dev)
+static void hdlc_setup(struct net_device *dev)
{
hdlc_device *hdlc = dev_to_hdlc(dev);

@@ -325,7 +325,6 @@
EXPORT_SYMBOL(hdlc_open);
EXPORT_SYMBOL(hdlc_close);
EXPORT_SYMBOL(hdlc_ioctl);
-EXPORT_SYMBOL(hdlc_setup);
EXPORT_SYMBOL(alloc_hdlcdev);
EXPORT_SYMBOL(unregister_hdlc_device);
EXPORT_SYMBOL(register_hdlc_protocol);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo DeleteThis @vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Krzysztof Halasa
External


Since: Jun 06, 2006
Posts: 221



PostPosted: Sun Nov 26, 2006 8:30 pm    Post subject: Re: [2.6 patch] make hdlc_setup() static again [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Adrian Bunk <bunk.TakeThisOut@stusta.de> writes:

> It's still not used...
>
> So let's unexport it again until some driver that actually uses it shows up.

Fair enough.
--
Krzysztof Halasa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Kernel (archive) All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum