summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/loop/Kconfig2
-rw-r--r--drivers/block/loop/loop_file_fmt.c4
-rw-r--r--drivers/block/loop/loop_file_fmt.h8
-rw-r--r--drivers/block/loop/loop_file_fmt_qcow_main.c2
-rw-r--r--drivers/block/loop/loop_file_fmt_raw.c6
5 files changed, 11 insertions, 11 deletions
diff --git a/drivers/block/loop/Kconfig b/drivers/block/loop/Kconfig
index 238ae96189d7..d227337d53bb 100644
--- a/drivers/block/loop/Kconfig
+++ b/drivers/block/loop/Kconfig
@@ -67,7 +67,7 @@ config BLK_DEV_CRYPTOLOOP
select CRYPTO_CBC
depends on BLK_DEV_LOOP
---help---
- Say Y here if you want to be able to use the ciphers that are
+ Say Y here if you want to be able to use the ciphers that are
provided by the CryptoAPI as loop transformation. This might be
used as hard disk encryption.
diff --git a/drivers/block/loop/loop_file_fmt.c b/drivers/block/loop/loop_file_fmt.c
index 706a0caa78c5..ff356f172b7a 100644
--- a/drivers/block/loop/loop_file_fmt.c
+++ b/drivers/block/loop/loop_file_fmt.c
@@ -197,7 +197,7 @@ int loop_file_fmt_read_aio(struct loop_file_fmt *lo_fmt,
}
int loop_file_fmt_write(struct loop_file_fmt *lo_fmt,
- struct request *rq)
+ struct request *rq)
{
struct loop_file_fmt_ops *ops;
@@ -304,7 +304,7 @@ ssize_t loop_file_fmt_print_type(u32 file_fmt_type, char *file_fmt_name)
{
ssize_t len = 0;
- switch(file_fmt_type) {
+ switch (file_fmt_type) {
case LO_FILE_FMT_RAW:
len = sprintf(file_fmt_name, "%s", "RAW");
break;
diff --git a/drivers/block/loop/loop_file_fmt.h b/drivers/block/loop/loop_file_fmt.h
index cd62dee60bf7..5c0e49376e98 100644
--- a/drivers/block/loop/loop_file_fmt.h
+++ b/drivers/block/loop/loop_file_fmt.h
@@ -16,7 +16,7 @@ struct loop_file_fmt;
/**
* struct loop_file_fmt_ops - File format subsystem operations
- *
+ *
* Data structure representing the file format subsystem interface.
*/
struct loop_file_fmt_ops {
@@ -73,8 +73,8 @@ struct loop_file_fmt_ops {
/**
* struct loop_file_fmt_driver - File format subsystem driver
- *
- * Data structure to implement file format drivers for the file format
+ *
+ * Data structure to implement file format drivers for the file format
* subsystem.
*/
struct loop_file_fmt_driver {
@@ -135,7 +135,7 @@ enum {
/**
* struct loop_file_fmt - Loop file format
- *
+ *
* Data structure to use with the file format the loop file format subsystem.
*/
struct loop_file_fmt {
diff --git a/drivers/block/loop/loop_file_fmt_qcow_main.c b/drivers/block/loop/loop_file_fmt_qcow_main.c
index d3e456f80803..4fb786b340f7 100644
--- a/drivers/block/loop/loop_file_fmt_qcow_main.c
+++ b/drivers/block/loop/loop_file_fmt_qcow_main.c
@@ -170,7 +170,7 @@ static void __qcow_file_fmt_compression_exit(struct loop_file_fmt *lo_fmt)
}
#ifdef CONFIG_DEBUG_FS
-static void __qcow_file_fmt_header_to_buf(struct loop_file_fmt* lo_fmt,
+static void __qcow_file_fmt_header_to_buf(struct loop_file_fmt *lo_fmt,
const struct loop_file_fmt_qcow_header *header)
{
struct loop_file_fmt_qcow_data *qcow_data = lo_fmt->private_data;
diff --git a/drivers/block/loop/loop_file_fmt_raw.c b/drivers/block/loop/loop_file_fmt_raw.c
index 2399ac6474ad..baa560208b7d 100644
--- a/drivers/block/loop/loop_file_fmt_raw.c
+++ b/drivers/block/loop/loop_file_fmt_raw.c
@@ -108,7 +108,7 @@ out_free_page:
}
static int raw_file_fmt_read(struct loop_file_fmt *lo_fmt,
- struct request *rq)
+ struct request *rq)
{
struct bio_vec bvec;
struct req_iterator iter;
@@ -247,7 +247,7 @@ static int __raw_file_fmt_rw_aio(struct loop_file_fmt *lo_fmt,
}
static int raw_file_fmt_read_aio(struct loop_file_fmt *lo_fmt,
- struct request *rq)
+ struct request *rq)
{
return __raw_file_fmt_rw_aio(lo_fmt, rq, READ);
}
@@ -340,7 +340,7 @@ static int raw_file_fmt_write(struct loop_file_fmt *lo_fmt,
}
static int raw_file_fmt_write_aio(struct loop_file_fmt *lo_fmt,
- struct request *rq)
+ struct request *rq)
{
return __raw_file_fmt_rw_aio(lo_fmt, rq, WRITE);
}