public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Let HP iLO driver depend on PCI
@ 2008-07-25  2:20 Heiko Carstens
  2008-07-25  4:56 ` Andrew Morton
  0 siblings, 1 reply; 9+ messages in thread
From: Heiko Carstens @ 2008-07-25  2:20 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Altobelli, Greg Kroah-Hartman, Christian Borntraeger,
	Martin Schwidefsky, linux-kernel

Subject: [PATCH] Let HP iLO driver depend on PCI

From: Heiko Carstens <heiko.carstens@de.ibm.com>

"HP iLO driver" causes this on s390:

drivers/misc/hpilo.c: In function 'doorbell_set':
drivers/misc/hpilo.c:147: error: implicit declaration of function 'iowrite8'
drivers/misc/hpilo.c: In function 'ilo_ccb_close':
drivers/misc/hpilo.c:204: error: implicit declaration of function 'iowrite32'
drivers/misc/hpilo.c:204: error: implicit declaration of function 'ioread32'
drivers/misc/hpilo.c:222: error: implicit declaration of function 'memset_io'
drivers/misc/hpilo.c:225: error: implicit declaration of function 'pci_free_consistent'
drivers/misc/hpilo.c: In function 'ilo_ccb_open':
drivers/misc/hpilo.c:244: error: implicit declaration of function 'pci_alloc_consistent'
drivers/misc/hpilo.c:245: warning: assignment makes pointer from integer without a cast
drivers/misc/hpilo.c:296: error: implicit declaration of function 'memcpy_toio'
drivers/misc/hpilo.c: In function 'ilo_unmap_device':
drivers/misc/hpilo.c:575: error: implicit declaration of function 'pci_iounmap'
drivers/misc/hpilo.c: In function 'ilo_map_device':
drivers/misc/hpilo.c:585: error: implicit declaration of function 'pci_iomap'
drivers/misc/hpilo.c:585: warning: assignment makes pointer from integer without a cast
drivers/misc/hpilo.c:592: warning: assignment makes pointer from integer without a cast
drivers/misc/hpilo.c:599: warning: assignment makes pointer from integer without a cast
make[2]: *** [drivers/misc/hpilo.o] Error 1

Just let it depend on PCI.

Cc: David Altobelli <david.altobelli@hp.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---

Sent already two weeks ago to Greg because it caused the same
build bug on linux-next.

 drivers/misc/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/drivers/misc/Kconfig
===================================================================
--- linux-2.6.orig/drivers/misc/Kconfig
+++ linux-2.6/drivers/misc/Kconfig
@@ -425,6 +425,7 @@ config SGI_XP
 config HP_ILO
 	tristate "Channel interface driver for HP iLO/iLO2 processor"
 	default n
+	depends on PCI
 	help
 	  The channel interface driver allows applications to communicate
 	  with iLO/iLO2 management processors present on HP ProLiant

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  2:20 [PATCH] Let HP iLO driver depend on PCI Heiko Carstens
@ 2008-07-25  4:56 ` Andrew Morton
  2008-07-25  5:35   ` Stephen Rothwell
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Morton @ 2008-07-25  4:56 UTC (permalink / raw)
  To: Heiko Carstens
  Cc: David Altobelli, Greg Kroah-Hartman, Christian Borntraeger,
	Martin Schwidefsky, linux-kernel

On Fri, 25 Jul 2008 04:20:48 +0200 Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> Subject: [PATCH] Let HP iLO driver depend on PCI
> 
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
> 
> "HP iLO driver" causes this on s390:
> 
> drivers/misc/hpilo.c: In function 'doorbell_set':
> drivers/misc/hpilo.c:147: error: implicit declaration of function 'iowrite8'
> drivers/misc/hpilo.c: In function 'ilo_ccb_close':
> drivers/misc/hpilo.c:204: error: implicit declaration of function 'iowrite32'
> drivers/misc/hpilo.c:204: error: implicit declaration of function 'ioread32'
> drivers/misc/hpilo.c:222: error: implicit declaration of function 'memset_io'
> drivers/misc/hpilo.c:225: error: implicit declaration of function 'pci_free_consistent'
> drivers/misc/hpilo.c: In function 'ilo_ccb_open':
> drivers/misc/hpilo.c:244: error: implicit declaration of function 'pci_alloc_consistent'
> drivers/misc/hpilo.c:245: warning: assignment makes pointer from integer without a cast
> drivers/misc/hpilo.c:296: error: implicit declaration of function 'memcpy_toio'
> drivers/misc/hpilo.c: In function 'ilo_unmap_device':
> drivers/misc/hpilo.c:575: error: implicit declaration of function 'pci_iounmap'
> drivers/misc/hpilo.c: In function 'ilo_map_device':
> drivers/misc/hpilo.c:585: error: implicit declaration of function 'pci_iomap'
> drivers/misc/hpilo.c:585: warning: assignment makes pointer from integer without a cast
> drivers/misc/hpilo.c:592: warning: assignment makes pointer from integer without a cast
> drivers/misc/hpilo.c:599: warning: assignment makes pointer from integer without a cast
> make[2]: *** [drivers/misc/hpilo.o] Error 1
> 
> Just let it depend on PCI.

Yeah, I already queued up the same patch as
drivers-misc-hpiloc-needs-config_pci.patch

Three weeks and nobody did an allmodconfig build on linux-next for s390
or m68k (at least).


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  4:56 ` Andrew Morton
@ 2008-07-25  5:35   ` Stephen Rothwell
  2008-07-25  6:15     ` Andrew Morton
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2008-07-25  5:35 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Heiko Carstens, David Altobelli, Greg Kroah-Hartman,
	Christian Borntraeger, Martin Schwidefsky, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

Hi Andrew,

On Thu, 24 Jul 2008 21:56:52 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
>
> Three weeks and nobody did an allmodconfig build on linux-next for s390
> or m68k (at least).

http://kisskb.ellerman.id.au/kisskb/branch/9/

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  5:35   ` Stephen Rothwell
@ 2008-07-25  6:15     ` Andrew Morton
  2008-07-25  7:13       ` Stephen Rothwell
  2008-07-25  9:41       ` Heiko Carstens
  0 siblings, 2 replies; 9+ messages in thread
From: Andrew Morton @ 2008-07-25  6:15 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Heiko Carstens, David Altobelli, Greg Kroah-Hartman,
	Christian Borntraeger, Martin Schwidefsky, linux-kernel

On Fri, 25 Jul 2008 15:35:02 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Andrew,
> 
> On Thu, 24 Jul 2008 21:56:52 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > Three weeks and nobody did an allmodconfig build on linux-next for s390
> > or m68k (at least).
> 
> http://kisskb.ellerman.id.au/kisskb/branch/9/
> 

Wow, lots of red.

May I revise my comment?  Three weeks and nobody did anything about the
failing allmodconfig builds on linux-next and s390 (at least).

Is anyone actively monitoring that page and doing the requisite culprit-poking?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  6:15     ` Andrew Morton
@ 2008-07-25  7:13       ` Stephen Rothwell
  2008-07-25  9:41       ` Heiko Carstens
  1 sibling, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2008-07-25  7:13 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Heiko Carstens, David Altobelli, Greg Kroah-Hartman,
	Christian Borntraeger, Martin Schwidefsky, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

Hi Andrew,

On Thu, 24 Jul 2008 23:15:19 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
>
> Wow, lots of red.

Yeah :-(

> May I revise my comment?  Three weeks and nobody did anything about the
> failing allmodconfig builds on linux-next and s390 (at least).
> 
> Is anyone actively monitoring that page and doing the requisite culprit-poking?

I should do more - I do most days look for new things.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  6:15     ` Andrew Morton
  2008-07-25  7:13       ` Stephen Rothwell
@ 2008-07-25  9:41       ` Heiko Carstens
  2008-07-25  9:54         ` Andrew Morton
  1 sibling, 1 reply; 9+ messages in thread
From: Heiko Carstens @ 2008-07-25  9:41 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Stephen Rothwell, David Altobelli, Greg Kroah-Hartman,
	Christian Borntraeger, Martin Schwidefsky, linux-kernel

On Thu, Jul 24, 2008 at 11:15:19PM -0700, Andrew Morton wrote:
> On Fri, 25 Jul 2008 15:35:02 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> > Hi Andrew,
> > 
> > On Thu, 24 Jul 2008 21:56:52 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> > >
> > > Three weeks and nobody did an allmodconfig build on linux-next for s390
> > > or m68k (at least).
> > 
> > http://kisskb.ellerman.id.au/kisskb/branch/9/
> > 
> 
> Wow, lots of red.
> 
> May I revise my comment?  Three weeks and nobody did anything about the
> failing allmodconfig builds on linux-next and s390 (at least).

Not true. I sent patches for all (s390) build failures two weeks ago.
Nobody cared. Patch for this specific build failure is available
here http://marc.info/?l=linux-next&m=121577361309086&w=2 .

> Is anyone actively monitoring that page and doing the requisite culprit-poking?

Where to send patches to? And who takes care they get integrated before
the merge window opens?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  9:41       ` Heiko Carstens
@ 2008-07-25  9:54         ` Andrew Morton
  2008-07-25 10:30           ` Heiko Carstens
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Morton @ 2008-07-25  9:54 UTC (permalink / raw)
  To: Heiko Carstens
  Cc: Stephen Rothwell, David Altobelli, Greg Kroah-Hartman,
	Christian Borntraeger, Martin Schwidefsky, linux-kernel

On Fri, 25 Jul 2008 11:41:31 +0200 Heiko Carstens <heiko.carstens@de.ibm.com> wrote:

> On Thu, Jul 24, 2008 at 11:15:19PM -0700, Andrew Morton wrote:
> > On Fri, 25 Jul 2008 15:35:02 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > 
> > > Hi Andrew,
> > > 
> > > On Thu, 24 Jul 2008 21:56:52 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
> > > >
> > > > Three weeks and nobody did an allmodconfig build on linux-next for s390
> > > > or m68k (at least).
> > > 
> > > http://kisskb.ellerman.id.au/kisskb/branch/9/
> > > 
> > 
> > Wow, lots of red.
> > 
> > May I revise my comment?  Three weeks and nobody did anything about the
> > failing allmodconfig builds on linux-next and s390 (at least).
> 
> Not true. I sent patches for all (s390) build failures two weeks ago.
> Nobody cared. Patch for this specific build failure is available
> here http://marc.info/?l=linux-next&m=121577361309086&w=2 .

I doubt if the hpilo developers are watching linux-next for patches.

Stephen will have seen it and he might play the
feed-it-over-to-the-culprit game.  But usually I do that.

It's always appreciated if the patch-creator can identify the
appropriate individuals for the Cc: as well.

> > Is anyone actively monitoring that page and doing the requisite culprit-poking?
> 
> Where to send patches to?

Me, lkml, Stephen, maintainer(s).

> And who takes care they get integrated before
> the merge window opens?

Usually me.  Maintainers will sometimes integrate the fix directly but
the success rate via that route is distressingly low.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25  9:54         ` Andrew Morton
@ 2008-07-25 10:30           ` Heiko Carstens
  2008-07-25 13:46             ` Altobelli, David
  0 siblings, 1 reply; 9+ messages in thread
From: Heiko Carstens @ 2008-07-25 10:30 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Stephen Rothwell, David Altobelli, Greg Kroah-Hartman,
	Christian Borntraeger, Martin Schwidefsky, linux-kernel

> > > > > Three weeks and nobody did an allmodconfig build on linux-next for s390
> > > > > or m68k (at least).
> > > > 
> > > > http://kisskb.ellerman.id.au/kisskb/branch/9/
> > > > 
> > > 
> > > Wow, lots of red.
> > > 
> > > May I revise my comment?  Three weeks and nobody did anything about the
> > > failing allmodconfig builds on linux-next and s390 (at least).
> > 
> > Not true. I sent patches for all (s390) build failures two weeks ago.
> > Nobody cared. Patch for this specific build failure is available
> > here http://marc.info/?l=linux-next&m=121577361309086&w=2 .
> 
> I doubt if the hpilo developers are watching linux-next for patches.

That's why I cc'ed them back then.

> > > Is anyone actively monitoring that page and doing the requisite culprit-poking?
> > 
> > Where to send patches to?
> 
> Me, lkml, Stephen, maintainer(s).
> 
> > And who takes care they get integrated before
> > the merge window opens?
> 
> Usually me.  Maintainers will sometimes integrate the fix directly but
> the success rate via that route is distressingly low.

Ok, wasn't sure about where to send patches against linux-next to.
Will do next time.

Thanks,
Heiko

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [PATCH] Let HP iLO driver depend on PCI
  2008-07-25 10:30           ` Heiko Carstens
@ 2008-07-25 13:46             ` Altobelli, David
  0 siblings, 0 replies; 9+ messages in thread
From: Altobelli, David @ 2008-07-25 13:46 UTC (permalink / raw)
  To: Heiko Carstens, Andrew Morton
  Cc: Stephen Rothwell, Greg Kroah-Hartman, Christian Borntraeger,
	Martin Schwidefsky, linux-kernel@vger.kernel.org

Heiko Carstens wrote:
>>
>> I doubt if the hpilo developers are watching linux-next for patches.
>
> That's why I cc'ed them back then.
>

Other than not make this mistake, is there anything I could have
done to help this process along?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-25 13:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25  2:20 [PATCH] Let HP iLO driver depend on PCI Heiko Carstens
2008-07-25  4:56 ` Andrew Morton
2008-07-25  5:35   ` Stephen Rothwell
2008-07-25  6:15     ` Andrew Morton
2008-07-25  7:13       ` Stephen Rothwell
2008-07-25  9:41       ` Heiko Carstens
2008-07-25  9:54         ` Andrew Morton
2008-07-25 10:30           ` Heiko Carstens
2008-07-25 13:46             ` Altobelli, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox