Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89721
b: refs/heads/master
c: 5f2578e
h: refs/heads/master
i:
  89719: 7f1c163
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Apr 7, 2008
1 parent b52ec61 commit 7f3116c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1978910062c38394570c48b3065f37060be31b91
refs/heads/master: 5f2578e579ab74b4e3cfd1431bfa976e906594f6
6 changes: 3 additions & 3 deletions trunk/drivers/scsi/scsi_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ static void __init init_all_queued(void)
}

static void __init sdebug_build_parts(unsigned char *ramp,
unsigned int store_size)
unsigned long store_size)
{
struct partition * pp;
int starts[SDEBUG_MAX_PARTS + 2];
Expand Down Expand Up @@ -2476,14 +2476,14 @@ static void do_remove_driverfs_files(void)

static int __init scsi_debug_init(void)
{
unsigned int sz;
unsigned long sz;
int host_to_add;
int k;
int ret;

if (scsi_debug_dev_size_mb < 1)
scsi_debug_dev_size_mb = 1; /* force minimum 1 MB ramdisk */
sz = (unsigned int)scsi_debug_dev_size_mb * 1048576;
sz = (unsigned long)scsi_debug_dev_size_mb * 1048576;
sdebug_store_sectors = sz / SECT_SIZE;
sdebug_capacity = get_sdebug_capacity();

Expand Down

0 comments on commit 7f3116c

Please sign in to comment.