Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114219
b: refs/heads/master
c: 35d9b17
h: refs/heads/master
i:
  114217: 842e108
  114215: e78b7bb
v: v3
  • Loading branch information
Borislav Petkov authored and Bartlomiej Zolnierkiewicz committed Oct 13, 2008
1 parent 4a6dcd0 commit 55c63bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: fc8323f793852ca1fcb58d96512fd71d39af2e9b
refs/heads/master: 35d9b17fe2dc48514fa3fbeec910e54103d13333
8 changes: 7 additions & 1 deletion trunk/drivers/ide/ide-cd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2197,8 +2197,11 @@ static struct block_device_operations idecd_ops = {

/* module options */
static char *ignore;

module_param(ignore, charp, 0400);

static unsigned long debug_mask;
module_param(debug_mask, ulong, 0644);

MODULE_DESCRIPTION("ATAPI CD-ROM Driver");

static int ide_cd_probe(ide_drive_t *drive)
Expand All @@ -2225,6 +2228,9 @@ static int ide_cd_probe(ide_drive_t *drive)
goto failed;
}
}

drive->debug_mask = debug_mask;

info = kzalloc(sizeof(struct cdrom_info), GFP_KERNEL);
if (info == NULL) {
printk(KERN_ERR PFX "%s: Can't allocate a cdrom structure\n",
Expand Down

0 comments on commit 55c63bf

Please sign in to comment.