From: Jani Nikula <jani.nikula@intel.com>
To: linux-kernel@vger.kernel.org
Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org,
ath11k@lists.infradead.org, Kalle Valo <kvalo@codeaurora.org>
Subject: [Intel-gfx] [PATCH 4/6] ath11k: make relay callbacks const
Date: Wed, 18 Nov 2020 18:53:18 +0200 [thread overview]
Message-ID: <20201118165320.26829-4-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: ath11k@lists.infradead.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
drivers/net/wireless/ath/ath11k/spectral.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/spectral.c b/drivers/net/wireless/ath/ath11k/spectral.c
index ac2a8cfdc1c0..1afe67759659 100644
--- a/drivers/net/wireless/ath/ath11k/spectral.c
+++ b/drivers/net/wireless/ath/ath11k/spectral.c
@@ -148,7 +148,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
return 0;
}
-static struct rchan_callbacks rfs_scan_cb = {
+static const struct rchan_callbacks rfs_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
next prev parent reply other threads:[~2020-11-18 16:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 16:53 [Intel-gfx] [PATCH 1/6] relay: allow the use of const callback structs Jani Nikula
2020-11-18 16:53 ` [Intel-gfx] [PATCH 2/6] drm/i915: make relay callbacks const Jani Nikula
2020-11-18 16:53 ` [Intel-gfx] [PATCH 3/6] ath10k: " Jani Nikula
2020-11-18 17:13 ` Kalle Valo
2020-11-18 16:53 ` Jani Nikula [this message]
2020-11-19 9:31 ` [Intel-gfx] [PATCH 4/6] ath11k: " Jani Nikula
2020-11-19 11:40 ` Kalle Valo
2020-11-18 16:53 ` [Intel-gfx] [PATCH 5/6] ath9k: " Jani Nikula
2020-11-18 17:03 ` Kalle Valo
2020-11-18 17:15 ` Kalle Valo
2020-11-18 16:53 ` [Intel-gfx] [PATCH 6/6] blktrace: " 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 ` [Intel-gfx] [PATCH 1/6] " Christoph Hellwig
2020-11-19 8:11 ` Christoph Hellwig
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-4-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=ath11k@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox