Re: umb(4) attachment

2016-06-18 Thread Marcus MERIGHI
Hello, the kernel does not compile for me with this patch. src/sys/dev/usb/usb.h is missing UISUBCLASS_NETWORK_CONTROL_MODEL. What value does it need? (I get no umb(4) device with a value of 15. Am I supposed to get one with this hardware and the correct value?) One OT GPS question below, l

Re: ktrace.h: move KTRPOINT() into the kernel part

2016-06-18 Thread Mark Kettenis
> Date: Fri, 17 Jun 2016 21:31:37 -0700 > From: Philip Guenther > > KTRPOINT(), with its references to struct proc and struct process members, > is only useful inside the kernel, so let's move it to the #ifdef _KERNEL > part. > > ok? Sure. > Index: sys/ktrace.h >

Remove infinite loop check from ed

2016-06-18 Thread Martijn van Duren
Hello tech@, This patch is build on top of my REG_STARTEND patch. It removes the infinite loop check and just makes sure that infinite loops won't happen. This brings the behaviour closer to sed and vi. Although gnu eds has the same infinite loop quirk, I don't see any reference on doing so in

Fix begin of word bug in ed

2016-06-18 Thread Martijn van Duren
Hello tech@, Here's a second jab at implementing REG_STARTEND in ed. This patch just focusses on getting REG_STARTEND in there and the general restructuring that comes with it. This fixes the begin of word bug similar to sed. (Also fix a wrong comment while here) No other changes intended. OK?

Re: iwm(4): Add missing iwm_free_rx_ring(). Free nvm_sections[i].data buffers.

2016-06-18 Thread Stefan Sperling
On Fri, Jun 10, 2016 at 01:58:50PM +0200, Imre Vadasz wrote: > Hi, > > After parsing the nvm_sections data in iwm_nvm_init(), we can free the > nvm_sections[i].data allocations again. > > In the iwm_attach() failure path, the iwm_free_rx_ring() call for freeing > the rx ring memory was missing. >