From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>
To: Richard Henderson <rth@redhat.com>,
axp-list mailing list <axp-list@redhat.com>
Subject: [PATCH] [RESENT] compilation warnings 5/6
Date: Sat, 9 Nov 2002 01:08:36 +0000 [thread overview]
Message-ID: <20021109010836.H18411@Marvin.DL8BCU.ampr.org> (raw)
In-Reply-To: <20021109010716.G18411@Marvin.DL8BCU.ampr.org>; from dl8bcu@dl8bcu.de on Sat, Nov 09, 2002 at 01:07:17AM +0000
Part 5: various stuff that popped up along the way.
### 'implicit declaration of sys_swapon()' I failed to find it declared in
### a header so I filled it in right here.
### I'm open for better suggestions
diff -ur linux-2.5.46/arch/alpha/kernel/osf_sys.c linux-2.5.46-ds20/arch/alpha/kernel/osf_sys.c
--- linux-2.5.46/arch/alpha/kernel/osf_sys.c Wed Nov 6 19:04:14 2002
+++ linux-2.5.46-ds20/arch/alpha/kernel/osf_sys.c Sat Nov 9 00:38:12 2002
@@ -478,6 +478,9 @@
return error;
}
+
+asmlinkage long sys_swapon(const char * specialfile, int swap_flags); /* mm/swapfile.c */
+
asmlinkage int
osf_swapon(const char *path, int flags, int lowat, int hiwat)
{
### I'm sure nobody uses an unallowed register number. But gcc doesn't
### know that. Silence it.
diff -ur linux-2.5.46/arch/alpha/lib/fpreg.c linux-2.5.46-ds20/arch/alpha/lib/fpreg.c
--- linux-2.5.46/arch/alpha/lib/fpreg.c Sat Oct 19 04:02:24 2002
+++ linux-2.5.46-ds20/arch/alpha/lib/fpreg.c Fri Nov 8 23:29:27 2002
@@ -48,6 +48,7 @@
case 29: STT(29, val); break;
case 30: STT(30, val); break;
case 31: STT(31, val); break;
+ default: return 0;
}
return val;
}
@@ -141,6 +142,7 @@
case 29: STS(29, val); break;
case 30: STS(30, val); break;
case 31: STS(31, val); break;
+ default: return 0;
}
return val;
}
--
| Thorsten Kranzkowski Internet: dl8bcu@dl8bcu.de |
| Mobile: ++49 170 1876134 Snail: Niemannsweg 30, 49201 Dissen, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@marvin.dl8bcu.ampr.org [44.130.8.19] |
next prev parent reply other threads:[~2002-11-09 1:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-09 1:00 [PATCH] [RESENT] compilation warnings 1/6 Thorsten Kranzkowski
2002-11-09 1:03 ` [PATCH] [RESENT] compilation warnings 2/6 Thorsten Kranzkowski
2002-11-09 1:05 ` [PATCH] [RESENT] compilation warnings 3/6 Thorsten Kranzkowski
2002-11-09 1:07 ` [PATCH] [RESENT] compilation warnings 4/6 Thorsten Kranzkowski
2002-11-09 1:08 ` Thorsten Kranzkowski [this message]
2002-11-09 1:13 ` [PATCH] [RESENT] compilation warnings 6/6 Thorsten Kranzkowski
2002-11-09 1:47 ` [PATCH] [RESENT] compilation warnings 4/6 Michal Jaegermann
2002-11-09 5:51 ` Richard Henderson
2002-11-09 4:50 ` [PATCH] [RESENT] compilation warnings 3/6 Richard Henderson
2002-11-09 19:14 ` Peter Rival
2002-11-09 21:29 ` Michal Jaegermann
2002-11-14 6:44 ` Richard Henderson
2002-11-09 4:32 ` [PATCH] [RESENT] compilation warnings 1/6 Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox