Linux bluetooth development
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Prabhu Chawandi <foss.chaws@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] andorid/handsfree.c setting sizeof struct properly for sco_handlers[]
Date: Fri, 03 Apr 2015 12:59:27 +0200	[thread overview]
Message-ID: <1602721.z7bkgJokoX@leonov> (raw)
In-Reply-To: <CAKafyqr3qcejbQWYQcMDCiOnjTnUC9Di8J0aKzBosm7Ft32vOw@mail.gmail.com>

Hi Prabhu,

On Thursday 02 of April 2015 09:15:14 Prabhu Chawandi wrote:

There is typo in commit subject andorid->android

Also please use 'fix' term in commit subject eg
"android/handsfree: Fix invalid size of SCO_OP_GET_FD parameters"


And this patch doesn't apply on top of master branch so you will have to 
rebase it before resend.

> diff --git a/android/handsfree.c b/android/handsfree.c
> index 7cdc8b4..e6c4b1b 100644
> --- a/android/handsfree.c
> +++ b/android/handsfree.c
> @@ -2891,7 +2891,7 @@ failed:
> 
>  static const struct ipc_handler sco_handlers[] = {
>         /* SCO_OP_GET_FD */
> -       { bt_sco_get_fd, false, 0 }
> +       { bt_sco_get_fd, false, sizeof(struct sco_cmd_get_fd) }
>  };
> 
>  static void bt_sco_unregister(void)

-- 
BR
Szymon Janc

      reply	other threads:[~2015-04-03 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-02  3:45 [PATCH] andorid/handsfree.c setting sizeof struct properly for sco_handlers[] Prabhu Chawandi
2015-04-03 10:59 ` Szymon Janc [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=1602721.z7bkgJokoX@leonov \
    --to=szymon.janc@tieto.com \
    --cc=foss.chaws@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