Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dm dm: Remove trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/c4382e67bd5d
branches: trunk
changeset: 967358:c4382e67bd5d
user: tkusumi <tkusumi%NetBSD.org@localhost>
date: Fri Dec 06 16:46:14 2019 +0000
description:
dm: Remove trailing whitespace
diffstat:
sys/dev/dm/dm_pdev.c | 11 +++++------
sys/dev/dm/dm_target_linear.c | 8 ++++----
sys/dev/dm/dm_target_zero.c | 6 +++---
sys/dev/dm/netbsd-dm.h | 22 +++++++++++-----------
4 files changed, 23 insertions(+), 24 deletions(-)
diffs (180 lines):
diff -r 3f4f54c04db3 -r c4382e67bd5d sys/dev/dm/dm_pdev.c
--- a/sys/dev/dm/dm_pdev.c Fri Dec 06 16:33:47 2019 +0000
+++ b/sys/dev/dm/dm_pdev.c Fri Dec 06 16:46:14 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_pdev.c,v 1.15 2019/12/04 16:55:30 tkusumi Exp $ */
+/* $NetBSD: dm_pdev.c,v 1.16 2019/12/06 16:46:14 tkusumi Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_pdev.c,v 1.15 2019/12/04 16:55:30 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_pdev.c,v 1.16 2019/12/06 16:46:14 tkusumi Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -240,15 +240,14 @@
dm_pdev_dump_list(void)
{
dm_pdev_t *dmp;
-
+
aprint_verbose("Dumping dm_pdev_list\n");
-
+
SLIST_FOREACH(dmp, &dm_pdev_list, next_pdev) {
aprint_verbose("dm_pdev_name %s ref_cnt %d list_rf_cnt %d\n",
dmp->name, dmp->ref_cnt, dmp->list_ref_cnt);
}
-
+
return 0;
-
}
#endif
diff -r 3f4f54c04db3 -r c4382e67bd5d sys/dev/dm/dm_target_linear.c
--- a/sys/dev/dm/dm_target_linear.c Fri Dec 06 16:33:47 2019 +0000
+++ b/sys/dev/dm/dm_target_linear.c Fri Dec 06 16:46:14 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_target_linear.c,v 1.22 2019/12/05 16:59:43 tkusumi Exp $ */
+/* $NetBSD: dm_target_linear.c,v 1.23 2019/12/06 16:46:14 tkusumi Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.22 2019/12/05 16:59:43 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_linear.c,v 1.23 2019/12/06 16:46:14 tkusumi Exp $");
/*
* This file implements initial version of device-mapper dklinear target.
@@ -146,9 +146,9 @@
tlc = table_en->target_config;
cmd = 1;
-
+
return VOP_IOCTL(tlc->pdev->pdev_vnode, DIOCCACHESYNC, &cmd,
- FREAD|FWRITE, kauth_cred_get());
+ FREAD|FWRITE, kauth_cred_get());
}
/*
diff -r 3f4f54c04db3 -r c4382e67bd5d sys/dev/dm/dm_target_zero.c
--- a/sys/dev/dm/dm_target_zero.c Fri Dec 06 16:33:47 2019 +0000
+++ b/sys/dev/dm/dm_target_zero.c Fri Dec 06 16:46:14 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_target_zero.c,v 1.16 2019/12/06 16:11:59 tkusumi Exp $ */
+/* $NetBSD: dm_target_zero.c,v 1.17 2019/12/06 16:46:14 tkusumi Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_zero.c,v 1.16 2019/12/06 16:11:59 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_zero.c,v 1.17 2019/12/06 16:46:14 tkusumi Exp $");
/*
* This file implements initial version of device-mapper zero target.
@@ -84,7 +84,7 @@
dmt->init = &dm_target_zero_init;
dmt->status = &dm_target_zero_status;
dmt->strategy = &dm_target_zero_strategy;
- dmt->sync = &dm_target_zero_sync;
+ dmt->sync = &dm_target_zero_sync;
dmt->deps = &dm_target_zero_deps;
dmt->destroy = &dm_target_zero_destroy;
dmt->upcall = &dm_target_zero_upcall;
diff -r 3f4f54c04db3 -r c4382e67bd5d sys/dev/dm/netbsd-dm.h
--- a/sys/dev/dm/netbsd-dm.h Fri Dec 06 16:33:47 2019 +0000
+++ b/sys/dev/dm/netbsd-dm.h Fri Dec 06 16:46:14 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd-dm.h,v 1.9 2019/12/03 15:03:14 tkusumi Exp $ */
+/* $NetBSD: netbsd-dm.h,v 1.10 2019/12/06 16:46:14 tkusumi Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
* <string>...</string>
*
* <key>dev</key>
- * <integer></integer>
+ * <integer></integer>
*
* <key>flags</key>
* <integer></integer>
@@ -110,7 +110,7 @@
*/
/*
- * DM_DEV_LIST == "names"
+ * DM_DEV_LIST == "names"
* Request list of device-mapper created devices from kernel.
*
* <array>
@@ -128,7 +128,7 @@
*/
/*
- * DM_DEV_RENAME == "rename"
+ * DM_DEV_RENAME == "rename"
* Rename device to string.
*
* <array>
@@ -138,14 +138,14 @@
*/
/*
- * DM_DEV_STATUS == "info, mknodes"
+ * DM_DEV_STATUS == "info, mknodes"
* Will change fields DM_IOCTL_OPEN, DM_IOCTL_DEV in received dictionary,
* with dm device values with name or uuid from list.
*
*/
/*
- * DM_TABLE_STATUS == "status,table"
+ * DM_TABLE_STATUS == "status,table"
* Request list of device-mapper created devices from kernel.
*
* <array>
@@ -166,10 +166,10 @@
*
* params is string which contains {device} {parameters}
*
- */
+ */
/*
- * DM_TABLE_DEPS == "deps"
+ * DM_TABLE_DEPS == "deps"
* Request list active table device dependencies.
*
* This command is also run to get dm-device
@@ -181,7 +181,7 @@
* <integer>...</integer>
* </array>
*
- */
+ */
#define DM_IOCTL_COMMAND "command"
@@ -215,8 +215,8 @@
/* IO mode of device */
#define DM_READONLY_FLAG (1 << 0) /* In/Out *//* to kernel/from kernel */
#define DM_SUSPEND_FLAG (1 << 1) /* In/Out */
-/* XXX. This flag is undocumented. */
-#define DM_EXISTS_FLAG (1 << 2) /* In/Out */
+/* XXX. This flag is undocumented. */
+#define DM_EXISTS_FLAG (1 << 2) /* In/Out */
/* Minor number is persistent */
#define DM_PERSISTENT_DEV_FLAG (1 << 3) /* In */
Home |
Main Index |
Thread Index |
Old Index