mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Miles Lane <miles@megapathdsl.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.3-pre3 -- aironet4500_core.c:2839:  In function `awc_init': incompatible types in return
Date: Wed, 23 Jan 2002 10:45:50 +0300	[thread overview]
Message-ID: <20020123104550.16b160b0.johnpol@2ka.mipt.ru> (raw)
In-Reply-To: <1011771248.24309.60.camel@stomata.megapathdsl.net>
In-Reply-To: <1011771248.24309.60.camel@stomata.megapathdsl.net>

On 22 Jan 2002 23:34:08 -0800
Miles Lane <miles@megapathdsl.net> wrote:

> 
> make[2]: Entering directory `/usr/src/linux/drivers/net'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon  -DMODULE  
> -DEXPORT_SYMTAB -c aironet4500_core.c aironet4500_core.c: In function
> `awc_init': aironet4500_core.c:2839: incompatible types in return
> aironet4500_core.c:2841: warning: control reaches end of non-void
> function make[2]: *** [aironet4500_core.o] Error 1

Try this patch, but it is given WITHOUT ANY WARRANTY.
I even cann't test to compile it.
And there is not ieee card here.
So, it was wrote with luck and common sense.
I hope it will help you.

P.S. If this is full bullshit... then i apologize and go learning Linux
kernel again...

--- ./drivers/net/aironet4500_core.c~   Sun Sep 30 23:26:06 2001
+++ ./drivers/net/aironet4500_core.c    Wed Jan 23 10:44:03 2002
@@ -2836,7 +2836,7 @@
        return 0; 
    final:
        printk(KERN_ERR "aironet init failed \n");
-       return NODEV;
+       return -1;
        
  };


	Evgeniy Polyakov ( s0mbre ).

  reply	other threads:[~2002-01-23  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23  7:34 Miles Lane
2002-01-23  7:45 ` Evgeniy Polyakov [this message]
2002-01-23 13:00   ` Dave Jones
2002-01-25  2:57     ` Evgeniy Polyakov
2002-01-23 18:02   ` Evgeniy Polyakov

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=20020123104550.16b160b0.johnpol@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles@megapathdsl.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®