Re: [PATCH 1/2 v011] add support to fake HID devices

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi Bastien,

>> This patch adds support to fake HID devices. Instead of registering  
>> with
>> kernel, the fake HID will be handled in user level and an uinput  
>> device
>> will be created in order to get the events into input layer.
> <snip>
>> +		fake = g_try_new0(struct fake_input, 1)
>
> Missing a semi-colon.
>
>
>> +	if (fake)
>> +		gfree(fake);
>
> g_free, not gfree.
>
> Works fine after those changes.

fixed everything, but I had to do some manual fixups for coding style  
and so on. This patch is in. The other one isn't. I need an updated one.

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.