]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: add __printf argument checking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 May 2012 21:05:09 +0000 (23:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jun 2012 19:32:12 +0000 (15:32 -0400)
commitaf60f2813fe80b81668b321f33cbfeb51c5f2f30
tree47c8e27ffd0bfccc0f18bdb3b3d786db791d667b
parent05625a159bf854c89c65da3d5ff699350f49e41a
iwlwifi: add __printf argument checking

Joe Perches suggested adding the __printf attribute
to the __iwl_dbg function to check arguments; add it
to all of the logging functions (err, warn, info, dbg
and crit.)

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