public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Peter Wächtler" <pwaechtler@loewe-komp.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa
Date: Thu, 30 May 2002 14:04:18 +0200	[thread overview]
Message-ID: <3CF61542.6000500@loewe-komp.de> (raw)

Somehow a call to in_ntoa went into the kernel.
With that you can't linke the kernel, when CONFIG_ROOT_NFS=y
is on.



fs/fs.o: In function `root_nfs_getport':
fs/fs.o(.text.init+0x10e1): undefined reference to `in_ntoa'
make: *** [vmlinux] Fehler 1



--- fs/nfs/nfsroot.c.orig       Thu May 30 13:58:30 2002
+++ fs/nfs/nfsroot.c    Thu May 30 13:59:01 2002
@@ -343,8 +343,8 @@
  {
         struct sockaddr_in sin;

-       printk(KERN_NOTICE "Looking up port of RPC %d/%d on %s\n",
-               program, version, in_ntoa(servaddr));
+       printk(KERN_NOTICE "Looking up port of RPC %d/%d on 0x%X\n",
+               program, version, servaddr);
         set_sockaddr(&sin, servaddr, 0);
         return rpc_getport_external(&sin, program, version, proto);
  }


             reply	other threads:[~2002-05-30 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30 12:04 Peter Wächtler [this message]
2002-05-30 11:52 ` [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa David S. Miller

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=3CF61542.6000500@loewe-komp.de \
    --to=pwaechtler@loewe-komp.de \
    --cc=linux-kernel@vger.kernel.org \
    /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