public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH] Wacom Bluetooth mode-2 activation
Date: Mon, 23 Mar 2009 14:09:10 +0000	[thread overview]
Message-ID: <1237817350.19118.1255.camel@cookie.hadess.net> (raw)
In-Reply-To: <1237010988.24751.2.camel@localhost.localdomain>

On Sat, 2009-03-14 at 07:09 +0100, Marcel Holtmann wrote:
> Hi Bastien,
> 
> > Patch is necessary to make the Wacom Bluetooth driver I posted to
> > linux-input work as expected. I've tested this successfully with my
> > tablet[1].
> 
> this maybe sound like a nit-pick, but please add an extra empty line
> between the if-statement and the ioctl.
> 
> +               write(sk, buf, sizeof(buf));
> +       }
>         err = ioctl_connadd(req);
> 
> The original code had one and so should have the new one with this extra
> quirk.

OK.

> Also can we please check at least the return value of write().
> 
> +               write(sk, buf, sizeof(buf));
> 
> Check the return value and at minimum have an error message printed.

The writes actually fail, from what I've seen, but it works... I'll try
to get some details about what fails.

      reply	other threads:[~2009-03-23 14:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17 23:54 [PATCH] Wacom Bluetooth mode-2 activation Bastien Nocera
2009-03-14  6:09 ` Marcel Holtmann
2009-03-23 14:09   ` Bastien Nocera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1237817350.19118.1255.camel@cookie.hadess.net \
    --to=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox