All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
	Rusty trivial patch monkey Russell  <trivial@rustcorp.com.au>
Subject: save_flags() should take unsigned long
Date: Mon, 4 Mar 2002 19:46:53 +0100	[thread overview]
Message-ID: <20020304184653.GA8646@elf.ucw.cz> (raw)

Hi!

...and here's patch to fix it... Please apply.
									Pavel

--- linux/drivers/ide/ide.c	Sun Nov 11 18:48:09 2001
+++ linux.uns/drivers/ide/ide.c	Mon Mar  4 19:35:21 2002
@@ -1864,7 +1864,7 @@
 	ide_drive_t *drive;
 	ide_hwgroup_t *hwgroup;
 	unsigned int p, major, minor;
-	long flags;
+	unsigned long flags;
 
 	if ((drive = get_info_ptr(i_rdev)) == NULL)
 		return -ENODEV;
--- linux/drivers/scsi/sym53c8xx.c	Tue Jan 15 11:08:49 2002
+++ linux.uns/drivers/scsi/sym53c8xx.c	Mon Mar  4 19:35:17 2002
@@ -14111,7 +14111,7 @@
 	if (len)
 		return -EINVAL;
 	else {
-		long flags;
+		unsigned long flags;
 
 		NCR_LOCK_NCB(np, flags);
 		ncr_usercmd (np);
--- linux/include/linux/skbuff.h	Thu Feb 28 23:15:23 2002
+++ linux.uns/include/linux/skbuff.h	Mon Mar  4 19:24:35 2002
@@ -588,7 +588,7 @@
 
 static inline struct sk_buff *skb_dequeue(struct sk_buff_head *list)
 {
-	long flags;
+	unsigned long flags;
 	struct sk_buff *result;
 
 	spin_lock_irqsave(&list->lock, flags);
@@ -737,7 +737,7 @@
 
 static inline struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)
 {
-	long flags;
+	unsigned long flags;
 	struct sk_buff *result;
 
 	spin_lock_irqsave(&list->lock, flags);

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa

             reply	other threads:[~2002-03-04 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-04 18:46 Pavel Machek [this message]
2002-03-26 13:29 ` save_flags() should take unsigned long David Weinehall
2002-03-26 13:46   ` Pavel Machek
2002-03-26 13:47   ` Richard B. Johnson
2002-03-26 16:54   ` Russell King

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=20020304184653.GA8646@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@rustcorp.com.au \
    /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.