Re: [Intel-gfx] [PATCH 4/6] ath11k: make relay callbacks const
Jani Nikula writes: > On Wed, 18 Nov 2020, Jani Nikula wrote: >> Now that relay_open() accepts const callbacks, make relay callbacks >> const. >> >> Cc: Kalle Valo >> Cc: ath...@lists.infradead.org >> Signed-off-by: Jani Nikula > > Kalle, thanks for the acks on the other two ath patches - can I have > your ack on this one too please? Oops, missed that: Acked-by: Kalle Valo -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH 4/6] ath11k: make relay callbacks const
On Wed, 18 Nov 2020, Jani Nikula wrote: > Now that relay_open() accepts const callbacks, make relay callbacks > const. > > Cc: Kalle Valo > Cc: ath...@lists.infradead.org > Signed-off-by: Jani Nikula Kalle, thanks for the acks on the other two ath patches - can I have your ack on this one too please? BR, Jani. > --- > 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, > }; -- Jani Nikula, Intel Open Source Graphics Center ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
[Intel-gfx] [PATCH 4/6] ath11k: make relay callbacks const
Now that relay_open() accepts const callbacks, make relay callbacks const. Cc: Kalle Valo Cc: ath...@lists.infradead.org Signed-off-by: Jani Nikula --- 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