mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sebek64@post.cz (Marcel Sebek)
To: zydas@tiscali.co.uk
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel 2.6.0 making modules problems
Date: Fri, 2 Jan 2004 18:28:47 +0100	[thread overview]
Message-ID: <20040102172847.GA3032@penguin.localdomain> (raw)
In-Reply-To: <3FB8EA9C000A0983@mk-cpfrontend-2.mail.uk.tiscali.com>

On Thu, Jan 01, 2004 at 04:38:39PM +0000, zydas@tiscali.co.uk wrote:
>   CC [M]  drivers/net/ne2k-pci.o
> drivers/net/ne2k-pci.c:72:1: warning: "insl" redefined
> In file included from include/asm/dma.h:12,
>                  from include/asm/scatterlist.h:5,
>                  from include/asm/pci.h:9,
>                  from include/linux/pci.h:702,
>                  from drivers/net/ne2k-pci.c:50:
> include/asm/io.h:79:1: warning: this is the location of the previous definition
> drivers/net/ne2k-pci.c:73:1: warning: "outsl" redefined
> include/asm/io.h:80:1: warning: this is the location of the previous definition

diff -urN linux-2.6/drivers/net/ne2k-pci.c linux-2.6-new/drivers/net/ne2k-pci.c
--- linux-2.6/drivers/net/ne2k-pci.c	2003-09-28 10:43:38.000000000 +0200
+++ linux-2.6-new/drivers/net/ne2k-pci.c	2004-01-01 18:33:37.000000000 +0100
@@ -69,8 +69,6 @@
 #if defined(__powerpc__)
 #define inl_le(addr)  le32_to_cpu(inl(addr))
 #define inw_le(addr)  le16_to_cpu(inw(addr))
-#define insl insl_ns
-#define outsl outsl_ns
 #endif
 
 #define PFX DRV_NAME ": "


>   CC [M]  drivers/usb/serial/whiteheat.o
> drivers/usb/serial/whiteheat.c: In function `firm_setup_port':
> drivers/usb/serial/whiteheat.c:1209: `CMSPAR' undeclared (first use in this
> function)
> drivers/usb/serial/whiteheat.c:1209: (Each undeclared identifier is reported
> only once
> drivers/usb/serial/whiteheat.c:1209: for each function it appears in.)

diff -urN linux-2.6/drivers/usb/serial/whiteheat.c linux-2.6-new/drivers/usb/serial/whiteheat.c
--- linux-2.6/drivers/usb/serial/whiteheat.c	2003-09-10 16:09:42.000000000 +0200
+++ linux-2.6-new/drivers/usb/serial/whiteheat.c	2004-01-01 18:29:38.000000000 +0100
@@ -76,6 +76,7 @@
 #include <linux/module.h>
 #include <linux/spinlock.h>
 #include <asm/uaccess.h>
+#include <asm/termbits.h>
 #include <linux/usb.h>
 #include <linux/serial_reg.h>
 #include <linux/serial.h>


-- 
Marcel Sebek
jabber: sebek@jabber.cz                     ICQ: 279852819
linux user number: 307850                 GPG ID: 5F88735E
GPG FP: 0F01 BAB8 3148 94DB B95D  1FCA 8B63 CA06 5F88 735E


  reply	other threads:[~2004-01-02 17:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-01 16:38 zydas
2004-01-02 17:28 ` Marcel Sebek [this message]
2004-01-17  0:57   ` Greg KH
2004-01-01 17:30 Justin Pryzby

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=20040102172847.GA3032@penguin.localdomain \
    --to=sebek64@post.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zydas@tiscali.co.uk \
    /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®