public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Michal Labedzki <michal.labedzki@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v2 1/3] Filter device name in hciconfig.
Date: Tue, 21 Dec 2010 10:49:54 +0200	[thread overview]
Message-ID: <20101221084954.GB14108@jh-x301> (raw)
In-Reply-To: <1292920258-28989-1-git-send-email-michal.labedzki@tieto.com>

Hi Michal,

On Tue, Dec 21, 2010, Michal Labedzki wrote:
> No anymore work someting like "hciconfig tty1", "hciconfig qfg1" or
> "hciconfig hci1hg" as "hci1".
> ---
>  lib/hci.c         |   12 +++++++++++-
>  tools/hciconfig.c |   30 +++++++++++++++++++++++++++++-
>  2 files changed, 40 insertions(+), 2 deletions(-)

This doesn't compile for me:

lib/hci.c: In function 'is_number':
lib/hci.c:60: error: implicit declaration of function 'isdigit'

Did you actually compile using ./boostrap-configure? Always do that
before submitting patches. It'll enable some extra checks and convert
all warnings to errors so you don't miss them by mistake.

"man isdigit" tells me that <ctype.h> should be included to use the
funciton.

Also, your commit message doesn't match the patch content. The patch
also changes hci_devid which is in no way specific to hciconfig whereas
your commit message implies that the patch is specific to hciconfig.
Feel free to split this into two separate patches with appropriate
commit messages.

Johan

  reply	other threads:[~2010-12-21  8:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 10:13 [PATCH] Tools user interface improve Michal Labedzki
2010-12-20 10:13 ` [PATCH 1/3] Filter device name in hciconfig Michal Labedzki
2010-12-21  8:30   ` [PATCH v2 " Michal Labedzki
2010-12-21  8:49     ` Johan Hedberg [this message]
2010-12-20 10:13 ` [PATCH 2/3] Fix tools UI to avoid program launch mistakes Michal Labedzki
2010-12-20 15:41   ` Johan Hedberg
2010-12-20 10:13 ` [PATCH 3/3] More CodingStyle in lib and tools Michal Labedzki
2010-12-20 15:38   ` Johan Hedberg
2010-12-21  8:34     ` [PATCH v2 " Michal Labedzki
2010-12-21  8:52       ` Johan Hedberg

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=20101221084954.GB14108@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=michal.labedzki@tieto.com \
    /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