Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68975
b: refs/heads/master
c: 9d511a4
h: refs/heads/master
i:
  68973: 72a7605
  68971: 8f4b56b
  68967: a25d2a4
  68959: 11b8e33
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent 48c8ecf commit d98ccd2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d10fb2c7b5ce1b475df50cde9262d2c3fe3d296e
refs/heads/master: 9d511a4b29de6764931343d03e493f2e04df0271
1 change: 0 additions & 1 deletion trunk/drivers/scsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ config SCSI_ADVANSYS
tristate "AdvanSys SCSI support"
depends on SCSI
depends on ISA || EISA || PCI
depends on BROKEN || X86_32
help
This is a driver for all SCSI host adapters manufactured by
AdvanSys. It is documented in the kernel source in
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/scsi/advansys.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ typedef unsigned char uchar;
#define CC_VERY_LONG_SG_LIST 0
#define ASC_SRB2SCSIQ(srb_ptr) (srb_ptr)

#define PortAddr unsigned short /* port address size */
#define PortAddr unsigned int /* port address size */
#define inp(port) inb(port)
#define outp(port, byte) outb((byte), (port))

Expand Down Expand Up @@ -13333,8 +13333,8 @@ static int __devinit advansys_wide_init_chip(struct Scsi_Host *shost)

}

ASC_DBG(1, "sg_cnt %d * %u = %u bytes\n", sg_cnt, sizeof(adv_sgblk_t),
(unsigned)(sizeof(adv_sgblk_t) * sg_cnt));
ASC_DBG(1, "sg_cnt %d * %lu = %lu bytes\n", sg_cnt, sizeof(adv_sgblk_t),
sizeof(adv_sgblk_t) * sg_cnt);

if (!board->adv_sgblkp)
goto kmalloc_failed;
Expand Down Expand Up @@ -13428,9 +13428,9 @@ static int __devinit advansys_board_found(struct Scsi_Host *shost,
boardp->ioremap_addr = ioremap(pci_resource_start(pdev, 1),
boardp->asc_n_io_port);
if (!boardp->ioremap_addr) {
shost_printk(KERN_ERR, shost, "ioremap(%x, %d) "
shost_printk(KERN_ERR, shost, "ioremap(%lx, %d) "
"returned NULL\n",
pci_resource_start(pdev, 1),
(long)pci_resource_start(pdev, 1),
boardp->asc_n_io_port);
ret = -ENODEV;
goto err_shost;
Expand Down

0 comments on commit d98ccd2

Please sign in to comment.