[PATCH 0/9] relay: cleanup and const callbacks, take 2

Jani Nikula jani.nikula at intel.com
Mon Nov 23 12:59:20 EST 2020

This is v2 of [1], with a number of cleanups added first based on
Christoph's feedback, making the actual constness patch much smaller and

I don't know who actually maintains relay, it's not in MAINTAINERS -
Cc'd Andrew just in case.

I'd think it would be simplest to queue patches 5-9 via whichever tree
the relay patches get merged. They're all one-liners so neglible
conflict potential.


[1] http://lore.kernel.org/r/20201118165320.26829-1-jani.nikula@intel.com

Cc: linux-block at vger.kernel.org
Cc: Jens Axboe <axboe at kernel.dk>
Cc: ath11k at lists.infradead.org
Cc: ath10k at lists.infradead.org
Cc: Kalle Valo <kvalo at codeaurora.org>
Cc: linux-wireless at vger.kernel.org
Cc: QCA ath9k Development <ath9k-devel at qca.qualcomm.com>
Cc: intel-gfx at lists.freedesktop.org
Cc: Christoph Hellwig <hch at infradead.org>
Cc: Andrew Morton <akpm at linux-foundation.org>

Jani Nikula (9):
  relay: remove unused buf_mapped and buf_unmapped callbacks
  relay: require non-NULL callbacks in relay_open()
  relay: make create_buf_file and remove_buf_file callbacks mandatory
  relay: allow the use of const callback structs
  drm/i915: make relay callbacks const
  ath10k: make relay callbacks const
  ath11k: make relay callbacks const
  ath9k: make relay callbacks const
  blktrace: make relay callbacks const

 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c    |   2 +-
 drivers/net/wireless/ath/ath10k/spectral.c    |   2 +-
 drivers/net/wireless/ath/ath11k/spectral.c    |   2 +-
 .../net/wireless/ath/ath9k/common-spectral.c  |   2 +-
 include/linux/relay.h                         |  29 ++---
 kernel/relay.c                                | 107 +++---------------
 kernel/trace/blktrace.c                       |   2 +-
 7 files changed, 26 insertions(+), 120 deletions(-)


More information about the ath10k mailing list