]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
2 years agovmm_instruction_emul.c: fix bhyve build
Robert Wing [Sun, 10 Apr 2022 21:37:24 +0000 (13:37 -0800)]
vmm_instruction_emul.c: fix bhyve build

The __diagused macro was used to cure a "set but not used" warning. This
broke the build for bhyve since __diagused is only defined in the
kernel. Define __diagused when not building the kernel.

Fixes: 5241577a223d ("vmm: fix set but not used warning")
Reported by:    Jenkins

2 years agobsdinstall: filter out disks that are unavailable from the list of options in ZFS
Brad Davis [Sun, 10 Apr 2022 19:59:31 +0000 (13:59 -0600)]
bsdinstall: filter out disks that are unavailable from the list of options in ZFS

Reviewed by: allanjude, rew
Differential Revision: https://reviews.freebsd.org/D34167
Sponsored by: Rubicon Communications, LLC ("Netgate")

2 years agonfscl: Clean up the code by removing unused arguments
Rick Macklem [Sun, 10 Apr 2022 21:05:44 +0000 (14:05 -0700)]
nfscl: Clean up the code by removing unused arguments

The "void *stuff" (also called fstuff and dstuff) argument
was used by the Mac OSX port.  For FreeBSD, this argument
is always NULL, so remove it to clean up the code.

This commit gets rid of "stuff" for nfscl_request().
Future commits will do the same for other functions.

2 years agovmm: fix set but not used warning
Robert Wing [Sun, 10 Apr 2022 18:30:19 +0000 (10:30 -0800)]
vmm: fix set but not used warning

2 years agovmm: fix set but not used warning
Robert Wing [Sun, 10 Apr 2022 18:30:16 +0000 (10:30 -0800)]
vmm: fix set but not used warning

2 years agovmm: fix set but not used warning
Robert Wing [Sun, 10 Apr 2022 18:30:14 +0000 (10:30 -0800)]
vmm: fix set but not used warning

2 years agovmm: fix set but not used warnings
Robert Wing [Sun, 10 Apr 2022 18:30:11 +0000 (10:30 -0800)]
vmm: fix set but not used warnings

2 years agovmm: fix set but not used warnings
Robert Wing [Sun, 10 Apr 2022 18:30:08 +0000 (10:30 -0800)]
vmm: fix set but not used warnings

2 years agovmm: fix set but not used warning
Robert Wing [Sun, 10 Apr 2022 18:30:05 +0000 (10:30 -0800)]
vmm: fix set but not used warning

2 years agoOnly return a mapped address from efi_phys_to_kva
Andrew Turner [Sat, 9 Apr 2022 11:43:08 +0000 (12:43 +0100)]
Only return a mapped address from efi_phys_to_kva

On some hardware the EFI system table is not in memory mapped in the
DMAP section. Rather than panic the kernel check if it is mapped and
return a failure if not from efi_phys_to_kva.

Reported by: kevans
Differential Revision: https://reviews.freebsd.org/D34858

2 years agoInclude the EFI Runtime Code in the DMAP
Andrew Turner [Sat, 9 Apr 2022 20:17:43 +0000 (21:17 +0100)]
Include the EFI Runtime Code in the DMAP

Some UEFI implementations place the system table in a runtime code
memory region. Include it in the DMAP so we can read it later.

Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D34861

2 years agoUPDATING: Fix a few typos
Gordon Bergling [Sun, 10 Apr 2022 08:11:17 +0000 (10:11 +0200)]
UPDATING: Fix a few typos

- s/configuation/configuration/
- s/comitted/committed/
- s/verison/version/

MFC after: 3 days

2 years agobhyve: use linker set for ipc commands
Robert Wing [Sun, 10 Apr 2022 02:46:00 +0000 (18:46 -0800)]
bhyve: use linker set for ipc commands

Reviewed by: markj, jhb
Differential Revision: https://reviews.freebsd.org/D34760

2 years agonfscl: Clean up the code by removing unused arguments
Rick Macklem [Sun, 10 Apr 2022 01:53:25 +0000 (18:53 -0700)]
nfscl: Clean up the code by removing unused arguments

The "void *stuff" (also called fstuff and dstuff) argument
was used by the Mac OSX port.  For FreeBSD, this argument
is always NULL, so remove it to clean up the code.

This commit gets rid of "stuff" for nfscl_postop_attr().
Future commits will do the same for other functions.

2 years agonfscl: Ansify a function header
Rick Macklem [Sat, 9 Apr 2022 22:14:05 +0000 (15:14 -0700)]
nfscl: Ansify a function header

2 years agoDocument procstat(1) advlock command
Konstantin Belousov [Thu, 7 Apr 2022 19:49:54 +0000 (22:49 +0300)]
Document procstat(1) advlock command

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34834

2 years agoImplement procstat(1) advlocks command
Konstantin Belousov [Sat, 2 Apr 2022 14:13:17 +0000 (17:13 +0300)]
Implement procstat(1) advlocks command

to display list of the advisory file locks in the system.

Example output
$ procstat advlock
RW  TYPE   PID SYSID          FSID               RDEV   INO START LEN PATH
RO FCNTL  5836     0  0x878700ff02 0xffffffffffffffff    57     0   0 /tmp/2
RW FLOCK    -1     0  0x878700ff02 0xffffffffffffffff    13     0   0 /tmp/1

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34834

2 years agoprocstat(1): add ability to specify subcommands not requiring pid lists
Konstantin Belousov [Thu, 7 Apr 2022 18:27:12 +0000 (21:27 +0300)]
procstat(1): add ability to specify subcommands not requiring pid lists

Add PS_MODE_NO_KINFO_PROC cmd modifier that indicates that neither
process list should be queried from the kernel, nor list of pids or `-a`
switch provided on the command line to filter the output.

This is intended for use by commands that query information not
neccessary attributed to specific process.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34834

2 years agolibprocstat: document procstat_getadvlock(3)
Konstantin Belousov [Sun, 3 Apr 2022 14:54:27 +0000 (17:54 +0300)]
libprocstat: document procstat_getadvlock(3)

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agolibprocstat: add procstat_getadvlock(3)
Konstantin Belousov [Sun, 3 Apr 2022 14:42:03 +0000 (17:42 +0300)]
libprocstat: add procstat_getadvlock(3)

For now, only for sysctl target.  This is not a new situation, for
instance kstacks also work for sysctl only.

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agoAdd sysctl KERN_LOCKF
Konstantin Belousov [Fri, 1 Apr 2022 23:23:06 +0000 (02:23 +0300)]
Add sysctl KERN_LOCKF

reporting the shapshot of the active advisory locks.

A new VFS ops method vfs_report_lockf if provided in the mount point
op table.  If it is NULL, as it is currently for all existing
filesystems, vfs_report_lockf() function is used, which gathers
information from the standard implementation inside kern/kern_lockf.c.

Filesystems implementing its own locking (NFSv4 as example) can provide
a custom implementation.

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agosys/user.h: Add kinfo_lockf structure to report advisory locks
Konstantin Belousov [Fri, 1 Apr 2022 21:19:35 +0000 (00:19 +0300)]
sys/user.h: Add kinfo_lockf structure to report advisory locks

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agokern_lockf.c: remove no longer neeeded UFS headers
Konstantin Belousov [Fri, 1 Apr 2022 21:05:32 +0000 (00:05 +0300)]
kern_lockf.c: remove no longer neeeded UFS headers

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agolockf: remove lf_inode from struct lockf_entry
Konstantin Belousov [Fri, 1 Apr 2022 20:34:59 +0000 (23:34 +0300)]
lockf: remove lf_inode from struct lockf_entry

The UFS-specific struct inode cannot be used in generic advisory lock
code.  It was probably used as a shortcut for the debugging, as the
remnants of the code around it indicates.

Use somewhat more verbose and less concentrated, but universal,
VOP_PRINT(), where needed.

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agoufs/acl.h: forward-declare struct inode
Konstantin Belousov [Fri, 1 Apr 2022 20:31:47 +0000 (23:31 +0300)]
ufs/acl.h: forward-declare struct inode

Right now it is incidentally declared in sys/lockf.h, which will be
corrected shortly.

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agoStyle.
Konstantin Belousov [Fri, 1 Apr 2022 20:28:32 +0000 (23:28 +0300)]
Style.

Reviewed by: markj, rmacklem
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34756

2 years agomount: use pidfile_signal
Mateusz Guzik [Fri, 11 Mar 2022 11:02:28 +0000 (11:02 +0000)]
mount: use pidfile_signal

This fixes a performance problem where poudriere -j 104 keeps remounting
filesystems, which induce wanting to signal mountd, if running. The
current code tries to do it by creating the pidfile in /var/run and
unlinking it if the operation succeeds, inducing contention against
anything doing an exec as it tries to look up /var/run/ld-elf.so.hints

Differential Revision: https://reviews.freebsd.org/D34681

2 years agopidfile: add pidfile_signal
Mateusz Guzik [Fri, 11 Mar 2022 11:01:50 +0000 (11:01 +0000)]
pidfile: add pidfile_signal

Differential Revision: https://reviews.freebsd.org/D34681

2 years agonetgraph(3): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:41:40 +0000 (14:41 +0200)]
netgraph(3): Remove a double word in a source code comment

- s/it it/it/

MFC after: 3 days

2 years agoofed: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:39:36 +0000 (14:39 +0200)]
ofed: Fix a typo in a source code comment

- s/it it/it to/

MFC after: 3 days

2 years agofsck_ffs(8): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:37:13 +0000 (14:37 +0200)]
fsck_ffs(8): Fix a typo in a source code comment

- s/it it/if it/

MFC after: 3 days

2 years agorouted(8): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:36:20 +0000 (14:36 +0200)]
routed(8): Remove a double word in a source code comment

- s/it it/it/

MFC after: 3 days

2 years agobhnd(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:31:19 +0000 (14:31 +0200)]
bhnd(4): Remove a double word in a source code comment

- s/an an/an/

MFC after: 3 days

2 years agoi386: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:30:34 +0000 (14:30 +0200)]
i386: Remove a double word in a source code comment

- s/an an/an/

MFC after: 3 days

2 years agopax(1): Remove a few double words in source code comments
Gordon Bergling [Sat, 9 Apr 2022 12:26:19 +0000 (14:26 +0200)]
pax(1): Remove a few double words in source code comments

- s/an an/an/

MFC after: 3 days

2 years agonetpfil: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:20:09 +0000 (14:20 +0200)]
netpfil: Remove a double word in a source code comment

- s/a a/a/

MFC after: 3 days

2 years agojail: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:19:17 +0000 (14:19 +0200)]
jail: Remove a double word in a source code comment

- s/a a/a/

MFC after: 3 days

2 years agompt(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:10:05 +0000 (14:10 +0200)]
mpt(4): Fix a typo in a source code comment

- s/proccessor/processor/

MFC after: 3 days

2 years agolibipsec: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:08:47 +0000 (14:08 +0200)]
libipsec: Fix a typo in a source code comment

- s/proccessing/processing/

MFC after: 3 days

2 years agohastd(8): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 12:05:25 +0000 (14:05 +0200)]
hastd(8): Fix a typo in a source code comment

- s/proccesses/processes/

MFC after: 3 days

2 years agotcp_bbr(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 11:26:20 +0000 (13:26 +0200)]
tcp_bbr(4): Fix a typo in a source code comment

- s/possiblity/possibility/

MFC after: 3 days

2 years agotcp_rack: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 11:25:50 +0000 (13:25 +0200)]
tcp_rack: Fix a typo in a source code comment

- s/possiblity/possibility/

MFC after: 3 days

2 years agonetgraph(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:40:14 +0000 (11:40 +0200)]
netgraph(4): Fix a typo in a source code comment

- s/peform/perform/

MFC after: 3 days

2 years agonet: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:37:57 +0000 (11:37 +0200)]
net: Fix a typo in a source code comment

- s/peform/perform/

MFC after: 3 days

2 years agogetenv(3): Fix two typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 09:36:48 +0000 (11:36 +0200)]
getenv(3): Fix two typos in source code comments

- s/peform/perform/

MFC after: 3 days

2 years agoal_eth: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:06:18 +0000 (11:06 +0200)]
al_eth: Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agoce(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:05:38 +0000 (11:05 +0200)]
ce(4): Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agoiwm(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:04:23 +0000 (11:04 +0200)]
iwm(4): Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agousb(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:02:23 +0000 (11:02 +0200)]
usb(4): Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agoiscsi(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:01:43 +0000 (11:01 +0200)]
iscsi(4): Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agoofed: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 09:00:48 +0000 (11:00 +0200)]
ofed: Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agosys: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 08:58:31 +0000 (10:58 +0200)]
sys: Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agosfxge(4): Remove a double word in a few source code comments
Gordon Bergling [Sat, 9 Apr 2022 08:57:31 +0000 (10:57 +0200)]
sfxge(4): Remove a double word in a few source code comments

- s/for for/for/

MFC after: 3 days

2 years agoath(4): Remove a double word in a few source code comments
Gordon Bergling [Sat, 9 Apr 2022 08:55:00 +0000 (10:55 +0200)]
ath(4): Remove a double word in a few source code comments

- s/for for/for/

MFC after: 3 days

2 years agoips(4): Remove a double word in a few source code comments
Gordon Bergling [Sat, 9 Apr 2022 08:53:50 +0000 (10:53 +0200)]
ips(4): Remove a double word in a few source code comments

- s/for for/for/

MFC after: 3 days

2 years agoena(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 08:50:49 +0000 (10:50 +0200)]
ena(4): Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agokern: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 08:50:04 +0000 (10:50 +0200)]
kern: Remove a double word in a source code comment

- s/for for/for/

MFC after: 3 days

2 years agoUPDATING: Remove a double word in an entry
Gordon Bergling [Sat, 9 Apr 2022 08:35:37 +0000 (10:35 +0200)]
UPDATING: Remove a double word in an entry

- s/for for/for/

MFC after: 3 days

2 years agousb: Remove some double words in source code comments
Gordon Bergling [Sat, 9 Apr 2022 08:34:48 +0000 (10:34 +0200)]
usb: Remove some double words in source code comments

- s/for for/for/

MFC after: 3 days

2 years agoNOTES: Remove a double word in comments
Gordon Bergling [Sat, 9 Apr 2022 08:31:49 +0000 (10:31 +0200)]
NOTES: Remove a double word in comments

- s/for for/for/

MFC after: 3 days

2 years agoe1000: Fix a typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 08:05:32 +0000 (10:05 +0200)]
e1000: Fix a typos in source code comments

- s/negotation/negotiation/

MFC after: 3 days

2 years agocam(4): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 08:04:33 +0000 (10:04 +0200)]
cam(4): Remove a double word in a source code comment

- s/this this/this/

MFC after: 3 days

2 years agousb(4): Fix two typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 08:03:48 +0000 (10:03 +0200)]
usb(4): Fix two typos in source code comments

- s/negotation/negotiation/

MFC after: 3 days

2 years agoumount(8): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 08:02:14 +0000 (10:02 +0200)]
umount(8): Remove a double word in a source code comment

- s/this this/this/

MFC after: 3 days

2 years agomath(3): Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 08:01:10 +0000 (10:01 +0200)]
math(3): Remove a double word in a source code comment

- s/is is/is/

MFC after: 3 days

2 years agolibkern: Fix two typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 07:36:34 +0000 (09:36 +0200)]
libkern: Fix two typos in source code comments

- s/noticably/noticeably/

MFC after: 3 days

2 years agoqlnxe(4): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 18:46:27 +0000 (20:46 +0200)]
qlnxe(4): Fix a typo in a source code comment

- s/mulitple/multiple/

MFC after: 3 days

2 years agoipnat(5): Fix a double word in the manual page
Gordon Bergling [Fri, 8 Apr 2022 18:49:08 +0000 (20:49 +0200)]
ipnat(5): Fix a double word in the manual page

- s/be be/be/

MFC after: 3 days

2 years agodrm2: Fix a typo in a source code comment
Gordon Bergling [Sun, 27 Mar 2022 16:36:32 +0000 (18:36 +0200)]
drm2: Fix a typo in a source code comment

- s/mmaping/mapping/

MFC after: 3 days

2 years agodhclient(8): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 18:50:48 +0000 (20:50 +0200)]
dhclient(8): Fix a typo in a source code comment

- s/explicitely/explicitly/

MFC after: 3 days

2 years agostand: Remove a double word in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 18:52:08 +0000 (20:52 +0200)]
stand: Remove a double word in a source code comment

- s/be be/be/

MFC after: 3 days

2 years agofstyp(8): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 18:53:45 +0000 (20:53 +0200)]
fstyp(8): Fix a typo in a source code comment

- s/Miscellanious/Miscellaneous/

MFC after: 3 days

2 years agobhnd(4): Remove some double words in source code comments
Gordon Bergling [Fri, 8 Apr 2022 18:57:15 +0000 (20:57 +0200)]
bhnd(4): Remove some double words in source code comments

- s/be be/be/
- s/is is/is/

MFC after: 3 days

2 years agocxgbe(4): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 18:58:47 +0000 (20:58 +0200)]
cxgbe(4): Fix a typo in a source code comment

- s/simultaniously/simultaneously/

MFC after: 3 days

2 years agoice: Remove a double word in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 19:00:23 +0000 (21:00 +0200)]
ice: Remove a double word in a source code comment

- s/is is/is/

MFC after: 3 days

2 years agoneta: Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 19:01:25 +0000 (21:01 +0200)]
neta: Fix a typo in a source code comment

- s/maintance/maintenance/

MFC after: 3 days

2 years agonvme(4): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 19:02:19 +0000 (21:02 +0200)]
nvme(4): Fix a typo in a source code comment

- s/is is/is/

MFC after: 3 days

2 years agosym(4): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 19:04:01 +0000 (21:04 +0200)]
sym(4): Fix a typo in a source code comment

- s/explicitely/explicitly/

MFC after: 3 days

2 years agosound(4): Fix a typo in a source code comment
Gordon Bergling [Fri, 8 Apr 2022 19:04:44 +0000 (21:04 +0200)]
sound(4): Fix a typo in a source code comment

- s/Miscellanious/Miscellaneous/

MFC after: 3 days

2 years agosfxge(4): Remove some double words in source code comments
Gordon Bergling [Fri, 8 Apr 2022 19:06:22 +0000 (21:06 +0200)]
sfxge(4): Remove some double words in source code comments

- s/is is/is/

MFC after: 3 days

2 years agoresolver(3): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 06:51:47 +0000 (08:51 +0200)]
resolver(3): Fix a typo in a source code comment

- s/psuedo/pseudo/

MFC after: 3 days

2 years agorandom(3): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 06:52:28 +0000 (08:52 +0200)]
random(3): Fix a typo in a source code comment

- s/psuedo/pseudo/

MFC after: 3 days

2 years agokern: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 06:53:17 +0000 (08:53 +0200)]
kern: Fix a typo in a source code comment

- s/is is/is/

MFC after: 3 days

2 years agopowerpc: Fix two typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 06:54:01 +0000 (08:54 +0200)]
powerpc: Fix two typos in source code comments

- s/mutiplying/multiplying/

MFC after: 3 days

2 years agolibalias(3): Fix two typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 06:54:56 +0000 (08:54 +0200)]
libalias(3): Fix two typos in source code comments

- s/modfied/modified/

MFC after: 3 days

2 years agonet80211(4): Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 06:56:04 +0000 (08:56 +0200)]
net80211(4): Fix a typo in a source code comment

- s/is is/is/

MFC after: 3 days

2 years agonetpfil: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 06:57:18 +0000 (08:57 +0200)]
netpfil: Fix a typo in a source code comment

- s/maintance/maintenance/

MFC after: 3 days

2 years agoeventhandler: Remove a double world in two comments
Gordon Bergling [Sat, 9 Apr 2022 06:58:18 +0000 (08:58 +0200)]
eventhandler: Remove a double world in two comments

- s/be be/be/

MFC after: 3 days

2 years agoufs: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 06:59:14 +0000 (08:59 +0200)]
ufs: Fix a typo in a source code comment

- s/explicitely/explicitly/

MFC after: 3 days

2 years agoofed: Remove a double word in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 07:00:14 +0000 (09:00 +0200)]
ofed: Remove a double word in a source code comment

- s/is is/is/

MFC after: 3 days

2 years agotcp_rack: Fix a few typos in sysctl descriptions and comments
Gordon Bergling [Sat, 9 Apr 2022 07:04:59 +0000 (09:04 +0200)]
tcp_rack: Fix a few typos in sysctl descriptions and comments

- s/postion/position/
- s/postions/positions/
- s/repostion/reposition/

MFC after: 5 days

2 years agotcp_htps: Fix a typo in a source code comment
Gordon Bergling [Sat, 9 Apr 2022 07:01:38 +0000 (09:01 +0200)]
tcp_htps: Fix a typo in a source code comment

- s/postion/position/

MFC after: 3 days

2 years agotcp_bbr(4): Fix two typos in source code comments
Gordon Bergling [Sat, 9 Apr 2022 07:03:29 +0000 (09:03 +0200)]
tcp_bbr(4): Fix two typos in source code comments

- s/postive/positive/
- s/postion/position/

MFC after: 3days

2 years agonvme: new define for size of host memory buffer sizes
Warner Losh [Sat, 9 Apr 2022 05:01:06 +0000 (23:01 -0600)]
nvme: new define for size of host memory buffer sizes

The nvme spec defines the various fields that specify sizes for host
memory buffers in terms of 4096 chunks. So, rather than use a bare 4096
here, use NVME_HMB_UNITS. This is explicitly not the host page size of
4096, nor the default memory page size (mps) of the NVMe drive, but its
own thing and needs its own define.

No functional change is intended, only the logical spelling of 4k.

Sponsored by: Netflix

2 years agoarm ti: Remove unused variables.
John Baldwin [Sat, 9 Apr 2022 01:31:30 +0000 (18:31 -0700)]
arm ti: Remove unused variables.

2 years agoti_adc: Use void cast instead of a dummy variable.
John Baldwin [Sat, 9 Apr 2022 01:31:30 +0000 (18:31 -0700)]
ti_adc: Use void cast instead of a dummy variable.

2 years agoti_prm: Use existing dev in debug traces and remove unused sc.
John Baldwin [Sat, 9 Apr 2022 01:31:30 +0000 (18:31 -0700)]
ti_prm: Use existing dev in debug traces and remove unused sc.

2 years agoarm ti_scm_syscon: Remove unused variable.
John Baldwin [Sat, 9 Apr 2022 01:31:30 +0000 (18:31 -0700)]
arm ti_scm_syscon: Remove unused variable.

Note that bus_generic_probe never fails.

2 years agork_usbphy: Remove unused variable.
John Baldwin [Sat, 9 Apr 2022 01:31:29 +0000 (18:31 -0700)]
rk_usbphy: Remove unused variable.

2 years agocesa: Remove unused variable.
John Baldwin [Sat, 9 Apr 2022 01:31:29 +0000 (18:31 -0700)]
cesa: Remove unused variable.