mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Philipp Matthias Hahn <pmhahn@titan.lahn.de>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
	Trond Myklebust <trond.myklebust@fys.uio.no>,
	linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.23-pre8
Date: Thu, 23 Oct 2003 13:59:11 -0500	[thread overview]
Message-ID: <16280.9471.957832.641357@charged.uio.no> (raw)
In-Reply-To: <20031023181251.GA5490@titan.lahn.de>

>>>>> " " == Philipp Matthias Hahn <pmhahn@titan.lahn.de> writes:

     > make[3]: Entering directory `/usr/src/linux-2.4.23/net/sunrpc'
     > gcc -D__KERNEL__ -I/usr/src/linux-2.4.23/include -Wall
     > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
     > -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
     > -fno-optimize-sibling-calls -DMODULE -nostdinc -iwithprefix
     > include -DKBUILD_BASENAME=clnt -c -o clnt.o clnt.c clnt.c: In
     > function `call_verify': clnt.c:946: error: duplicate case value
     > clnt.c:926: error: previously used here clnt.c:951: error:
     > duplicate case value clnt.c:937: error: previously used here

There are no duplicate cases for the pre8 I just downloaded from
BitKeeper. Are you sure you haven't screwed up the patches?

Cheers,
  Trond

NOTE: The code in question should look as follows:

        switch ((n = ntohl(*p++))) {
        case RPC_SUCCESS:
                return p;
        case RPC_PROG_UNAVAIL:
                printk(KERN_WARNING "RPC: call_verify: program %u is unsupported by server %s\n",
                                (unsigned int)task->tk_client->cl_prog,
                                task->tk_client->cl_server);
                goto out_eio;
        case RPC_PROG_MISMATCH:
                printk(KERN_WARNING "RPC: call_verify: program %u, version %u unsupported by server %s\n",
                                (unsigned int)task->tk_client->cl_prog,
                                (unsigned int)task->tk_client->cl_vers,
                                task->tk_client->cl_server);
                goto out_eio;
        case RPC_PROC_UNAVAIL:
                printk(KERN_WARNING "RPC: call_verify: proc %u unsupported by program %u, version %u on server %s\n",
                                (unsigned int)task->tk_msg.rpc_proc,
                                (unsigned int)task->tk_client->cl_prog,
                                (unsigned int)task->tk_client->cl_vers,
                                task->tk_client->cl_server);
                goto out_eio;
        case RPC_GARBAGE_ARGS:
                break;                  /* retry */
        default:
                printk(KERN_WARNING "call_verify: server accept status: %x\n", n);
                /* Also retry */
        }


  reply	other threads:[~2003-10-23 18:59 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 23:24 Marcelo Tosatti
2003-10-23  1:53 ` viro
2003-10-23 15:45   ` Matt Zimmerman
2003-10-23  7:05 ` Jeff Chua
2003-10-23 11:26   ` Marcelo Tosatti
2003-10-23 14:07 ` [patch] 2.4.23-pre8: link error with both megaraid drivers Adrian Bunk
2003-10-23 14:18   ` Matthew Wilcox
2003-10-23 19:42     ` Adrian Bunk
2003-10-23 15:22 ` Linux 2.4.23-pre8 laurent.ml
2003-10-23 20:23   ` Olaf Hering
2003-10-23 17:05 ` Peter Osterlund
2003-10-23 17:48   ` Marcelo Tosatti
2003-10-23 18:12 ` Philipp Matthias Hahn
2003-10-23 18:59   ` Trond Myklebust [this message]
2003-10-23 21:20   ` Andre Tomt
2003-10-23 21:55     ` Trond Myklebust
2003-10-23 19:47 ` 2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95 Adrian Bunk
2003-10-23 22:03   ` Greg KH
2003-10-23 22:43     ` Adrian Bunk
2003-10-23 19:59 ` 2.4.23-pre8: link error with multiple USB Gadget drivers Adrian Bunk
2003-10-24 16:47   ` David Brownell
2003-10-23 23:09 ` Linux 2.4.23-pre8 Lukasz Trabinski
2003-10-24  0:26 ` Andre Tomt
     [not found] <Pine.LNX.4.44.0310222116270.1364-100000@dstl.gov.uk>
2003-10-24 15:11 ` Tony Gale
2003-10-24 15:33   ` Len Brown
     [not found] <marcelo.tosatti@cyclades.com>
     [not found] ` <Pine.LNX.4.44.0310251839030.30825-100000@logos.cnet>
2003-10-30  0:30   ` chas williams
2003-10-30 23:26     ` Lukasz Trabinski

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=16280.9471.957832.641357@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=pmhahn@titan.lahn.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®