From: Daniele Pala <dandario@libero.it>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.5.69-bk4 -- drivers/ide/ppc/pmac.c: 724: In function `pmac_find_ide_boot': incompatible types in return
Date: Sun, 11 May 2003 14:02:32 +0300 [thread overview]
Message-ID: <20030511110232.GA354@libero.it> (raw)
In-Reply-To: <3EBD8ADF.5040803@attbi.com>
I fixed this one by changing the last return value of the function from
return NODEV;
to
return -ENODEV;
I don't know if this is the correct return value but it worked for me...anybody knows if it's the correct fix?
On Sat, May 10, 2003 at 04:27:27PM -0700, Miles Lane wrote:
> gcc -Wp,-MD,drivers/ide/ppc/.pmac.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -Iarch/ppc -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple
> -mstring -fomit-frame-pointer -nostdinc -iwithprefix include
> -Idrivers/ide -DKBUILD_BASENAME=pmac -DKBUILD_MODNAME=pmac -c -o
> drivers/ide/ppc/pmac.o drivers/ide/ppc/pmac.c
> drivers/ide/ppc/pmac.c: In function `pmac_find_ide_boot':
> drivers/ide/ppc/pmac.c:724: incompatible types in return
> make[3]: *** [drivers/ide/ppc/pmac.o] Error 1
>
> CONFIG_BLK_DEV_IDEDISK=y
> CONFIG_BLK_DEV_IDECD=m
> CONFIG_BLK_DEV_IDESCSI=m
>
> #
> # IDE chipset support/bugfixes
> #
> CONFIG_BLK_DEV_IDEPCI=y
> CONFIG_BLK_DEV_GENERIC=y
> CONFIG_IDEPCI_SHARE_IRQ=y
> CONFIG_BLK_DEV_IDEDMA_PCI=y
> CONFIG_IDEDMA_PCI_AUTO=y
> CONFIG_BLK_DEV_IDEDMA=y
> CONFIG_BLK_DEV_ADMA=y
>
> CONFIG_BLK_DEV_IDE_PMAC=y
> CONFIG_BLK_DEV_IDEDMA_PMAC=y
> CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO=y
> CONFIG_IDEDMA_AUTO=y
> # CONFIG_IDEDMA_IVB is not set
> CONFIG_BLK_DEV_IDE_MODES=y
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2003-05-11 14:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-10 23:27 2.5.69-bk4 -- drivers/ide/ppc/pmac.c: 724: In function `pmac_find_ide_boot': incompatible types in return Miles Lane
2003-05-11 11:02 ` Daniele Pala [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030511110232.GA354@libero.it \
--to=dandario@libero.it \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.