cfg80211: allow drivers to mark certain objects const
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cfg80211: mark ops as pointer to constinclude/ net/ net/ | +3 | 0 replies | |
| 2/2 | cfg80211: mark wiphy->privid as pointer to constinclude/ | +1 | 0 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.
| Patch | Johannes Berg |
|---|---|
| Series | A-b |
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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.
Signed-off-by David Kilroy <[email protected]>
Acked-by Johannes Berg <[email protected]>
---
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(-)