Skip to content

cfg80211: allow drivers to mark certain objects const

David Kilroy linux-wireless 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cfg80211: mark ops as pointer to constinclude/net/cfg80211.h net/wireless/core.c net/wireless/core.h+3 -30 replies
2/2cfg80211: mark wiphy->privid as pointer to constinclude/net/cfg80211.h+1 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes Berg
SeriesA-b
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] cfg80211: allow drivers to mark certain objects const

It is likely that the cfg80211_ops and privid data setup by wireless drivers will not need to change. Drivers may therefore want to mark these objects const. This patch ensures that the cfg80211 interface does not preclude this.

I sent these as part of an RFC titled 'orinoco: initiate cgf80211 conversion'. The core of that patch is being reworked, but there's no reason these can't go in independently.

---
David Kilroy (2):
cfg80211: mark ops as pointer to const
cfg80211: mark wiphy->privid as pointer to const

 include/net/cfg80211.h |    4 ++--
 net/wireless/core.c    |    2 +-
 net/wireless/core.h    |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)