Re: [RFC v2 09/16] HoG: HID I/O driver |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2012/4/18 Paulo Alcantara <pcacjr@xxxxxxxxx>:
> Hi Joao,
>
> On Wed, Apr 18, 2012 at 07:08:17PM -0300, João Paulo Rechi Vita wrote:
>> @@ -188,6 +211,22 @@ static void report_map_read_cb(guint8 status, const guint8 *pdu, guint16 plen,
>> else
>> DBG("\t %02x %02x", value[i], value[i + 1]);
>> }
>> +
>> + /* create UHID device */
>> + memset(&ev, 0, sizeof(ev));
>> + ev.type = UHID_CREATE;
>> + /* TODO: get info from DIS */
>> + strcpy((char*)ev.u.create.name, "bluez-hog-device");
>
> Wouldn't the correct coding style for the cast be "char *" ?
>
Yes, fixed.
--
João Paulo Rechi Vita
Openbossa Labs - INdT
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Bluez Devel]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Bluez Devel]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]