summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/loop.h
diff options
context:
space:
mode:
authorManuel Bentele2019-08-23 14:07:31 +0200
committerManuel Bentele2019-08-23 14:15:44 +0200
commit4da771a8b3c2d1c987950e223c93b2fa3dffab40 (patch)
tree4d892df76ddaf11d11998c19b475038f517939c4 /include/uapi/linux/loop.h
parentdoc: driver-api: add loop file format subsystem API documentation (diff)
downloadkernel-qcow2-linux-4da771a8b3c2d1c987950e223c93b2fa3dffab40.tar.gz
kernel-qcow2-linux-4da771a8b3c2d1c987950e223c93b2fa3dffab40.tar.xz
kernel-qcow2-linux-4da771a8b3c2d1c987950e223c93b2fa3dffab40.zip
block: loop: fix coding style issues in file format subsystem
Removes trailing whitespaces and other coding style issues in the loop file format subsystem and all additional files regarding to its implementation. Signed-off-by: Manuel Bentele <development@manuel-bentele.de>
Diffstat (limited to 'include/uapi/linux/loop.h')
-rw-r--r--include/uapi/linux/loop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/uapi/linux/loop.h b/include/uapi/linux/loop.h
index 07a9db82d2bd..aa92ba7e6680 100644
--- a/include/uapi/linux/loop.h
+++ b/include/uapi/linux/loop.h
@@ -82,11 +82,11 @@ struct loop_info64 {
/*
* Loop file format types
*/
-#define LO_FILE_FMT_RAW 0
-#define LO_FILE_FMT_QCOW 1
-#define LO_FILE_FMT_VDI 2
+#define LO_FILE_FMT_RAW 0
+#define LO_FILE_FMT_QCOW 1
+#define LO_FILE_FMT_VDI 2
#define LO_FILE_FMT_VMDK 3
-#define MAX_LO_FILE_FMT LO_FILE_FMT_VMDK + 1
+#define MAX_LO_FILE_FMT (LO_FILE_FMT_VMDK + 1)
/*
* IOCTL commands --- we will commandeer 0x4C ('L')