diff options
author | Joe Perches <joe@perches.com> | 2011-10-21 16:04:09 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-11-16 07:39:34 -0500 |
commit | 82bbcdebbac75bf7636bf63ac0e6e4a49b128978 (patch) | |
tree | 6893baa786077c0b628865e12cfd327c8ec0c30f /drivers | |
parent | 876d2d6f6e60b1170f7ed664b9659def92b87be3 (diff) |
igb: Convert bare printk to pr_notice
printks should use KERN_ levels.
Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/intel/igb/e1000_82575.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c index 7881fb95a25b..b8e20f037d0a 100644 --- a/drivers/net/ethernet/intel/igb/e1000_82575.c +++ b/drivers/net/ethernet/intel/igb/e1000_82575.c | |||
@@ -29,6 +29,8 @@ | |||
29 | * e1000_82576 | 29 | * e1000_82576 |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
33 | |||
32 | #include <linux/types.h> | 34 | #include <linux/types.h> |
33 | #include <linux/if_ether.h> | 35 | #include <linux/if_ether.h> |
34 | 36 | ||
@@ -244,8 +246,7 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw) | |||
244 | * Check for invalid size | 246 | * Check for invalid size |
245 | */ | 247 | */ |
246 | if ((hw->mac.type == e1000_82576) && (size > 15)) { | 248 | if ((hw->mac.type == e1000_82576) && (size > 15)) { |
247 | printk("igb: The NVM size is not valid, " | 249 | pr_notice("The NVM size is not valid, defaulting to 32K\n"); |
248 | "defaulting to 32K.\n"); | ||
249 | size = 15; | 250 | size = 15; |
250 | } | 251 | } |
251 | nvm->word_size = 1 << size; | 252 | nvm->word_size = 1 << size; |