All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Tscharner <starfire@dplanet.ch>
To: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>
Subject: [PATCH][TRIVIAL] 2.5.44 Typo in include/linux/pnp.h
Date: Sun, 20 Oct 2002 14:50:13 +0200	[thread overview]
Message-ID: <20021020145013.4e609712.starfire@dplanet.ch> (raw)

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

Heelo World,

The attached patch corrects a typo in include/linux/pnp.h (A ')' instead
of a '}') that avoids compiling.

Regards
	Andreas
-- 
Andreas Tscharner                                  starfire@dplanet.ch
----------------------------------------------------------------------
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
                                                          -- Rich Cook 

[-- Attachment #2: pnp_h.patch --]
[-- Type: application/octet-stream, Size: 694 bytes --]

--- include/linux/pnp.h.orig	2002-10-20 14:27:06.000000000 +0200
+++ include/linux/pnp.h	2002-10-20 14:29:24.000000000 +0200
@@ -245,7 +245,7 @@
 
 /* just in case anyone decides to call these without PnP Support Enabled */
 static inline int pnp_protocol_register(struct pnp_protocol *protocol) { return -ENODEV; }
-static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; )
+static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; }
 static inline int pnp_init_device(struct pnp_dev *dev) { return -ENODEV; }
 static inline int pnp_add_device(struct pnp_dev *dev) { return -ENODEV; }
 static inline void pnp_remove_device(struct pnp_dev *dev) { ; }

                 reply	other threads:[~2002-10-20 12:44 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=20021020145013.4e609712.starfire@dplanet.ch \
    --to=starfire@dplanet.ch \
    --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.