Hi Inga, On Sat, Jul 31, 2010, Inga Stotland wrote: > --- > src/sdpd-service.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 62 insertions(+), 0 deletions(-) A couple of coding style comments here: > + /* Check for duplicates, EIR data is Little Endian */ > + for (i = 0; i < index; i++) { > + for (k = 0; k < SIZEOF_UUID128; k++) { > + if (uuid128[i*SIZEOF_UUID128 + k] != Space before and after * > + rec->svclass.value.uuid128.data[SIZEOF_UUID128 - k]) Looks like you're going beyond 80-characters. Maybe you could create an extra variable and assign rec->svclass.value.uuid.data to it. > + for (k = 0; k < SIZEOF_UUID128; k++) > + uuid128[index*SIZEOF_UUID128 + k] = Space before and after * > + rec->svclass.value.uuid128.data[SIZEOF_UUID128 - 1 - k]; Again over 80-characters, but if you use the extra variable that I previously suggested for rec->svclass.value.uuid128.data it should help. > + ptr[1] = (truncated) ? EIR_UUID128_SOME : EIR_UUID128_ALL; Since truncated is just a gboolean and not a more complex statement I'd just leave out the parenthesis around it, but quite a minor thing in the end. Johan -- 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