]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit142fb5b733d377dedd930ae53332b6a6ccb622f5
tree47c8e27ffd0bfccc0f18bdb3b3d786db791d667b
parenta35e270881a5db1ec9ac8bc6d61ebc3e85c14f33
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