]> 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)
commitcae0a5d62880d3a09ff569ada50f5e72c620b855
tree6799360c190e5b981652bbffdfe016d6ade16297
parent30d79d977fc811856b6af989fdcfc1c4d6d3e2ff
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