Re: Is this a bug in libi2c ?

2014-12-09 Thread Sebastian Huber
The is no bug, since we have busses[i].name = nmcpy; nmcpy = 0; and a free(NULL) is a nop. On 10/12/14 07:10, Tom wrote: cpukit/libi2c/libi2c.c rtems_libi2c_register_bus this function saves the specified i2c bus name in a malloced space, but in the end of this function, the mal

Re: [PATCH] Correct a race condition between the e500 core decrementer wrapping and the tick interrupt being handled

2014-12-09 Thread Sebastian Huber
On 10/12/14 02:53, Nick Withers wrote: On Wed, 2014-12-03 at 08:09 +0100, Sebastian Huber wrote: Hello Nick, to disable TCR[ARE] is not the right fix. You have to check the TSR[DIS] register in the nanoseconds extension. See for example lpc-clock-config.c for an example. Hi Sebastian, Than

Is this a bug in libi2c ?

2014-12-09 Thread Tom
cpukit/libi2c/libi2c.c rtems_libi2c_register_bus this function saves the specified i2c bus name in a malloced space, but in the end of this function, the malloced space is freed. And in rtems_libi2c_register_drv , busses[busno].name is used to construct the specific device file.

Re: [PATCH] Teach rtems_tarfs_load() about symlinks

2014-12-09 Thread Nick Withers
On Wed, 2014-12-10 at 16:34 +1100, Nick Withers wrote: > On Wed, 2014-12-03 at 08:23 +0100, Sebastian Huber wrote: > > > > On 03/12/14 07:07, Nick Withers wrote: > > > > > Anyone be interested in committing this? > > > > > > On Fri, 2014-03-07 at 14:37 +1100, Nick Withers wrote: > > > > > Hi all

Re: [PATCH] Teach rtems_tarfs_load() about symlinks

2014-12-09 Thread Nick Withers
On Wed, 2014-12-03 at 08:23 +0100, Sebastian Huber wrote: > > On 03/12/14 07:07, Nick Withers wrote: > > > Anyone be interested in committing this? > > > > On Fri, 2014-03-07 at 14:37 +1100, Nick Withers wrote: > > > > Hi all, > > > > > > > > The attached patch teaches rtems_tarfs_load() about

Re: Add an --enable-httpd-websocket configure option to enable WebSocket in the Mongoose HTTP server

2014-12-09 Thread Nick Withers
On Wed, 2014-12-03 at 08:12 +0100, Sebastian Huber wrote: > On 03/12/14 08:05, Nick Withers wrote: > > On Wed, 2014-12-03 at 07:48 +0100, Sebastian Huber wrote: > >> >Hello Nick, > >> > > >> >what is the benefit of providing this WebSocket stuff? > > I personally use it to serve dynamic content to

Re: [PATCH 3/9] sb: Do not report current date

2014-12-09 Thread Chris Johns
On 9/12/2014 6:00 pm, Sebastian Huber wrote: On 08/12/14 21:52, Chris Johns wrote: On 8/12/2014 5:48 pm, Sebastian Huber wrote: This makes the report reproducible. I think the report should include a date. I do not see any advantage having reproducible reports. The report captures the specif

Re: [PATCH] Correct a race condition between the e500 core decrementer wrapping and the tick interrupt being handled

2014-12-09 Thread Nick Withers
On Wed, 2014-12-03 at 08:09 +0100, Sebastian Huber wrote: > Hello Nick, > > to disable TCR[ARE] is not the right fix. You have to check the > TSR[DIS] register in the nanoseconds extension. See for example > lpc-clock-config.c for an example. Hi Sebastian, Thanks for your help, 'fraid I need

Re: [PATCH] License: add a 2-clause BSD license file, and relicense a sparc64 file

2014-12-09 Thread Joel Sherrill
On 12/9/2014 1:55 AM, Thomas Doerfler wrote: > Gedare, > > I am also confused about mentioning your copyright in the "LICENSE.2" file. > > the patch for lib/libbsp/sparc64/niagara/startup/bspclean.c is fine, it > tells you are the originator of this file and you apply "License.2" to it. > > What e