]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: fix VENDOR_CMD_RAW_DATA
authorJohannes Berg <johannes.berg@intel.com>
Tue, 25 Jun 2019 08:04:51 +0000 (10:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 20 Jul 2019 19:37:32 +0000 (21:37 +0200)
commitefd16c9c471969ff18f6ec7a643febfaca9d8951
tree7e7d15e51fd665da2725cbf7de88d33fa22e62c3
parentf9a3a1509f1c364b089ed10829475790be1a7fec
nl80211: fix VENDOR_CMD_RAW_DATA

Since ERR_PTR() is an inline, not a macro, just open-code it
here so it's usable as an initializer, fixing the build in
brcmfmac.

Reported-by: Arend Van Spriel <arend.vanspriel@broadcom.com>
Fixes: 609474c26281 ("nl80211: require and validate vendor command policy")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h