From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: [BUILD FAILURE 05/12] Next April 21 : PPC64 randconfig [drivers/macintosh/mediabay.o] Date: Wed, 22 Apr 2009 11:34:17 +0200 Message-ID: <200904221134.18163.bzolnier@gmail.com> References: <1240339875.9110.137.camel@subratamodak.linux.ibm.com> <200904212104.14665.bzolnier@gmail.com> <18926.38431.910952.630575@cargo.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from wa-out-1112.google.com ([209.85.146.183]:9292 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016AbZDVJag (ORCPT ); Wed, 22 Apr 2009 05:30:36 -0400 In-Reply-To: <18926.38431.910952.630575@cargo.ozlabs.ibm.com> Content-Disposition: inline Sender: linux-next-owner@vger.kernel.org List-ID: To: Paul Mackerras Cc: subrata@linux.vnet.ibm.com, Linuxppc-dev , Benjamin Herrenschmidt , Stefan Bader , Marcelo Tosatti , Adrian Bunk , Stephen Rothwell , linux-next , sachinp , linux-kernel , Alexander Beregalov On Wednesday 22 April 2009 05:59:27 Paul Mackerras wrote: > Bartlomiej Zolnierkiewicz writes: > > > mediabay shouldn't include unconditionally so > > remove the superfluous include from mediabay.c ( > > will pull in for CONFIG_BLK_DEV_IDE_PMAC=y). > > I don't like relying on second-hand imports like that. I prefer the > previous patch, that made mediabay depend on CONFIG_BLOCK. I missed it somehow... OK, I found it now and it should fix the problem as well. > BTW, if including causes an error when CONFIG_BLOCK=n, > then there is a bug in , IMO. is for drivers/ide only. mediabay lacks proper abstraction layer and is probably the only abuser left. Besides being a build fix my patch is a right step in cleaning this mess so I'm going to apply it through ide tree. Thanks, Bart