All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: linux-kernel@vger.kernel.org
Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org,
	Kalle Valo <kvalo@codeaurora.org>,
	ath10k@lists.infradead.org
Subject: [PATCH 3/6] ath10k: make relay callbacks const
Date: Wed, 18 Nov 2020 18:53:17 +0200	[thread overview]
Message-ID: <20201118165320.26829-3-jani.nikula@intel.com> (raw)
In-Reply-To: <20201118165320.26829-1-jani.nikula@intel.com>

Now that relay_open() accepts const callbacks, make relay callbacks
const.

Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: ath10k@lists.infradead.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/net/wireless/ath/ath10k/spectral.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/ath/ath10k/spectral.c
index 5db6bff5193b..68254a967ccb 100644
--- a/drivers/net/wireless/ath/ath10k/spectral.c
+++ b/drivers/net/wireless/ath/ath10k/spectral.c
@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
 	return 0;
 }
 
-static struct rchan_callbacks rfs_spec_scan_cb = {
+static const struct rchan_callbacks rfs_spec_scan_cb = {
 	.create_buf_file = create_buf_file_handler,
 	.remove_buf_file = remove_buf_file_handler,
 };
-- 
2.20.1


WARNING: multiple messages have this Message-ID (diff)
From: Jani Nikula <jani.nikula@intel.com>
To: linux-kernel@vger.kernel.org
Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org,
	ath10k@lists.infradead.org, Kalle Valo <kvalo@codeaurora.org>
Subject: [PATCH 3/6] ath10k: make relay callbacks const
Date: Wed, 18 Nov 2020 18:53:17 +0200	[thread overview]
Message-ID: <20201118165320.26829-3-jani.nikula@intel.com> (raw)
In-Reply-To: <20201118165320.26829-1-jani.nikula@intel.com>

Now that relay_open() accepts const callbacks, make relay callbacks
const.

Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: ath10k@lists.infradead.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/net/wireless/ath/ath10k/spectral.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/ath/ath10k/spectral.c
index 5db6bff5193b..68254a967ccb 100644
--- a/drivers/net/wireless/ath/ath10k/spectral.c
+++ b/drivers/net/wireless/ath/ath10k/spectral.c
@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
 	return 0;
 }
 
-static struct rchan_callbacks rfs_spec_scan_cb = {
+static const struct rchan_callbacks rfs_spec_scan_cb = {
 	.create_buf_file = create_buf_file_handler,
 	.remove_buf_file = remove_buf_file_handler,
 };
-- 
2.20.1


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

WARNING: multiple messages have this Message-ID (diff)
From: Jani Nikula <jani.nikula@intel.com>
To: linux-kernel@vger.kernel.org
Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org,
	ath10k@lists.infradead.org, Kalle Valo <kvalo@codeaurora.org>
Subject: [Intel-gfx] [PATCH 3/6] ath10k: make relay callbacks const
Date: Wed, 18 Nov 2020 18:53:17 +0200	[thread overview]
Message-ID: <20201118165320.26829-3-jani.nikula@intel.com> (raw)
In-Reply-To: <20201118165320.26829-1-jani.nikula@intel.com>

Now that relay_open() accepts const callbacks, make relay callbacks
const.

Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: ath10k@lists.infradead.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/net/wireless/ath/ath10k/spectral.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/ath/ath10k/spectral.c
index 5db6bff5193b..68254a967ccb 100644
--- a/drivers/net/wireless/ath/ath10k/spectral.c
+++ b/drivers/net/wireless/ath/ath10k/spectral.c
@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
 	return 0;
 }
 
-static struct rchan_callbacks rfs_spec_scan_cb = {
+static const struct rchan_callbacks rfs_spec_scan_cb = {
 	.create_buf_file = create_buf_file_handler,
 	.remove_buf_file = remove_buf_file_handler,
 };
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2020-11-18 16:54 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18 16:53 [PATCH 1/6] relay: allow the use of const callback structs Jani Nikula
2020-11-18 16:53 ` [Intel-gfx] " Jani Nikula
2020-11-18 16:53 ` Jani Nikula
2020-11-18 16:53 ` Jani Nikula
2020-11-18 16:53 ` [PATCH 2/6] drm/i915: make relay callbacks const Jani Nikula
2020-11-18 16:53   ` [Intel-gfx] " Jani Nikula
2020-11-18 16:53 ` Jani Nikula [this message]
2020-11-18 16:53   ` [Intel-gfx] [PATCH 3/6] ath10k: " Jani Nikula
2020-11-18 16:53   ` Jani Nikula
2020-11-18 17:13   ` Kalle Valo
2020-11-18 17:13     ` [Intel-gfx] " Kalle Valo
2020-11-18 17:13     ` Kalle Valo
2020-11-18 16:53 ` [PATCH 4/6] ath11k: " Jani Nikula
2020-11-18 16:53   ` [Intel-gfx] " Jani Nikula
2020-11-18 16:53   ` Jani Nikula
2020-11-19  9:31   ` Jani Nikula
2020-11-19  9:31     ` [Intel-gfx] " Jani Nikula
2020-11-19  9:31     ` Jani Nikula
2020-11-19 11:40     ` Kalle Valo
2020-11-19 11:40       ` [Intel-gfx] " Kalle Valo
2020-11-19 11:40       ` Kalle Valo
2020-11-18 16:53 ` [PATCH 5/6] ath9k: " Jani Nikula
2020-11-18 16:53   ` [Intel-gfx] " Jani Nikula
2020-11-18 17:03   ` Kalle Valo
2020-11-18 17:03     ` [Intel-gfx] " Kalle Valo
2020-11-18 17:15     ` Kalle Valo
2020-11-18 17:15       ` [Intel-gfx] " Kalle Valo
2020-11-18 16:53 ` [PATCH 6/6] blktrace: " Jani Nikula
2020-11-18 16:53   ` [Intel-gfx] " Jani Nikula
2020-11-18 18:43 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/6] relay: allow the use of const callback structs Patchwork
2020-11-18 18:45 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2020-11-18 19:13 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-11-19  4:08 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2020-11-19  8:11 ` [PATCH 1/6] " Christoph Hellwig
2020-11-19  8:11   ` [Intel-gfx] " Christoph Hellwig
2020-11-19  8:11   ` Christoph Hellwig
2020-11-19  8:11   ` Christoph Hellwig
2020-11-19  8:11   ` Christoph Hellwig
2020-11-19  8:11     ` [Intel-gfx] " Christoph Hellwig
2020-11-19  8:11     ` Christoph Hellwig
2020-11-19  8:11     ` Christoph Hellwig
2020-11-23 18:01   ` Jani Nikula
2020-11-23 18:01     ` [Intel-gfx] " Jani Nikula
2020-11-23 18:01     ` Jani Nikula
2020-11-23 18:01     ` Jani Nikula

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=20201118165320.26829-3-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=kvalo@codeaurora.org \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.