All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Scott <nathans@sgi.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix kdev_val typo
Date: Tue, 2 Jul 2002 08:51:36 +1000	[thread overview]
Message-ID: <20020701225136.GB469@frodo> (raw)

hi Marcelo,

There's a missing brace in the kdev_val() 2.5 compatibility macro
which someone has added into 2.4.19-rc1, making the macro useless.
Here's the trivial fix, in case noone else has sent it along yet.

cheers.

-- 
Nathan


diff -Naur 2.4.19-rc1-pristine/include/linux/kdev_t.h 2.4.19-rc1-kdevt/include/linux/kdev_t.h
--- 2.4.19-rc1-pristine/include/linux/kdev_t.h	Tue Jun 25 10:12:04 2002
+++ 2.4.19-rc1-kdevt/include/linux/kdev_t.h	Tue Jul  2 08:40:28 2002
@@ -81,7 +81,7 @@
 #define minor(d)	MINOR(d)
 #define kdev_same(a,b)	((a) == (b))
 #define kdev_none(d)	(!(d))
-#define kdev_val(d)	((unsigned int)(d)
+#define kdev_val(d)	((unsigned int)(d))
 #define val_to_kdev(d)	((kdev_t(d))
 
 /*

             reply	other threads:[~2002-07-01 22:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-01 22:51 Nathan Scott [this message]
2002-07-05 13:15 ` [PATCH] fix kdev_val typo Marcelo Tosatti

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=20020701225136.GB469@frodo \
    --to=nathans@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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.