mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Jez <dave.jez@seznam.cz>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: diethotplug-0.4 utility patch
Date: Sun, 26 Oct 2003 14:48:58 +0100	[thread overview]
Message-ID: <20031026134858.GA59277@stud.fit.vutbr.cz> (raw)
In-Reply-To: <20031025120422.GB93355@stud.fit.vutbr.cz>

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

> > > - for USB: matching by vendor & class, not only by vendor (-ENODEV bug)
> > 
> > Can you split this patch out?  It looks useful.
>   of course
-- 
-------------------------------------------------------
  David "Dave" Jez                Brno, CZ, Europe
 E-mail: dave.jez@seznam.cz
PGP key: finger xjezda00@eva.fit.vutbr.cz
---------=[ ~EOF ]=------------------------------------

[-- Attachment #2: diethotplug-0.4.diff --]
[-- Type: text/plain, Size: 635 bytes --]

diff -urN diethotplug-0.4.orig/ieee1394.c diethotplug-0.4/ieee1394.c
--- diethotplug-0.4.orig/ieee1394.c	Wed Jan  9 20:57:29 2002
+++ diethotplug-0.4/ieee1394.c	Sat Oct 25 20:36:12 2003
@@ -75,7 +75,7 @@
 			return retval;
 	}
 
-	return -ENODEV;
+	return 0;
 }
 
 
diff -urN diethotplug-0.4.orig/usb.c diethotplug-0.4/usb.c
--- diethotplug-0.4.orig/usb.c	Wed Jan  9 20:57:29 2002
+++ diethotplug-0.4/usb.c	Sat Oct 25 20:36:07 2003
@@ -84,7 +84,7 @@
 		}
 	}
 
-	return -ENODEV;
+	return 0;
 }
 	
 
@@ -121,7 +121,7 @@
 		}
 	}
 
-	return -ENODEV;
+	return 0;
 }
 
 
@@ -158,7 +158,7 @@
 		}
 	}
 
-	return -ENODEV;
+	return 0;
 }
 
 

  parent reply	other threads:[~2003-10-26 13:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23 18:46 David Jez
2003-10-24  5:41 ` Greg KH
2003-10-25 12:04   ` David Jez
2003-10-25 17:11     ` Greg KH
2003-10-25 21:11     ` Greg KH
2003-10-26 13:48     ` David Jez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-23 18:44 David Jez

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=20031026134858.GA59277@stud.fit.vutbr.cz \
    --to=dave.jez@seznam.cz \
    --cc=greg@kroah.com \
    --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®