backports: avoid vfree() const warning
authorJohannes Berg <johannes.berg@intel.com>
Sat, 13 Apr 2013 13:29:37 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 15 Apr 2013 09:32:48 +0000 (11:32 +0200)
commite6f5a6a71d8309adc9d26553b9bf005bbd190527
treead0d38c5bb6a1563140af2e4614c217ca582814e
parent61834ee079ad6a570d4d8f643522df2be0b48593
backports: avoid vfree() const warning

On newer kernels const pointers can be passed to vfree()
and vunmap(), doing so on old kernels causes warnings
that we can suppress with a cast.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/vmalloc.h