All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Nugent <mips@illuminatus.org>
To: linux-mips@linux-mips.org
Subject: scatterlist.h
Date: 01 Oct 2002 01:48:38 -0700	[thread overview]
Message-ID: <1033462118.13267.97.camel@templar> (raw)


Next problem  ( I know you all love my by now :)

in drivers/scsi/scsi_merge.c

scsi_merge.c:939: structure has no member named `page'

line 939: sgpnt[count - 1].page = NULL;

(struct scatterlist *sgpnt;  included from scsi.h, which includes
asm/scatterlist.h)


struct scatterlist {
    char *  address;    /* Location data is to be transferred to */
    unsigned int length;

    __u32 dvma_address;
};

Yes!  It's right!  No member page!

From 2.4.16:

struct scatterlist {
	char * address;		/* Location data is to be transferred to */
	struct page * page;	/* Location for highmem page, if any */
	unsigned int length;
	__u32 dvma_address;
};

I suggest we put that variable back into the structure.

There's more to come, but it's almost 2 am and it's bedtime.  I'll send
the next one out tomorrow if no one writes me back to tell me I'm
nuts/not using the right code/can't reproduce the error/etc.


-- 
Mike Nugent
Programmer/Author
mike@illuminatus.org
"I believe the use of noise to make music will increase until we reach a
music produced through the aid of electrical instruments which will make
available for musical purposes any and all sounds that can be heard."
 -- composer John Cage, 1937

WARNING: multiple messages have this Message-ID (diff)
From: Mike Nugent <mips@illuminatus.org>
To: linux-mips@linux-mips.org
Subject: scatterlist.h
Date: 01 Oct 2002 01:48:38 -0700	[thread overview]
Message-ID: <1033462118.13267.97.camel@templar> (raw)
Message-ID: <20021001084838.M_N_qtE9kQJGCdv9ZvTSSPbY5Xy4nr5nLe9tPVxg9jY@z> (raw)


Next problem  ( I know you all love my by now :)

in drivers/scsi/scsi_merge.c

scsi_merge.c:939: structure has no member named `page'

line 939: sgpnt[count - 1].page = NULL;

(struct scatterlist *sgpnt;  included from scsi.h, which includes
asm/scatterlist.h)


struct scatterlist {
    char *  address;    /* Location data is to be transferred to */
    unsigned int length;

    __u32 dvma_address;
};

Yes!  It's right!  No member page!

             reply	other threads:[~2002-10-01  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01  8:48 Mike Nugent [this message]
2002-10-01  8:48 ` scatterlist.h Mike Nugent
2002-10-01  9:05 ` scatterlist.h Carsten Langgaard

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=1033462118.13267.97.camel@templar \
    --to=mips@illuminatus.org \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.