Return-Path: Date: Wed, 13 Nov 2013 11:01:59 +0200 From: Johan Hedberg To: Ravi kumar Veeramally Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH_v2 1/3] android/hidhost: Handle uhid output and feature events Message-ID: <20131113090159.GA32659@x220.p-661hnu-f1> References: <1384268835-7570-1-git-send-email-ravikumar.veeramally@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1384268835-7570-1-git-send-email-ravikumar.veeramally@linux.intel.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Ravi, On Tue, Nov 12, 2013, Ravi kumar Veeramally wrote: > + 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]? Johan