diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-27 13:04:52 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-27 13:04:52 -0400 |
| commit | 211c8d4942edf2f3337820dda101da6b13c8a19a (patch) | |
| tree | a2a107acb80a61623d27fa3affe813eab5f4b2a3 /drivers/scsi/scsi_debug.c | |
| parent | 7a82323da3d21ea59a0509569fc5c7bc5aa7eed7 (diff) | |
| parent | cadbd4a5e36dde7e6c49b587b2c419103c0b7218 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (59 commits)
[SCSI] replace __FUNCTION__ with __func__
[SCSI] extend the last_sector_bug flag to cover more sectors
[SCSI] qla2xxx: Update version number to 8.02.01-k6.
[SCSI] qla2xxx: Additional NPIV corrections.
[SCSI] qla2xxx: suppress uninitialized-var warning
[SCSI] qla2xxx: use memory_read_from_buffer()
[SCSI] qla2xxx: Issue proper ISP callbacks during stop-firmware.
[SCSI] ch: fix ch_remove oops
[SCSI] 3w-9xxx: add MSI support and misc fixes
[SCSI] scsi_lib: use blk_rq_tagged in scsi_request_fn
[SCSI] ibmvfc: Update driver version to 1.0.1
[SCSI] ibmvfc: Add ADISC support
[SCSI] ibmvfc: Miscellaneous fixes
[SCSI] ibmvfc: Fix hang on module removal
[SCSI] ibmvfc: Target refcounting fixes
[SCSI] ibmvfc: Reduce unnecessary log noise
[SCSI] sym53c8xx: free luntbl in sym_hcb_free
[SCSI] scsi_scan.c: Release mutex in error handling code
[SCSI] scsi_eh_prep_cmnd should save scmd->underflow
[SCSI] sd: Support for SCSI disk (SBC) Data Integrity Field
...
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
| -rw-r--r-- | drivers/scsi/scsi_debug.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 01d11a01ffbf..27c633f55794 100644 --- a/drivers/scsi/scsi_debug.c +++ b/drivers/scsi/scsi_debug.c | |||
| @@ -1753,7 +1753,7 @@ static struct sdebug_dev_info * devInfoReg(struct scsi_device * sdev) | |||
| 1753 | open_devip = sdebug_device_create(sdbg_host, GFP_ATOMIC); | 1753 | open_devip = sdebug_device_create(sdbg_host, GFP_ATOMIC); |
| 1754 | if (!open_devip) { | 1754 | if (!open_devip) { |
| 1755 | printk(KERN_ERR "%s: out of memory at line %d\n", | 1755 | printk(KERN_ERR "%s: out of memory at line %d\n", |
| 1756 | __FUNCTION__, __LINE__); | 1756 | __func__, __LINE__); |
| 1757 | return NULL; | 1757 | return NULL; |
| 1758 | } | 1758 | } |
| 1759 | } | 1759 | } |
| @@ -2656,7 +2656,7 @@ static int sdebug_add_adapter(void) | |||
| 2656 | sdbg_host = kzalloc(sizeof(*sdbg_host),GFP_KERNEL); | 2656 | sdbg_host = kzalloc(sizeof(*sdbg_host),GFP_KERNEL); |
| 2657 | if (NULL == sdbg_host) { | 2657 | if (NULL == sdbg_host) { |
| 2658 | printk(KERN_ERR "%s: out of memory at line %d\n", | 2658 | printk(KERN_ERR "%s: out of memory at line %d\n", |
| 2659 | __FUNCTION__, __LINE__); | 2659 | __func__, __LINE__); |
| 2660 | return -ENOMEM; | 2660 | return -ENOMEM; |
| 2661 | } | 2661 | } |
| 2662 | 2662 | ||
| @@ -2667,7 +2667,7 @@ static int sdebug_add_adapter(void) | |||
| 2667 | sdbg_devinfo = sdebug_device_create(sdbg_host, GFP_KERNEL); | 2667 | sdbg_devinfo = sdebug_device_create(sdbg_host, GFP_KERNEL); |
| 2668 | if (!sdbg_devinfo) { | 2668 | if (!sdbg_devinfo) { |
| 2669 | printk(KERN_ERR "%s: out of memory at line %d\n", | 2669 | printk(KERN_ERR "%s: out of memory at line %d\n", |
| 2670 | __FUNCTION__, __LINE__); | 2670 | __func__, __LINE__); |
| 2671 | error = -ENOMEM; | 2671 | error = -ENOMEM; |
| 2672 | goto clean; | 2672 | goto clean; |
| 2673 | } | 2673 | } |
| @@ -2987,7 +2987,7 @@ static int sdebug_driver_probe(struct device * dev) | |||
| 2987 | 2987 | ||
| 2988 | hpnt = scsi_host_alloc(&sdebug_driver_template, sizeof(sdbg_host)); | 2988 | hpnt = scsi_host_alloc(&sdebug_driver_template, sizeof(sdbg_host)); |
| 2989 | if (NULL == hpnt) { | 2989 | if (NULL == hpnt) { |
| 2990 | printk(KERN_ERR "%s: scsi_register failed\n", __FUNCTION__); | 2990 | printk(KERN_ERR "%s: scsi_register failed\n", __func__); |
| 2991 | error = -ENODEV; | 2991 | error = -ENODEV; |
| 2992 | return error; | 2992 | return error; |
| 2993 | } | 2993 | } |
| @@ -3002,7 +3002,7 @@ static int sdebug_driver_probe(struct device * dev) | |||
| 3002 | 3002 | ||
| 3003 | error = scsi_add_host(hpnt, &sdbg_host->dev); | 3003 | error = scsi_add_host(hpnt, &sdbg_host->dev); |
| 3004 | if (error) { | 3004 | if (error) { |
| 3005 | printk(KERN_ERR "%s: scsi_add_host failed\n", __FUNCTION__); | 3005 | printk(KERN_ERR "%s: scsi_add_host failed\n", __func__); |
| 3006 | error = -ENODEV; | 3006 | error = -ENODEV; |
| 3007 | scsi_host_put(hpnt); | 3007 | scsi_host_put(hpnt); |
| 3008 | } else | 3008 | } else |
| @@ -3021,7 +3021,7 @@ static int sdebug_driver_remove(struct device * dev) | |||
| 3021 | 3021 | ||
| 3022 | if (!sdbg_host) { | 3022 | if (!sdbg_host) { |
| 3023 | printk(KERN_ERR "%s: Unable to locate host info\n", | 3023 | printk(KERN_ERR "%s: Unable to locate host info\n", |
| 3024 | __FUNCTION__); | 3024 | __func__); |
| 3025 | return -ENODEV; | 3025 | return -ENODEV; |
| 3026 | } | 3026 | } |
| 3027 | 3027 | ||
