From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 9530F3F434 for ; Fri, 8 Nov 2002 20:08:42 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gA918gk09643 for axp-list@listman.redhat.com; Fri, 8 Nov 2002 20:08:42 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gA918gf09639; Fri, 8 Nov 2002 20:08:42 -0500 Received: from Marvin.DL8BCU.ampr.org (root@p50829A93.dip.t-dialin.net [80.130.154.147]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gA90jpw07891; Fri, 8 Nov 2002 19:45:51 -0500 Received: from dl8bcu.de (th@localhost [127.0.0.1]) by Marvin.DL8BCU.ampr.org (8.12.1/8.12.1) with ESMTP id gA918bVK018669; Sat, 9 Nov 2002 01:08:37 GMT Received: (from th@localhost) by dl8bcu.de (8.12.1/8.12.1/Submit) id gA918a4s018668; Sat, 9 Nov 2002 01:08:36 GMT X-Authentication-Warning: Marvin.borg.net: th set sender to dl8bcu@dl8bcu.de using -f Date: Sat, 9 Nov 2002 01:08:36 +0000 From: Thorsten Kranzkowski To: Richard Henderson , axp-list mailing list Subject: [PATCH] [RESENT] compilation warnings 5/6 Message-ID: <20021109010836.H18411@Marvin.DL8BCU.ampr.org> Mail-Followup-To: Richard Henderson , axp-list mailing list References: <20021109010039.D18411@Marvin.DL8BCU.ampr.org> <20021109010312.E18411@Marvin.DL8BCU.ampr.org> <20021109010502.F18411@Marvin.DL8BCU.ampr.org> <20021109010716.G18411@Marvin.DL8BCU.ampr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20021109010716.G18411@Marvin.DL8BCU.ampr.org>; from dl8bcu@dl8bcu.de on Sat, Nov 09, 2002 at 01:07:17AM +0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com X-Reply-To: dl8bcu@dl8bcu.de List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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] |