linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ravi Kumar Veeramally <ravikumar.veeramally@linux.intel.com>
To: linux-bluetooth@vger.kernel.org, Johan Hedberg <johan.hedberg@gmail.com>
Subject: Re: [PATCH_v2 1/3] android/hidhost: Handle uhid output and feature events
Date: Wed, 13 Nov 2013 11:17:37 +0200	[thread overview]
Message-ID: <528343B1.5020306@linux.intel.com> (raw)
In-Reply-To: <20131113090159.GA32659@x220.p-661hnu-f1>

Hi Johan,

>> +		sscanf((char *) &(ev->u.output.data)[i * 2],
>> +							"%hhx", &(req + 1)[i]);
> The last parameter is a bit of a brain twister. How about simply &req[1 + i]?
>
   Yeap, simple :).

   Thanks,
   Ravi.

  reply	other threads:[~2013-11-13  9:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12 15:07 [PATCH_v2 1/3] android/hidhost: Handle uhid output and feature events Ravi kumar Veeramally
2013-11-12 15:07 ` [PATCH_v2 2/3] android/hidhost: Remove deprecated idle opcode from ipc document Ravi kumar Veeramally
2013-11-12 15:07 ` [PATCH_v2 3/3] android/hidhost: Set info request from HAL is not supported Ravi kumar Veeramally
2013-11-13  9:01 ` [PATCH_v2 1/3] android/hidhost: Handle uhid output and feature events Johan Hedberg
2013-11-13  9:17   ` Ravi Kumar Veeramally [this message]
2013-11-13  9:27     ` 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=528343B1.5020306@linux.intel.com \
    --to=ravikumar.veeramally@linux.intel.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).