]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: cause build error on missing newline
authorJohannes Berg <johannes.berg@intel.com>
Wed, 7 May 2014 09:55:21 +0000 (11:55 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 11 May 2014 10:12:31 +0000 (13:12 +0300)
commitd0cb325c937316f4451beee3395909ade50fd34f
tree6799360c190e5b981652bbffdfe016d6ade16297
parentda7f63d63b7687ffe7384a0567747f9bdd3d183b
iwlwifi: cause build error on missing newline

If a (debug) message is missing a newline, cause build error
so we don't keep reintroducing this problem.

This also prevents using a non-constant argument as the format
string which is a good idea anyway (e.g. for security reasons.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-debug.h