summaryrefslogtreecommitdiff
path: root/drivers/s390/block/dasd_ioctl.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2014-07-28 12:16:35 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-08-01 13:16:18 +0400
commita94fa154291bb11b1537ac2ff1ae2fd28428e054 (patch)
tree4d9ab6ff5f789cf2018b1492d8a42a5e1d9c5b25 /drivers/s390/block/dasd_ioctl.c
parent26d766c60f4ea08cd14f0f3435a6db3d6cc2ae96 (diff)
downloadlinux-a94fa154291bb11b1537ac2ff1ae2fd28428e054.tar.xz
s390/dasd: fix camel case
Rename enable_PAV to enable_pav. Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_ioctl.c')
-rw-r--r--drivers/s390/block/dasd_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c
index ad62608e4175..02837d0ad942 100644
--- a/drivers/s390/block/dasd_ioctl.c
+++ b/drivers/s390/block/dasd_ioctl.c
@@ -203,7 +203,7 @@ static int
dasd_format(struct dasd_block *block, struct format_data_t *fdata)
{
struct dasd_device *base;
- int enable_PAV = 1;
+ int enable_pav = 1;
int rc, retries;
int start, stop;
@@ -238,12 +238,12 @@ dasd_format(struct dasd_block *block, struct format_data_t *fdata)
start = fdata->start_unit;
stop = fdata->stop_unit;
do {
- rc = base->discipline->format_device(base, fdata, enable_PAV);
+ rc = base->discipline->format_device(base, fdata, enable_pav);
if (rc) {
if (rc == -EAGAIN) {
retries--;
/* disable PAV in case of errors */
- enable_PAV = 0;
+ enable_pav = 0;
fdata->start_unit = start;
fdata->stop_unit = stop;
} else