]> err.no Git - linux-2.6/commit
[PATCH] fix request->cmd == INT cases
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 20 Jun 2007 11:53:23 +0000 (13:53 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:03:34 +0000 (08:03 +0200)
commite654bc4393e85e326993256d80b9710a4d6411ff
treebf30413fd62f778e4c9abd8bc92e7a399ac37e53
parent9cff3b383dad193b0762c27278a16237e10b53dc
[PATCH] fix request->cmd == INT cases

 - I have unearthed very old bugs in stale drivers that still
   used request->cmd as a READ|WRITE int
 - This patch is maybe a proof that these drivers have not been
   used for a long time. Should they be removed completely?

Drivers that currently do not work for sure:
 drivers/acorn/block/fd1772.c |    2 +-
 drivers/acorn/block/mfmhd.c  |    8 ++++----
 drivers/cdrom/aztcd.c        |    2 +-
 drivers/cdrom/cm206.c        |    2 +-
 drivers/cdrom/gscd.c         |    2 +-
 drivers/cdrom/mcdx.c         |    2 +-
 drivers/cdrom/optcd.c        |    2 +-
 drivers/cdrom/sjcd.c         |    2 +-

Drivers with cosmetic fixes only:
  b/drivers/block/amiflop.c
  b/drivers/block/nbd.c
  b/drivers/ide/legacy/hd.c

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/acorn/block/fd1772.c
drivers/acorn/block/mfmhd.c
drivers/block/amiflop.c
drivers/block/nbd.c
drivers/cdrom/aztcd.c
drivers/cdrom/cm206.c
drivers/cdrom/gscd.c
drivers/cdrom/mcdx.c
drivers/cdrom/optcd.c
drivers/cdrom/sjcd.c
drivers/ide/legacy/hd.c