Commit 56544160d44c3043c0a7faffa506f616c1bb45f0

Authored by Johannes Berg
Committed by John W. Linville
1 parent 29623892e1

mac80211: make address arguments to sta_info_alloc const

No real changes, just note that they are const.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

net/mac80211/sta_info.c
... ... @@ -281,7 +281,7 @@
281 281 }
282 282  
283 283 struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
284   - u8 *addr, gfp_t gfp)
  284 + const u8 *addr, gfp_t gfp)
285 285 {
286 286 struct ieee80211_local *local = sdata->local;
287 287 struct sta_info *sta;
net/mac80211/sta_info.h
... ... @@ -522,7 +522,7 @@
522 522 * until sta_info_insert().
523 523 */
524 524 struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
525   - u8 *addr, gfp_t gfp);
  525 + const u8 *addr, gfp_t gfp);
526 526  
527 527 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
528 528