mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: miles@megapathdsl.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.3-pre5 -- "pcilynx.c:638: invalid operands to binary &"  and  "pcilynx.c:650: `cards' undeclared"
Date: Sat, 26 Jan 2002 04:25:56 +0300	[thread overview]
Message-ID: <20020126042556.355c7cc8.johnpol@2ka.mipt.ru> (raw)
In-Reply-To: <20020126042049.125616e0.johnpol@2ka.mipt.ru>
In-Reply-To: <1011932306.18088.162.camel@stomata.megapathdsl.net> <20020125123711.0f0ebc61.johnpol@2ka.mipt.ru> <1011979851.1261.9.camel@stomata.megapathdsl.net> <20020126042049.125616e0.johnpol@2ka.mipt.ru>

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]


Ooops, forgot to attach apatch, sorry.

> I hope this patch will hel you.
> Please apply and send feedback.
> Good luck.
> BTW, it probably won't work in 644 string, and if it will happen, than
> Dave Jones tree is also broken.
> 
> P.S. It will not probably be applied, so enter
> ./drivers/ieee1394/pcilynx.c by hands. Sorry.

> > Thanks,
> > 	Miles

	Evgeniy Polyakov ( s0mbre ).

[-- Attachment #2: ieee1394_pcilynx.patch --]
[-- Type: application/octet-stream, Size: 613 bytes --]

--- /tmp/pcilynx.c	Sat Jan 26 04:10:39 2002
+++ ./drivers/ieee1394/pcilynx.c	Sat Jan 26 04:15:43 2002
@@ -641,7 +641,7 @@
 
 static int mem_open(struct inode *inode, struct file *file)
 {
-        int cid = MINOR(inode->i_rdev);
+        int cid = minor(inode->i_rdev);
         enum { t_rom, t_aux, t_ram } type;
         struct memdata *md;
         
@@ -1517,7 +1517,7 @@
         lynx->state = is_host;
 	
 	if (num_of_cards < MAX_NUM_OF_CARDS)
-		cards[num_of_cards++] = host->hostdata;
+		cards[num_of_cards++] = *(host->hostdata);
 	else
 		FAIL("Too many cards[ %d ]... Impossible...\n", num_of_cards);
 

      reply	other threads:[~2002-01-26  1:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25  4:18 Miles Lane
2002-01-25  9:37 ` Evgeniy Polyakov
2002-01-26  1:20   ` Evgeniy Polyakov
2002-01-25 17:30 ` Miles Lane
2002-01-26  1:25   ` Evgeniy Polyakov [this message]

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=20020126042556.355c7cc8.johnpol@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles@megapathdsl.net \
    /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®