compress: remove cat_opts and decomp_opts, add static

2022-10-22 Thread Todd C . Miller
The cat_opts and decomp_opts fields in struct compressor are unused so just remove them. Also mark functions unused outside of main.c as static. - todd Index: usr.bin/compress/main.c === RCS file:

Re: tsc: AMD Family 17h, 19h: compute frequency from MSRs

2022-10-22 Thread Mark Kettenis
> Date: Sat, 22 Oct 2022 13:43:23 -0500 > From: Scott Cheloha > > On Fri, Oct 07, 2022 at 12:38:24PM -0500, Scott Cheloha wrote: > > On Fri, Oct 07, 2022 at 11:27:45AM -0500, Scott Cheloha wrote: > > > On Fri, Oct 07, 2022 at 09:34:46AM -0500, Scott Cheloha wrote: > > > > On Thu, Sep 29, 2022 at

Re: tsc: AMD Family 17h, 19h: compute frequency from MSRs

2022-10-22 Thread Scott Cheloha
On Fri, Oct 07, 2022 at 12:38:24PM -0500, Scott Cheloha wrote: > On Fri, Oct 07, 2022 at 11:27:45AM -0500, Scott Cheloha wrote: > > On Fri, Oct 07, 2022 at 09:34:46AM -0500, Scott Cheloha wrote: > > > On Thu, Sep 29, 2022 at 09:14:51AM -0500, Scott Cheloha wrote: > > > > This patch computes the

installboot: skip keydisk silently

2022-10-22 Thread Klemens Nanni
Logging the presence of a keydisk the same way offline data chunks are reported seems unjustified. Noting offline chunks serves as warning, so the user can bring them online and update bootblocks. Keydisks, however, are not to be touched by installboot(8) in any case and whether they're

Re: netstart: fix synopsis

2022-10-22 Thread Klemens Nanni
On Sat, Oct 22, 2022 at 04:11:25PM +0200, Theo Buehler wrote: > > I don't think we have another script in base that is meant to be run > > manually, so netstart(8) stands out. > > MAKEDEV Right, what I meant was "to be run manually **as argument to sh(1)**". I keep doing `cd /dev; sh MAKEDEV

Re: netstart: fix synopsis

2022-10-22 Thread Theo Buehler
On Sat, Oct 22, 2022 at 04:11:25PM +0200, Theo Buehler wrote: > > I don't think we have another script in base that is meant to be run > > manually, so netstart(8) stands out. > > MAKEDEV And it turns out I can't read ls output

Re: netstart: fix synopsis

2022-10-22 Thread Theo Buehler
> I don't think we have another script in base that is meant to be run > manually, so netstart(8) stands out. MAKEDEV

Re: netstart: fix synopsis

2022-10-22 Thread Klemens Nanni
On Sat, Oct 22, 2022 at 07:24:21AM +0100, Jason McIntyre wrote: > On Fri, Oct 21, 2022 at 06:58:52PM +, Klemens Nanni wrote: > > But now that I see your diff, I think we should actually include `sh' > > in the synopsis since /etc/netstart is not executable, so the documented > > form does not

Re: [acpi] patch to run _INI methods before table devices attach

2022-10-22 Thread Mikhail
On Sat, Oct 22, 2022 at 01:41:23PM +0200, Mark Kettenis wrote: > > I continue my fight with ACPI on Lenovo IdeaPad 3 14ITL05, now, when > > battery status problem has been resolved[1] next target is backlight > > brightness keys. > > Well it hasn't been resolved yet. The firmware is clearly

Re: sparc64: constify ddb instruction table

2022-10-22 Thread Mark Kettenis
> Date: Sat, 22 Oct 2022 11:21:17 + > From: Klemens Nanni > > On Fri, Oct 21, 2022 at 10:55:57PM +0200, Mark Kettenis wrote: > > Be careful. By moving more stuff into .rodata, you may overflow the > > .text/.rodata block. Make sure you build and test the kernels and > > also test an actual

Re: [acpi] patch to run _INI methods before table devices attach

2022-10-22 Thread Mark Kettenis
> Date: Sat, 22 Oct 2022 11:26:31 +0300 > From: Mikhail > > I continue my fight with ACPI on Lenovo IdeaPad 3 14ITL05, now, when > battery status problem has been resolved[1] next target is backlight > brightness keys. Well it hasn't been resolved yet. The firmware is clearly broken, and we

Re: sparc64: constify ddb instruction table

2022-10-22 Thread Klemens Nanni
On Fri, Oct 21, 2022 at 10:55:57PM +0200, Mark Kettenis wrote: > Be careful. By moving more stuff into .rodata, you may overflow the > .text/.rodata block. Make sure you build and test the kernels and > also test an actual bsd.rd. Yes, I keep testing bsd and bsd.rd/miniroot on amd64 and

Re: [PATCH] [src] share/man/man8/rc.subr.8 - normalise markup

2022-10-22 Thread Antoine Jacoutot
On Wed, Oct 19, 2022 at 10:42:18PM +0100, Raf Czlonka wrote: > On Fri, May 27, 2022 at 01:28:07PM BST, Antoine Jacoutot wrote: > > > > rc.subr.8 committed, thanks. > > Hi Antoine, > > I only just noticed that the diff hasn't been applied/committed in > its entirety - only the "daemon Ns

[acpi] patch to run _INI methods before table devices attach

2022-10-22 Thread Mikhail
I continue my fight with ACPI on Lenovo IdeaPad 3 14ITL05, now, when battery status problem has been resolved[1] next target is backlight brightness keys. With the inlined patch and explicitly specified correct EC_ID in the code I'm able to control brightness with functional keys. The patch moves

Re: kqueue.2: Add a comma

2022-10-22 Thread Jason McIntyre
On Fri, Oct 21, 2022 at 07:05:03PM -0400, Josiah Frentsos wrote: > Index: kqueue.2 > === > RCS file: /cvs/src/lib/libc/sys/kqueue.2,v > retrieving revision 1.46 > diff -u -p -r1.46 kqueue.2 > --- kqueue.2 31 Mar 2022 17:27:16 -

Re: netstart: fix synopsis

2022-10-22 Thread Jason McIntyre
On Fri, Oct 21, 2022 at 06:58:52PM +, Klemens Nanni wrote: > On Fri, Oct 21, 2022 at 06:39:59PM +0100, Jason McIntyre wrote: > > i was going to incliude this in my answer, but eventually thought it > > looks like a seperate diff: > > > > the text currently reads as though only a singular