mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Adam J. Richter" <adam@yggdrasil.com>
To: elmer@ylenurme.ee, linux-kernel@vger.kernel.org
Subject: Patch: linux-2.5.2-pre8/drivers/net/aironet4500_core.c tried to return NODEV, should be -ENODEV
Date: Sat, 5 Jan 2002 03:03:37 -0800	[thread overview]
Message-ID: <20020105030337.A23630@baldur.yggdrasil.com> (raw)

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


	linux-2.5.2-pre8/drivers/net/aironet4500_core.c
contains contains a routine that tried to return NODEV as
an error code where the author's intention was apparently
-ENODEV.  That is the second error of this type that the
change in kdev_t has exposed (the other one was in
drivers/isdn/sc/command.c).

	Here is the patch.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

[-- Attachment #2: aeronet.diff --]
[-- Type: text/plain, Size: 339 bytes --]

--- linux-2.5.2-pre8/drivers/net/aironet4500_core.c	Sun Sep 30 12:26:06 2001
+++ linux/drivers/net/aironet4500_core.c	Sat Jan  5 02:57:16 2002
@@ -2836,8 +2836,7 @@
  	return 0; 
    final:
    	printk(KERN_ERR "aironet init failed \n");
-   	return NODEV;
-   	
+   	return -ENODEV;
  };
 
 int awc_private_init(struct net_device * dev){

                 reply	other threads:[~2002-01-05 11:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020105030337.A23630@baldur.yggdrasil.com \
    --to=adam@yggdrasil.com \
    --cc=elmer@ylenurme.ee \
    --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 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®