From: "Kirk Alexander" <kirkalx@yahoo.co.nz>
To: linux-kernel@vger.kernel.org
Subject: Report - fixes needed
Date: Tue, 18 Dec 2001 13:42:05 +1300 (NZDT) [thread overview]
Message-ID: <20011218004205.1877.qmail@web14909.mail.yahoo.com> (raw)
In-Reply-To: <20011218162715.A1015@pazke.ipt>
I've done some grep'ing for some possible fixes required in 2.5.1 (final).
The problems are:
- changing of member cmd in 'struct request' to a char array from int
- changing of blk_init_queue() to take 3 args not 2
- use of the removed member b_reqnext in 'struct buffer_head'
Note there are probably some files I have missed due to not thinking generally
enough and there will be false matches also. As you can probably tell from the
below I'm definitely not a grep wizard so if someone can think of a way to
search for code like
printk(" ... %d ... ", ..., rq->cmd, ...);
that will turn up more things in need of fixing.
Sorry if this info has already been found - I couldn't find an overall report
like this in the archives.
1)
Look for possible invalid use of altered member cmd from struct request
- search for this kind of thing
switch (rq->cmd)
{
case READ:
...
grep "switch[[:space:]]*([a-zA-Z0-9_]*->cmd[[:space:]]*)"
grep "switch[[:space:]]*([a-zA-Z0-9_]*\.cmd[[:space:]]*)"
then filter on
grep "struct[[:space:]]*request[[:space:]]"
drivers/block/cpqarray.c
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c
drivers/s390/block/xpram.c
drivers/mtd/mtdblock.c
drivers/mtd/mtdblock_ro.c
----------
2)
Look for possible invalid use of altered member cmd from struct request
- search for this kind of thing
if (rq->cmd == READ) {
...
and
rq->cmd = READ;
grep -- "->cmd[[:space:]]*="
then filter on
grep "struct[[:space:]]*request[[:space:]]"
include/linux/ide.h : Documentation change
drivers/block/nbd.c
drivers/sbus/char/jsflash.c
drivers/ide/icside.c
drivers/ide/ide-cd.c
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c
drivers/ide/pdc4030.c
drivers/acorn/block/mfmhd.c
drivers/s390/block/dasd.c
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_fba.c
drivers/mtd/nftlcore.c
drivers/message/i2o/i2o_block.c
--------------
3)
Search for use of blk_init_queue() with only two args.
grep -l blk_init_queue[[:space:]]*([^,]*,[^,)]*)
drivers/s390/char/tapedefs.h : OK - compatibility with older kernels.
arch/m68k/atari/stram.c
drivers/block/DAC960.c
drivers/cdrom/aztcd.c
drivers/cdrom/cm206.c
drivers/cdrom/gscd.c
drivers/cdrom/mcd.c
drivers/cdrom/mcdx.c
drivers/cdrom/optcd.c
drivers/cdrom/sbpcd.c
drivers/cdrom/sjcd.c
drivers/cdrom/sonycd535.c
drivers/sbus/char/jsflash.c
drivers/acorn/block/fd1772.c
drivers/acorn/block/mfmhd.c
drivers/s390/block/dasd.c
drivers/s390/block/xpram.c
drivers/s390/char/tapeblock.c
drivers/mtd/ftl.c
drivers/mtd/mtdblock.c
drivers/mtd/mtdblock_ro.c
drivers/mtd/nftlcore.c
drivers/message/i2o/i2o_block.c
-------
4)
Search for use of removed member b_reqnext in struct buffer_head.
fgrep "b_reqnext"
include/linux/raid/raid5.h : documentation change
arch/cris/drivers/ide.c
drivers/block/acsi.c
drivers/scsi/scsi_debug.c
drivers/ide/icside.c
drivers/ide/ide-pmac.c
drivers/ide/ide-tape.c
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_fba.c
drivers/s390/char/tape34xx.c
drivers/s390/char/tapeblock.c
drivers/md/raid5.c
prev parent reply other threads:[~2001-12-18 0:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-15 13:57 [PATCH] move SIIG combo cards support to parport_serial.c Andrey Panin
2001-12-14 13:57 ` Tim Waugh
2001-12-14 16:22 ` Russell King
2001-12-18 13:27 ` Andrey Panin
2001-12-18 0:42 ` Kirk Alexander [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=20011218004205.1877.qmail@web14909.mail.yahoo.com \
--to=kirkalx@yahoo.co.nz \
--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