Re: [Kernel-discuss] Re: [PATCH 1/8] remove "#if 0" from find_bus function, export it.

2007-05-04 Thread Paul Sokolovsky
Hello Greg, Friday, May 4, 2007, 2:14:59 AM, you wrote: > On Fri, May 04, 2007 at 01:31:21AM +0400, Anton Vorontsov wrote: >> This function were placed in "#if 0" because nobody was using it. >> We using it now. > Why? Shouldn't you just export the pointer you need instead? >> See

Re: [Kernel-discuss] Re: [PATCH 1/8] remove #if 0 from find_bus function, export it.

2007-05-04 Thread Paul Sokolovsky
Hello Greg, Friday, May 4, 2007, 2:14:59 AM, you wrote: On Fri, May 04, 2007 at 01:31:21AM +0400, Anton Vorontsov wrote: This function were placed in #if 0 because nobody was using it. We using it now. Why? Shouldn't you just export the pointer you need instead? See

Re: [PATCH 1/8] remove "#if 0" from find_bus function, export it.

2007-05-03 Thread Anton Vorontsov
On Thu, May 03, 2007 at 04:14:59PM -0700, Greg KH wrote: > On Fri, May 04, 2007 at 01:31:21AM +0400, Anton Vorontsov wrote: > > This function were placed in "#if 0" because nobody was using it. > > We using it now. > > Why? Shouldn't you just export the pointer you need instead? We can do one

Re: [PATCH 1/8] remove "#if 0" from find_bus function, export it.

2007-05-03 Thread Greg KH
On Fri, May 04, 2007 at 01:31:21AM +0400, Anton Vorontsov wrote: > This function were placed in "#if 0" because nobody was using it. > We using it now. Why? Shouldn't you just export the pointer you need instead? > See http://lwn.net/Articles/210610/ I don't understand the need for this link,

[PATCH 1/8] remove "#if 0" from find_bus function, export it.

2007-05-03 Thread Anton Vorontsov
This function were placed in "#if 0" because nobody was using it. We using it now. See http://lwn.net/Articles/210610/ Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/base/bus.c |5 ++--- include/linux/device.h |2 ++ 2 files changed, 4 insertions(+), 3 deletions(-)

[PATCH 1/8] remove #if 0 from find_bus function, export it.

2007-05-03 Thread Anton Vorontsov
This function were placed in #if 0 because nobody was using it. We using it now. See http://lwn.net/Articles/210610/ Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/base/bus.c |5 ++--- include/linux/device.h |2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff

Re: [PATCH 1/8] remove #if 0 from find_bus function, export it.

2007-05-03 Thread Greg KH
On Fri, May 04, 2007 at 01:31:21AM +0400, Anton Vorontsov wrote: This function were placed in #if 0 because nobody was using it. We using it now. Why? Shouldn't you just export the pointer you need instead? See http://lwn.net/Articles/210610/ I don't understand the need for this link, it

Re: [PATCH 1/8] remove #if 0 from find_bus function, export it.

2007-05-03 Thread Anton Vorontsov
On Thu, May 03, 2007 at 04:14:59PM -0700, Greg KH wrote: On Fri, May 04, 2007 at 01:31:21AM +0400, Anton Vorontsov wrote: This function were placed in #if 0 because nobody was using it. We using it now. Why? Shouldn't you just export the pointer you need instead? We can do one way or