summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_stripe.c
diff options
context:
space:
mode:
authortkusumi <tkusumi@NetBSD.org>2019-12-15 09:22:28 +0000
committertkusumi <tkusumi@NetBSD.org>2019-12-15 09:22:28 +0000
commitd5c19d0a2c3aaba1bfb20fbc8cf19049d89f6917 (patch)
tree77da5ad0be12c544691734607a3eaf117308c80e /sys/dev/dm/dm_target_stripe.c
parent2eb9a2ae16c3f8819f06c8c23a8e6ae5553dc0cd (diff)
dm: "unsigned" -> "unsigned int" for consistency
Use either one, but not both.
Diffstat (limited to 'sys/dev/dm/dm_target_stripe.c')
-rw-r--r--sys/dev/dm/dm_target_stripe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/dm/dm_target_stripe.c b/sys/dev/dm/dm_target_stripe.c
index b3efc2b7fc7..07ae1954269 100644
--- a/sys/dev/dm/dm_target_stripe.c
+++ b/sys/dev/dm/dm_target_stripe.c
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_stripe.c,v 1.36 2019/12/15 05:56:02 tkusumi Exp $*/
+/*$NetBSD: dm_target_stripe.c,v 1.37 2019/12/15 09:22:28 tkusumi Exp $*/
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_stripe.c,v 1.36 2019/12/15 05:56:02 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_stripe.c,v 1.37 2019/12/15 09:22:28 tkusumi Exp $");
/*
* This file implements initial version of device-mapper stripe target.
@@ -342,11 +342,11 @@ dm_target_stripe_upcall(dm_table_entry_t *table_en, struct buf *bp)
* to the least common multiple.
*/
int
-dm_target_stripe_secsize(dm_table_entry_t *table_en, unsigned *secsizep)
+dm_target_stripe_secsize(dm_table_entry_t *table_en, unsigned int *secsizep)
{
dm_target_linear_config_t *tlc;
dm_target_stripe_config_t *tsc;
- unsigned secsize;
+ unsigned int secsize;
secsize = 0;