diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-22 12:24:31 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-11-26 16:38:50 +0200 |
commit | 4707fde5cdefc73c408915af2579c4acaf49ade4 (patch) | |
tree | a240ace8b7b9b0078a9d8fbefde87ff8d9c69e28 /block | |
parent | 59fd4bf64591fbd02c6115d9282e2e7cffefa6e1 (diff) |
iwlwifi: mvm: use build-time assertion for fw trigger ID
The firmware debug trigger ID is always a compile-time constant,
so we can use a build-time assertion to validate that it is in
fact a valid constant.
To make that really guaranteed to work, convert this and the
inline function iwl_fw_dbg_trigger_simple_stop() to macros.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions