linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/3] android/tester: Fix duplicate const
@ 2014-08-07 14:13 Luiz Augusto von Dentz
  2014-08-07 14:13 ` [PATCH BlueZ 2/3] android/tester-pan: Make cid_data static Luiz Augusto von Dentz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2014-08-07 14:13 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 android/tester-main.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/tester-main.h b/android/tester-main.h
index 5a5cba4..3f0d46e 100644
--- a/android/tester-main.h
+++ b/android/tester-main.h
@@ -358,7 +358,7 @@ struct test_case {
 	const uint8_t emu_type;
 	const char *title;
 	const uint16_t step_num;
-	const struct step const *step;
+	const struct step *step;
 };
 
 /* Get, remove test cases API */
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH BlueZ 2/3] android/tester-pan: Make cid_data static
  2014-08-07 14:13 [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz
@ 2014-08-07 14:13 ` Luiz Augusto von Dentz
  2014-08-07 14:13 ` [PATCH BlueZ 3/3] android/tester: Fix mixing different enum types Luiz Augusto von Dentz
  2014-08-08 11:04 ` [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz
  2 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2014-08-07 14:13 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 android/tester-pan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/tester-pan.c b/android/tester-pan.c
index da5b771..c293022 100644
--- a/android/tester-pan.c
+++ b/android/tester-pan.c
@@ -28,7 +28,7 @@ struct emu_cid_data {
 	uint16_t nap_cid;
 };
 
-struct emu_cid_data cid_data;
+static struct emu_cid_data cid_data;
 static uint8_t pan_conn_req_pdu[] = { 0x01, 0x01, 0x02, 0x11, 0x16,
 								0x11, 0x15 };
 static uint8_t pan_conn_rsp_pdu[] = { 0x01, 0x02, 0x00, 0x00 };
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH BlueZ 3/3] android/tester: Fix mixing different enum types
  2014-08-07 14:13 [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz
  2014-08-07 14:13 ` [PATCH BlueZ 2/3] android/tester-pan: Make cid_data static Luiz Augusto von Dentz
@ 2014-08-07 14:13 ` Luiz Augusto von Dentz
  2014-08-08 11:04 ` [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz
  2 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2014-08-07 14:13 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 android/tester-main.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/tester-main.h b/android/tester-main.h
index 3f0d46e..54c53f0 100644
--- a/android/tester-main.h
+++ b/android/tester-main.h
@@ -318,8 +318,8 @@ struct emu_set_l2cap_data {
  * matching with expected step data.
  */
 struct bt_callback_data {
-	bt_state_t state;
-	bt_status_t status;
+	int state;
+	int status;
 	int num_properties;
 	bt_property_t *properties;
 
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH BlueZ 1/3] android/tester: Fix duplicate const
  2014-08-07 14:13 [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz
  2014-08-07 14:13 ` [PATCH BlueZ 2/3] android/tester-pan: Make cid_data static Luiz Augusto von Dentz
  2014-08-07 14:13 ` [PATCH BlueZ 3/3] android/tester: Fix mixing different enum types Luiz Augusto von Dentz
@ 2014-08-08 11:04 ` Luiz Augusto von Dentz
  2 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2014-08-08 11:04 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org

Hi,

On Thu, Aug 7, 2014 at 5:13 PM, Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> ---
>  android/tester-main.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/tester-main.h b/android/tester-main.h
> index 5a5cba4..3f0d46e 100644
> --- a/android/tester-main.h
> +++ b/android/tester-main.h
> @@ -358,7 +358,7 @@ struct test_case {
>         const uint8_t emu_type;
>         const char *title;
>         const uint16_t step_num;
> -       const struct step const *step;
> +       const struct step *step;
>  };
>
>  /* Get, remove test cases API */
> --
> 1.9.3

Patches 1 and 2 pushed, patch 3 will be redesigned.


-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-08 11:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-07 14:13 [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz
2014-08-07 14:13 ` [PATCH BlueZ 2/3] android/tester-pan: Make cid_data static Luiz Augusto von Dentz
2014-08-07 14:13 ` [PATCH BlueZ 3/3] android/tester: Fix mixing different enum types Luiz Augusto von Dentz
2014-08-08 11:04 ` [PATCH BlueZ 1/3] android/tester: Fix duplicate const Luiz Augusto von Dentz

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).