All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luc Van Oostenryck <luc.vanoostenryck@easynet.be>
To: Kernel mailing list <linux-kernel@vger.kernel.org>
Cc: Greg KH <greg@kroah.com>
Subject: [PATCH] 2.5.40: warning fix for drivers/usb/core/usb.c
Date: Wed, 02 Oct 2002 03:42:21 +0200	[thread overview]
Message-ID: <3D9A4EFD.60703@easynet.be> (raw)

Greg,

usb_hotplug()' prototype doesn't match when CONFIG_HOTPLUG is not defined.
Here is the patch:

Regards,

Luc Van Oostenryck


diff -ur linux-2.5.40/drivers/usb/core/usb.c l-2.5.40/drivers/usb/core/usb.c
--- linux-2.5.40/drivers/usb/core/usb.c Wed Oct  2 00:35:06 2002
+++ l-2.5.40/drivers/usb/core/usb.c     Wed Oct  2 00:47:22 2002
@@ -624,7 +624,7 @@
  #else

  static int usb_hotplug (struct device *dev, char **envp,
-                       char *buffer, int buffer_size)
+                       int num_envp, char *buffer, int buffer_size)
  {
         return -ENODEV;
  }


             reply	other threads:[~2002-10-02  1:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  1:42 Luc Van Oostenryck [this message]
2002-10-02 18:33 ` [PATCH] 2.5.40: warning fix for drivers/usb/core/usb.c Greg KH

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=3D9A4EFD.60703@easynet.be \
    --to=luc.vanoostenryck@easynet.be \
    --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 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.