public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v2 3/3] profiles: Fix function definition style
Date: Tue, 30 Aug 2022 16:47:34 +0200	[thread overview]
Message-ID: <20220830144734.55263-4-frederic.danis@collabora.com> (raw)
In-Reply-To: <20220830144734.55263-1-frederic.danis@collabora.com>

This was found by checkpatch in previous commit:
WARNING:SPACING: Unnecessary space before function pointer arguments
124: FILE: src/shared/bap.h:123:
+	int (*select) (struct bt_bap_pac *lpac, struct bt_bap_pac *rpac,

Do the same for (*config) and (*clear) for consistence.
---
 src/shared/bap.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/shared/bap.h b/src/shared/bap.h
index 93b00d771..b63b4b024 100644
--- a/src/shared/bap.h
+++ b/src/shared/bap.h
@@ -123,10 +123,10 @@ struct bt_bap_pac_ops {
 	int (*select)(struct bt_bap_pac *lpac, struct bt_bap_pac *rpac,
 			struct bt_bap_pac_qos *qos,
 			bt_bap_pac_select_t cb, void *cb_data, void *user_data);
-	int (*config) (struct bt_bap_stream *stream, struct iovec *cfg,
+	int (*config)(struct bt_bap_stream *stream, struct iovec *cfg,
 			struct bt_bap_qos *qos, bt_bap_pac_config_t cb,
 			void *user_data);
-	void (*clear) (struct bt_bap_stream *stream, void *user_data);
+	void (*clear)(struct bt_bap_stream *stream, void *user_data);
 };
 
 bool bt_bap_pac_set_ops(struct bt_bap_pac *pac, struct bt_bap_pac_ops *ops,
-- 
2.25.1


  parent reply	other threads:[~2022-08-30 14:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 14:47 [PATCH BlueZ v2 0/3] profiles: Add remote endpoint path to SelectProperties Frédéric Danis
2022-08-30 14:47 ` [PATCH BlueZ v2 1/3] " Frédéric Danis
2022-08-30 16:07   ` bluez.test.bot
2022-08-30 14:47 ` [PATCH BlueZ v2 2/3] doc: " Frédéric Danis
2022-08-30 14:47 ` Frédéric Danis [this message]
2022-08-30 21:30 ` [PATCH BlueZ v2 0/3] profiles: " patchwork-bot+bluetooth

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=20220830144734.55263-4-frederic.danis@collabora.com \
    --to=frederic.danis@collabora.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