OSDN Git Service

iwlwifi: dvm: use macros for format strings
authorJohannes Berg <johannes.berg@intel.com>
Wed, 17 May 2017 11:45:29 +0000 (13:45 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 10:26:24 +0000 (13:26 +0300)
commit779e0513c76e21b62e2ef907f8cfc48f9f41f734
tree5441c8bb31c7177777478dfcb067596512454b6f
parentacf91dda3f64bedb4abc46d87b35d41c36a4a28d
iwlwifi: dvm: use macros for format strings

Some static checkers (e.g. smatch) complain if a non-constant
format string is used, even if that's a static const variable.
Since there's no impact on code generation, just change those
format strings to be macros.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c