Date: Mon, 5 Mar 2018 06:59:31 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r330446 - in stable/11: lib/libc/include lib/libc/sparc64/fpu lib/libedit lib/libefivar lib/msun/src sys/amd64/amd64 sys/dev/ath sys/dev/cadence sys/dev/de sys/dev/drm sys/dev/e1000 sys... Message-ID: <201803050659.w256xVAx071623@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Mon Mar 5 06:59:30 2018 New Revision: 330446 URL: https://svnweb.freebsd.org/changeset/base/330446 Log: MFC r327231,r327232: kernel: Fix several typos and minor errors lib: Fix several typos and minor errors - duplicate words - typos - references to old versions of FreeBSD Modified: stable/11/lib/libc/include/reentrant.h stable/11/lib/libc/sparc64/fpu/fpu_reg.h stable/11/lib/libedit/map.c stable/11/lib/libedit/refresh.c stable/11/lib/libefivar/uefi-dputil.c stable/11/lib/msun/src/catrig.c stable/11/sys/amd64/amd64/support.S stable/11/sys/dev/ath/if_ath.c stable/11/sys/dev/cadence/if_cgem.c stable/11/sys/dev/de/if_de.c stable/11/sys/dev/drm/mga_state.c stable/11/sys/dev/e1000/e1000_82543.c stable/11/sys/dev/isci/scil/scic_sds_remote_node_context.c stable/11/sys/dev/isci/scil/scif_sas_controller.c stable/11/sys/dev/iwm/if_iwmreg.h stable/11/sys/dev/mvs/mvs_pci.c stable/11/sys/dev/mwl/if_mwl.c stable/11/sys/dev/sfxge/common/siena_nvram.c stable/11/sys/dev/sio/sio.c stable/11/sys/dev/sound/isa/mss.h stable/11/sys/dev/syscons/scvgarndr.c stable/11/sys/fs/nfsclient/nfs_clrpcops.c stable/11/sys/i386/i386/support.s stable/11/sys/kern/vfs_subr.c stable/11/sys/mips/conf/BERI_SOCKIT stable/11/sys/net/altq/altq_hfsc.h stable/11/sys/net/bpf.c stable/11/sys/net80211/ieee80211_ht.c stable/11/sys/net80211/ieee80211_scan_sta.c stable/11/sys/powerpc/booke/locore.S stable/11/sys/sparc64/pci/sbbc.c stable/11/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/11/ (props changed) Modified: stable/11/lib/libc/include/reentrant.h ============================================================================== --- stable/11/lib/libc/include/reentrant.h Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/lib/libc/include/reentrant.h Mon Mar 5 06:59:30 2018 (r330446) @@ -65,7 +65,7 @@ * Implementation Details: * * The mutex primitives used by the library (mutex_t, mutex_lock, etc.) - * are macros which expand to the cooresponding primitives provided by + * are macros which expand to the corresponding primitives provided by * the thread engine or to nothing. The latter is used so that code is * not unreasonably cluttered with #ifdefs when all thread safe support * is removed. Modified: stable/11/lib/libc/sparc64/fpu/fpu_reg.h ============================================================================== --- stable/11/lib/libc/sparc64/fpu/fpu_reg.h Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/lib/libc/sparc64/fpu/fpu_reg.h Mon Mar 5 06:59:30 2018 (r330446) @@ -29,7 +29,7 @@ #define _LIBC_SPARC64_FPU_FPU_REG_H_ /* - * These are not really of type char[]. They are are arrays of functions defined + * These are not really of type char[]. They are arrays of functions defined * in fpu_reg.S; each array member loads/stores a certain fpu register of the * given size. */ Modified: stable/11/lib/libedit/map.c ============================================================================== --- stable/11/lib/libedit/map.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/lib/libedit/map.c Mon Mar 5 06:59:30 2018 (r330446) @@ -370,7 +370,7 @@ private const el_action_t el_map_vi_insert[] = { * NOTE: These mappings do NOT Correspond well * to the KSH VI editing assignments. * On the other and they are convenient and - * many people have have gotten used to them. + * many people have gotten used to them. */ /* 0 */ ED_UNASSIGNED, /* ^@ */ /* 1 */ ED_MOVE_TO_BEG, /* ^A */ Modified: stable/11/lib/libedit/refresh.c ============================================================================== --- stable/11/lib/libedit/refresh.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/lib/libedit/refresh.c Mon Mar 5 06:59:30 2018 (r330446) @@ -1148,7 +1148,7 @@ re_fastaddc(EditLine *el) /* re_clear_display(): - * clear the screen buffers so that new new prompt starts fresh. + * clear the screen buffers so that new prompt starts fresh. */ protected void re_clear_display(EditLine *el) Modified: stable/11/lib/libefivar/uefi-dputil.c ============================================================================== --- stable/11/lib/libefivar/uefi-dputil.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/lib/libefivar/uefi-dputil.c Mon Mar 5 06:59:30 2018 (r330446) @@ -134,7 +134,7 @@ GetDevicePathSize ( @param MaxSize The maximum size of the device path data structure. @retval TRUE DevicePath is valid. - @retval FALSE The length of any node node in the DevicePath is less + @retval FALSE The length of any node in the DevicePath is less than sizeof (EFI_DEVICE_PATH_PROTOCOL). @retval FALSE If MaxSize is not zero, the size of the DevicePath exceeds MaxSize. Modified: stable/11/lib/msun/src/catrig.c ============================================================================== --- stable/11/lib/msun/src/catrig.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/lib/msun/src/catrig.c Mon Mar 5 06:59:30 2018 (r330446) @@ -609,7 +609,7 @@ catanh(double complex z) if (ax < SQRT_3_EPSILON / 2 && ay < SQRT_3_EPSILON / 2) { /* * z = 0 was filtered out above. All other cases must raise - * inexact, but this is the only only that needs to do it + * inexact, but this is the only case that needs to do it * explicitly. */ raise_inexact(); Modified: stable/11/sys/amd64/amd64/support.S ============================================================================== --- stable/11/sys/amd64/amd64/support.S Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/amd64/amd64/support.S Mon Mar 5 06:59:30 2018 (r330446) @@ -565,7 +565,7 @@ END(subyte) * copyinstr(from, to, maxlen, int *lencopied) * %rdi, %rsi, %rdx, %rcx * - * copy a string from from to to, stop when a 0 character is reached. + * copy a string from 'from' to 'to', stop when a 0 character is reached. * return ENAMETOOLONG if string is longer than maxlen, and * EFAULT on protection violations. If lencopied is non-zero, * return the actual length in *lencopied. Modified: stable/11/sys/dev/ath/if_ath.c ============================================================================== --- stable/11/sys/dev/ath/if_ath.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/ath/if_ath.c Mon Mar 5 06:59:30 2018 (r330446) @@ -1007,9 +1007,8 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) sc->sc_txq_node_psq_maxdepth = 16; /* - * Default the maximum queue depth for a given node - * to 1/4'th the TX buffers, or 64, whichever - * is larger. + * Default the maximum queue to to 1/4'th the TX buffers, or + * 64, whichever is smaller. */ sc->sc_txq_node_maxdepth = MAX(64, ath_txbuf / 4); Modified: stable/11/sys/dev/cadence/if_cgem.c ============================================================================== --- stable/11/sys/dev/cadence/if_cgem.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/cadence/if_cgem.c Mon Mar 5 06:59:30 2018 (r330446) @@ -809,7 +809,7 @@ cgem_start_locked(if_t ifp) WR4(sc, CGEM_NET_CTRL, sc->net_ctl_shadow | CGEM_NET_CTRL_START_TX); - /* If there is a BPF listener, bounce a copy to to him. */ + /* If there is a BPF listener, bounce a copy to him. */ ETHER_BPF_MTAP(ifp, m); } } Modified: stable/11/sys/dev/de/if_de.c ============================================================================== --- stable/11/sys/dev/de/if_de.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/de/if_de.c Mon Mar 5 06:59:30 2018 (r330446) @@ -3918,7 +3918,7 @@ tulip_txput(tulip_softc_t * const sc, struct mbuf *m) * a bit reminiscent of going on the Ark two by two * since each descriptor for the TULIP can describe * two buffers. So we advance through packet filling - * each of the two entries at a time to to fill each + * each of the two entries at a time to fill each * descriptor. Clear the first and last segment bits * in each descriptor (actually just clear everything * but the end-of-ring or chain bits) to make sure Modified: stable/11/sys/dev/drm/mga_state.c ============================================================================== --- stable/11/sys/dev/drm/mga_state.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/drm/mga_state.c Mon Mar 5 06:59:30 2018 (r330446) @@ -258,7 +258,7 @@ static __inline__ void mga_g200_emit_pipe(drm_mga_priv MGA_WR42, 0x0000ffff, MGA_WR60, 0x0000ffff); - /* Padding required to to hardware bug. + /* Padding required due to hardware bug. */ DMA_BLOCK(MGA_DMAPAD, 0xffffffff, MGA_DMAPAD, 0xffffffff, @@ -340,7 +340,7 @@ static __inline__ void mga_g400_emit_pipe(drm_mga_priv MGA_WR52, MGA_G400_WR_MAGIC, /* tex1 width */ MGA_WR60, MGA_G400_WR_MAGIC); /* tex1 height */ - /* Padding required to to hardware bug */ + /* Padding required due to hardware bug */ DMA_BLOCK(MGA_DMAPAD, 0xffffffff, MGA_DMAPAD, 0xffffffff, MGA_DMAPAD, 0xffffffff, Modified: stable/11/sys/dev/e1000/e1000_82543.c ============================================================================== --- stable/11/sys/dev/e1000/e1000_82543.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/e1000/e1000_82543.c Mon Mar 5 06:59:30 2018 (r330446) @@ -1309,7 +1309,7 @@ static s32 e1000_check_for_copper_link_82543(struct e1 * turn it on. For compatibility with a TBI link * partner, we will store bad packets. Some * frames have an additional byte on the end and - * will look like CRC errors to to the hardware. + * will look like CRC errors to the hardware. */ if (!e1000_tbi_sbp_enabled_82543(hw)) { e1000_set_tbi_sbp_82543(hw, TRUE); Modified: stable/11/sys/dev/isci/scil/scic_sds_remote_node_context.c ============================================================================== --- stable/11/sys/dev/isci/scil/scic_sds_remote_node_context.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/isci/scil/scic_sds_remote_node_context.c Mon Mar 5 06:59:30 2018 (r330446) @@ -897,7 +897,7 @@ SCI_STATUS scic_sds_remote_node_context_tx_suspended_s * * @param[in] this_rnc The remote node context which is to receive the task * request. -* @param[in] the_request The task request to be transmitted to to the remote +* @param[in] the_request The task request to be transmitted to the remote * target device. * * @return SCI_STATUS Modified: stable/11/sys/dev/isci/scil/scif_sas_controller.c ============================================================================== --- stable/11/sys/dev/isci/scil/scif_sas_controller.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/isci/scil/scif_sas_controller.c Mon Mar 5 06:59:30 2018 (r330446) @@ -911,7 +911,7 @@ void scif_sas_controller_free_internal_request( fw_controller, fw_internal_request_buffer )); - //return the memory to to pool. + //return the memory to the pool. if( !sci_pool_full(fw_controller->internal_request_memory_pool) ) { sci_pool_put( Modified: stable/11/sys/dev/iwm/if_iwmreg.h ============================================================================== --- stable/11/sys/dev/iwm/if_iwmreg.h Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/iwm/if_iwmreg.h Mon Mar 5 06:59:30 2018 (r330446) @@ -3734,7 +3734,7 @@ struct iwm_uapsd_misbehaving_ap_notif { * beacon filtering; beacons will not be forced to be sent to driver * regardless of whether its temperature has been changed. * @bf_enable_beacon_filter: 1, beacon filtering is enabled; 0, disabled. - * @bf_filter_escape_timer: Send beacons to to driver if no beacons were passed + * @bf_filter_escape_timer: Send beacons to the driver if no beacons were passed * for a specific period of time. Units: Beacons. * @ba_escape_timer: Fully receive and parse beacon if no beacons were passed * for a longer period of time then this escape-timeout. Units: Beacons. Modified: stable/11/sys/dev/mvs/mvs_pci.c ============================================================================== --- stable/11/sys/dev/mvs/mvs_pci.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/mvs/mvs_pci.c Mon Mar 5 06:59:30 2018 (r330446) @@ -336,7 +336,7 @@ mvs_intr(void *data) ic = ATA_INL(ctlr->r_mem, CHIP_MIC); if (ctlr->msi) { - /* We have to to mask MSI during processing. */ + /* We have to mask MSI during processing. */ mtx_lock(&ctlr->mtx); ATA_OUTL(ctlr->r_mem, CHIP_MIM, 0); ctlr->msia = 1; /* Deny MIM update during processing. */ Modified: stable/11/sys/dev/mwl/if_mwl.c ============================================================================== --- stable/11/sys/dev/mwl/if_mwl.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/mwl/if_mwl.c Mon Mar 5 06:59:30 2018 (r330446) @@ -1237,7 +1237,7 @@ mwl_reset_vap(struct ieee80211vap *vap, int state) /* * Reset the hardware w/o losing operational state. - * Used to to reset or reload hardware state for a vap. + * Used to reset or reload hardware state for a vap. */ static int mwl_reset(struct ieee80211vap *vap, u_long cmd) Modified: stable/11/sys/dev/sfxge/common/siena_nvram.c ============================================================================== --- stable/11/sys/dev/sfxge/common/siena_nvram.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/sfxge/common/siena_nvram.c Mon Mar 5 06:59:30 2018 (r330446) @@ -525,7 +525,7 @@ siena_nvram_partn_get_version( : MC_CMD_NVRAM_TYPE_DYNAMIC_CFG_PORT1; /* * Ingore missing partitions on port 2, assuming they're due - * to to running on a single port part. + * to running on a single port part. */ if ((1 << dcfg_partn) & ~enp->en_u.siena.enu_partn_mask) { if (entry->port == 2) Modified: stable/11/sys/dev/sio/sio.c ============================================================================== --- stable/11/sys/dev/sio/sio.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/sio/sio.c Mon Mar 5 06:59:30 2018 (r330446) @@ -590,7 +590,7 @@ sioprobe(dev, xrid, rclk, noprobe) * junk after a (very fast) soft reboot and (apparently) after * master reset. * XXX what about the UART bug avoided by waiting in comparam()? - * We don't want to to wait long enough to drain at 2 bps. + * We don't want to wait long enough to drain at 2 bps. */ if (iobase == siocniobase) DELAY((16 + 1) * 1000000 / (comdefaultrate / 10)); Modified: stable/11/sys/dev/sound/isa/mss.h ============================================================================== --- stable/11/sys/dev/sound/isa/mss.h Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/sound/isa/mss.h Mon Mar 5 06:59:30 2018 (r330446) @@ -181,7 +181,7 @@ typedef struct mixer_def mixer_tab[32][2]; * The AD1848 codec has generic input lines called Line, Aux1 and Aux2. * Soundcard manufacturers have connected actual inputs (CD, synth, line, * etc) to these inputs in different order. Therefore it's difficult - * to assign mixer channels to to these inputs correctly. The following + * to assign mixer channels to these inputs correctly. The following * contains two alternative mappings. The first one is for GUS MAX and * the second is just a generic one (line1, line2 and line3). * (Actually this is not a mapping but rather some kind of interleaving Modified: stable/11/sys/dev/syscons/scvgarndr.c ============================================================================== --- stable/11/sys/dev/syscons/scvgarndr.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/dev/syscons/scvgarndr.c Mon Mar 5 06:59:30 2018 (r330446) @@ -467,7 +467,7 @@ draw_txtmouse(scr_stat *scp, int x, int y) } else #endif /* SC_ALT_MOUSE_IMAGE */ { - /* Red, magenta and brown are mapped to green to to keep it readable */ + /* Red, magenta and brown are mapped to green to keep it readable */ static const int col_conv[16] = { 6, 6, 6, 6, 2, 2, 2, 6, 14, 14, 14, 14, 10, 10, 10, 14 }; Modified: stable/11/sys/fs/nfsclient/nfs_clrpcops.c ============================================================================== --- stable/11/sys/fs/nfsclient/nfs_clrpcops.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/fs/nfsclient/nfs_clrpcops.c Mon Mar 5 06:59:30 2018 (r330446) @@ -5548,7 +5548,7 @@ nfscl_doiods(vnode_t vp, struct uio *uiop, int *iomode /* * Find a file layout that will handle the first bytes of the requested - * range and return the information from it needed to to the I/O operation. + * range and return the information from it needed to the I/O operation. */ int nfscl_findlayoutforio(struct nfscllayout *lyp, uint64_t off, uint32_t rwaccess, Modified: stable/11/sys/i386/i386/support.s ============================================================================== --- stable/11/sys/i386/i386/support.s Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/i386/i386/support.s Mon Mar 5 06:59:30 2018 (r330446) @@ -540,7 +540,7 @@ END(subyte) /* * copyinstr(from, to, maxlen, int *lencopied) - MP SAFE * - * copy a string from from to to, stop when a 0 character is reached. + * copy a string from 'from' to 'to', stop when a 0 character is reached. * return ENAMETOOLONG if string is longer than maxlen, and * EFAULT on protection violations. If lencopied is non-zero, * return the actual length in *lencopied. Modified: stable/11/sys/kern/vfs_subr.c ============================================================================== --- stable/11/sys/kern/vfs_subr.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/kern/vfs_subr.c Mon Mar 5 06:59:30 2018 (r330446) @@ -342,7 +342,7 @@ PCTRIE_DEFINE(BUF, buf, b_lblkno, buf_trie_alloc, buf_ * * Reevaluate the following cap on the number of vnodes after the physical * memory size exceeds 512GB. In the limit, as the physical memory size - * grows, the ratio of the memory size in KB to to vnodes approaches 64:1. + * grows, the ratio of the memory size in KB to vnodes approaches 64:1. */ #ifndef MAXVNODES_MAX #define MAXVNODES_MAX (512 * 1024 * 1024 / 64) /* 8M */ Modified: stable/11/sys/mips/conf/BERI_SOCKIT ============================================================================== --- stable/11/sys/mips/conf/BERI_SOCKIT Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/mips/conf/BERI_SOCKIT Mon Mar 5 06:59:30 2018 (r330446) @@ -2,7 +2,7 @@ # BERI_SOCKIT -- Kernel for the SRI/Cambridge "BERI" (Bluespec Extensible # RISC Implementation) FPGA soft core, as configured in its Terasic SoCKit # reference configuration. This kernel configration must be further -# specialized to to include a root filesystem specification. +# specialized to include a root filesystem specification. # # $FreeBSD$ # Modified: stable/11/sys/net/altq/altq_hfsc.h ============================================================================== --- stable/11/sys/net/altq/altq_hfsc.h Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/net/altq/altq_hfsc.h Mon Mar 5 06:59:30 2018 (r330446) @@ -192,7 +192,7 @@ struct hfsc_class_stats { * representation. * the slope values are scaled to avoid overflow. * the inverse slope values as well as the y-projection of the 1st - * segment are kept in order to to avoid 64-bit divide operations + * segment are kept in order to avoid 64-bit divide operations * that are expensive on 32-bit architectures. * * note: Intel Pentium TSC never wraps around in several thousands of years. Modified: stable/11/sys/net/bpf.c ============================================================================== --- stable/11/sys/net/bpf.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/net/bpf.c Mon Mar 5 06:59:30 2018 (r330446) @@ -687,7 +687,7 @@ bpf_check_upgrade(u_long cmd, struct bpf_d *d, struct * Check if cmd looks like snaplen setting from * pcap_bpf.c:pcap_open_live(). * Note we're not checking .k value here: - * while pcap_open_live() definitely sets to to non-zero value, + * while pcap_open_live() definitely sets to non-zero value, * we'd prefer to treat k=0 (deny ALL) case the same way: e.g. * do not consider upgrading immediately */ Modified: stable/11/sys/net80211/ieee80211_ht.c ============================================================================== --- stable/11/sys/net80211/ieee80211_ht.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/net80211/ieee80211_ht.c Mon Mar 5 06:59:30 2018 (r330446) @@ -2965,7 +2965,7 @@ ieee80211_add_htinfo_body(uint8_t *frm, struct ieee802 } /* - * Add 802.11n HT information information element. + * Add 802.11n HT information element. */ uint8_t * ieee80211_add_htinfo(uint8_t *frm, struct ieee80211_node *ni) Modified: stable/11/sys/net80211/ieee80211_scan_sta.c ============================================================================== --- stable/11/sys/net80211/ieee80211_scan_sta.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/net80211/ieee80211_scan_sta.c Mon Mar 5 06:59:30 2018 (r330446) @@ -116,7 +116,7 @@ static void sta_flush_table(struct sta_table *); /* * match_bss returns a bitmask describing if an entry is suitable * for use. If non-zero the entry was deemed not suitable and it's - * contents explains why. The following flags are or'd to to this + * contents explains why. The following flags are or'd to this * mask and can be used to figure out why the entry was rejected. */ #define MATCH_CHANNEL 0x00001 /* channel mismatch */ Modified: stable/11/sys/powerpc/booke/locore.S ============================================================================== --- stable/11/sys/powerpc/booke/locore.S Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/powerpc/booke/locore.S Mon Mar 5 06:59:30 2018 (r330446) @@ -79,7 +79,7 @@ __start: * - Switch to temp mapping * - Map 64MB of RAM in TLB1[1] * - Use AS=1, set EPN to KERNBASE and RPN to kernel load address - * - Switch to to TLB1[1] mapping + * - Switch to TLB1[1] mapping * - Invalidate temp mapping * * locore registers use: Modified: stable/11/sys/sparc64/pci/sbbc.c ============================================================================== --- stable/11/sys/sparc64/pci/sbbc.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/sparc64/pci/sbbc.c Mon Mar 5 06:59:30 2018 (r330446) @@ -325,7 +325,7 @@ sbbc_pci_attach(device_t dev) int error, rid; uint32_t val; - /* Nothing to to if we're not the chosen one. */ + /* Nothing to do if we're not the chosen one. */ if ((node = OF_finddevice("/chosen")) == -1) { device_printf(dev, "failed to find /chosen\n"); return (ENXIO); Modified: stable/11/sys/ufs/ffs/ffs_softdep.c ============================================================================== --- stable/11/sys/ufs/ffs/ffs_softdep.c Mon Mar 5 06:52:26 2018 (r330445) +++ stable/11/sys/ufs/ffs/ffs_softdep.c Mon Mar 5 06:59:30 2018 (r330446) @@ -6900,7 +6900,7 @@ softdep_setup_freeblocks(ip, length, flags) UFS_UNLOCK(ump); DIP_SET(ip, i_blocks, DIP(ip, i_blocks) - datablocks); /* - * Push the zero'ed inode to to its disk buffer so that we are free + * Push the zero'ed inode to its disk buffer so that we are free * to delete its dependencies below. Once the dependencies are gone * the buffer can be safely released. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803050659.w256xVAx071623>