Module Name: src Committed By: skrll Date: Tue Jul 21 21:42:15 UTC 2015
Modified Files: src/sys/dev: ccd.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.163 -r1.164 src/sys/dev/ccd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ccd.c diff -u src/sys/dev/ccd.c:1.163 src/sys/dev/ccd.c:1.164 --- src/sys/dev/ccd.c:1.163 Thu Jun 18 17:21:55 2015 +++ src/sys/dev/ccd.c Tue Jul 21 21:42:15 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: ccd.c,v 1.163 2015/06/18 17:21:55 christos Exp $ */ +/* $NetBSD: ccd.c,v 1.164 2015/07/21 21:42:15 skrll Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc. @@ -88,7 +88,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.163 2015/06/18 17:21:55 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.164 2015/07/21 21:42:15 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -278,7 +278,7 @@ ccdget(int unit, int make) { return sc; } -static void +static void ccdput(struct ccd_softc *sc) { mutex_enter(&ccd_lock); LIST_REMOVE(sc, sc_link); @@ -453,7 +453,7 @@ ccdinit(struct ccd_softc *cs, char **cpa dg->dg_nsectors = ccg->ccg_nsectors; dg->dg_ntracks = ccg->ccg_ntracks; dg->dg_ncylinders = ccg->ccg_ncylinders; - + if (cs->sc_ileave > 0) aprint_normal("%s: Interleaving %d component%s " "(%d block interleave)\n", cs->sc_xname, @@ -1197,7 +1197,7 @@ ccdioctl(dev_t dev, u_long cmd, void *da } } - error = disk_ioctl(&cs->sc_dkdev, dev, cmd, data, flag, l); + error = disk_ioctl(&cs->sc_dkdev, dev, cmd, data, flag, l); if (error != EPASSTHROUGH) goto out; @@ -1798,7 +1798,7 @@ ccd_components_sysctl(SYSCTLFN_ARGS) if (size == 0) return ENOENT; - names = kmem_zalloc(size, KM_SLEEP); + names = kmem_zalloc(size, KM_SLEEP); if (names == NULL) return ENOMEM; @@ -1809,7 +1809,7 @@ ccd_components_sysctl(SYSCTLFN_ARGS) if (sc->sc_unit == unit) { for (size_t i = 0; i < sc->sc_nccdisks; i++) { char *d = sc->sc_cinfo[i].ci_path; - while (p < ep && (*p++ = *d++) != '\0') + while (p < ep && (*p++ = *d++) != '\0') continue; } break;