Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157443
b: refs/heads/master
c: ca99dab
h: refs/heads/master
i:
  157441: d9d2e3b
  157439: e056bfb
v: v3
  • Loading branch information
Stefan Haberland authored and Martin Schwidefsky committed Sep 11, 2009
1 parent cfb7a12 commit b588184
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 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: 68b781fe1bed89011ab7c58ede8476abe64432d2
refs/heads/master: ca99dab01dd63dcc413395bd3e75b0be152dfefc
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_3990_erp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
*/

#define KMSG_COMPONENT "dasd"
#define KMSG_COMPONENT "dasd-eckd"

#include <linux/timer.h>
#include <linux/slab.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_alias.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Author(s): Stefan Weinhuber <wein@de.ibm.com>
*/

#define KMSG_COMPONENT "dasd"
#define KMSG_COMPONENT "dasd-eckd"

#include <linux/list.h>
#include <asm/ebcdic.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
*/

#define KMSG_COMPONENT "dasd"
#define KMSG_COMPONENT "dasd-diag"

#include <linux/stddef.h>
#include <linux/kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_eckd.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Author.........: Nigel Hislop <hislop_nigel@emc.com>
*/

#define KMSG_COMPONENT "dasd"
#define KMSG_COMPONENT "dasd-eckd"

#include <linux/stddef.h>
#include <linux/kernel.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_eer.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author(s): Stefan Weinhuber <wein@de.ibm.com>
*/

#define KMSG_COMPONENT "dasd"
#define KMSG_COMPONENT "dasd-eckd"

#include <linux/init.h>
#include <linux/fs.h>
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/s390/block/dasd_erp.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ dasd_default_erp_action(struct dasd_ccw_req *cqr)
cqr->lpm = LPM_ANYPATH;
cqr->status = DASD_CQR_FILLED;
} else {
dev_err(&device->cdev->dev,
"default ERP has run out of retries and failed\n");
pr_err("%s: default ERP has run out of retries and failed\n",
dev_name(&device->cdev->dev));
cqr->status = DASD_CQR_FAILED;
cqr->stopclk = get_clock();
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_fba.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Copyright IBM Corp. 1999, 2009
*/

#define KMSG_COMPONENT "dasd"
#define KMSG_COMPONENT "dasd-fba"

#include <linux/stddef.h>
#include <linux/kernel.h>
Expand Down
24 changes: 12 additions & 12 deletions trunk/drivers/s390/block/dasd_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ static int dasd_ioctl_quiesce(struct dasd_block *block)
if (!capable (CAP_SYS_ADMIN))
return -EACCES;

dev_info(&base->cdev->dev, "The DASD has been put in the quiesce "
"state\n");
pr_info("%s: The DASD has been put in the quiesce "
"state\n", dev_name(&base->cdev->dev));
spin_lock_irqsave(get_ccwdev_lock(base->cdev), flags);
base->stopped |= DASD_STOPPED_QUIESCE;
spin_unlock_irqrestore(get_ccwdev_lock(base->cdev), flags);
Expand All @@ -119,8 +119,8 @@ static int dasd_ioctl_resume(struct dasd_block *block)
if (!capable (CAP_SYS_ADMIN))
return -EACCES;

dev_info(&base->cdev->dev, "I/O operations have been resumed "
"on the DASD\n");
pr_info("%s: I/O operations have been resumed "
"on the DASD\n", dev_name(&base->cdev->dev));
spin_lock_irqsave(get_ccwdev_lock(base->cdev), flags);
base->stopped &= ~DASD_STOPPED_QUIESCE;
spin_unlock_irqrestore(get_ccwdev_lock(base->cdev), flags);
Expand All @@ -146,8 +146,8 @@ static int dasd_format(struct dasd_block *block, struct format_data_t *fdata)
return -EPERM;

if (base->state != DASD_STATE_BASIC) {
dev_warn(&base->cdev->dev,
"The DASD cannot be formatted while it is enabled\n");
pr_warning("%s: The DASD cannot be formatted while it is "
"enabled\n", dev_name(&base->cdev->dev));
return -EBUSY;
}

Expand Down Expand Up @@ -175,9 +175,9 @@ static int dasd_format(struct dasd_block *block, struct format_data_t *fdata)
dasd_sfree_request(cqr, cqr->memdev);
if (rc) {
if (rc != -ERESTARTSYS)
dev_err(&base->cdev->dev,
"Formatting unit %d failed with "
"rc=%d\n", fdata->start_unit, rc);
pr_err("%s: Formatting unit %d failed with "
"rc=%d\n", dev_name(&base->cdev->dev),
fdata->start_unit, rc);
return rc;
}
fdata->start_unit++;
Expand All @@ -204,9 +204,9 @@ dasd_ioctl_format(struct block_device *bdev, void __user *argp)
if (copy_from_user(&fdata, argp, sizeof(struct format_data_t)))
return -EFAULT;
if (bdev != bdev->bd_contains) {
dev_warn(&block->base->cdev->dev,
"The specified DASD is a partition and cannot be "
"formatted\n");
pr_warning("%s: The specified DASD is a partition and cannot "
"be formatted\n",
dev_name(&block->base->cdev->dev));
return -EINVAL;
}
return dasd_format(block, &fdata);
Expand Down

0 comments on commit b588184

Please sign in to comment.