public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kees Lemmens <C.W.J.Lemmens@its.tudelft.nl>
To: linux-kernel@vger.kernel.org
Subject: little bug in drivers/parport/ieee1284_ops.c
Date: Mon, 22 Oct 2001 14:20:24 +0200	[thread overview]
Message-ID: <01102214202401.01543@dutind6> (raw)

Hi,

Think I found a bug in linux-2.4.12 in the module ieee1284_ops 
It fails to compile the modules :

gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE   -c -o 
ieee1284_ops.o ieee1284_ops.c
ieee1284_ops.c: In function `ecp_forward_to_reverse':
ieee1284_ops.c:365: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in this 
function)
ieee1284_ops.c:365: (Each undeclared identifier is reported only once
ieee1284_ops.c:365: for each function it appears in.)
ieee1284_ops.c: In function `ecp_reverse_to_forward':
ieee1284_ops.c:397: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in this 
function)
make[2]: *** [ieee1284_ops.o] Error 1


I checked include/linux/parport.h  and decided that it probably had to be 
EEE1284_PH_ECP_DIR_UNKNOWN.

After this modification everything compiles fine.

-- 
groeten,
Kees Lemmens.

-----------------------------------------------------------------------
 Department of Applied Mathematical Analysis, Faculty of Information
 Technology and Systems, Delft University of Technology,

 Address 	: PO Box 5031, NL-2600 GA, Delft, The Netherlands.
 Phone work/home: (+31) 015-2787224/010-4740254, Fax : 015-2787209
 Email     	: C.W.J.Lemmens@its.tudelft.nl.
 WWW       	: http://ta.twi.tudelft.nl/DV/Staff/C.W.J.Lemmens.html
-----------------------------------------------------------------------

                 reply	other threads:[~2001-10-22 12:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=01102214202401.01543@dutind6 \
    --to=c.w.j.lemmens@its.tudelft.nl \
    --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